Alice Blue — #f0f8ff

Alice Blue (#f0f8ff) is a very light, vivid white. It is a CSS named color, so you can use it in stylesheets as color: aliceblue as well as by its hex code. In RGB it is rgb(240, 248, 255); in HSL, hsl(208, 100%, 97%).

#f0f8ff

Color conversions

Hex#f0f8ff
CSS namealiceblue
RGBrgb(240, 248, 255)
HSLhsl(208, 100%, 97%)
CMYK6%, 3%, 0%, 0%
CSS examplecolor: #f0f8ff; background-color: rgb(240, 248, 255);

Tints and shades of #f0f8ff

The hue is calculated at seven exact lightness levels for use in backgrounds, borders, text and hover states. These values are not substituted with nearby named colors.

#d6ecff
#8fcbff
#47a9ff
#0088ff
#0062b8
#00417a
#002647

Color schemes with #f0f8ff

#f0f8ff is a neutral: it carries little to no hue, so wheel-based schemes like complementary or triadic would simply return the same gray. Neutrals work differently — use the ramp above for backgrounds, borders and text, and pair #f0f8ff with a saturated accent for links, buttons and highlights. Each of these accents reads clearly against #f0f8ff:

Text contrast and accessibility

On a #f0f8ff background, black text gives the better contrast. WCAG requires 4.5:1 for normal text and 3:1 for large text (AA), or 7:1 and 4.5:1 for AAA.

Text colorContrast ratioNormal textLarge text
White text (#ffffff)1.07:1FailsFails
Black text (#000000)19.58:1AAAAAA

Similar named colors

The CSS named colors closest to #f0f8ff: