Alice Blue #F0F8FF

Alice Blue color (#F0F8FF)

Alice Blue is one of the 148 CSS named colors. Use the keyword aliceblue anywhere CSS accepts a color, or its hex code #F0F8FF, which is rgb(240, 248, 255) in RGB.

It is a very light neutral and a perceived lightness of 98% in OKLCH. On a alice blue background, black text gives the higher contrast at 19.57:1, which passes WCAG AA for normal text.

Alice Blue color codes

CSS name aliceblue
HEX #F0F8FF
HEX (8-digit) #F0F8FFFF
RGB rgb(240, 248, 255)
HSL hsl(208, 100%, 97%)
HSV / HSB hsv(208, 6%, 100%)
OKLCH oklch(97.5% 0.0127 244.3)
CMYK cmyk(5.9%, 2.7%, 0%, 0%)

Contrast with white and black

WCAG 2 contrast ratios and APCA lightness contrast (Lc) for alice blue used as text and as a background.

Aa Sample text
Alice Blue text on white
1.07:1 WCAG Lc 0 APCA Fails AA
Aa Sample text
Alice Blue text on black
19.57:1 WCAG Lc -102.5 APCA Passes AA
Aa Sample text
White text on alice blue
1.07:1 WCAG Lc 0 APCA Fails AA
Aa Sample text
Black text on alice blue
19.57:1 WCAG Lc 101.2 APCA Passes AA

Tints and shades of alice blue

Tints mix alice blue with white; shades mix it with black, in 10% steps. Click a swatch to copy it, or build custom scales in the tint & shade generator.

Tints

Shades

Colors that go with alice blue

Harmonies calculated on the HSL color wheel. Explore more in the color scheme generator.

Complementary

Analogous

Triadic

Split-Complementary

Alice Blue with color blindness

Approximately how alice blue appears with each type of color vision deficiency. Test full designs with the color blindness simulator.

Using alice blue in CSS

.element {
  color: aliceblue;
  background-color: #f0f8ff;
  border-color: rgb(240 248 255 / 50%);
  outline-color: oklch(97.5% 0.0127 244.3);
}

Similar named colors

See all shades of blue or browse every CSS color name.

Related tools