#F0F8FF color (aliceblue)

#F0F8FF is rgb(240, 248, 255) in RGB and hsl(208, 100%, 97%) in HSL. It is exactly the CSS color aliceblue. Use black text on it (contrast 19.58:1).

#F0F8FFaliceblue
HEX#F0F8FF
RGBrgb(240, 248, 255)
RGB percentrgb(94.1%, 97.3%, 100%)
HSLhsl(208, 100%, 97%)
HSV / HSBhsv(208, 6%, 100%)
CMYKcmyk(6%, 3%, 0%, 0%)
CIELAB (D65)lab(97.2 -1.3 -4.3)

Edit in the color converter → · Check contrast → · Shades →

About #F0F8FF

#F0F8FF is a very pale, vivid blue with a hue angle of 208°. It belongs to the blue family and reads as a cool color. In the RGB model blue is the strongest channel at 255 (100%) and red the weakest at 240 (94%). Colors like this are typically used for page backgrounds, cards and subtle section fills.

Color conversions

HEX#F0F8FF
RGBrgb(240, 248, 255)
RGB percentrgb(94.1%, 97.3%, 100%)
HSLhsl(208, 100%, 97%)
HSV / HSBhsv(208, 6%, 100%)
CMYKcmyk(6%, 3%, 0%, 0%)
CIELAB (D65)lab(97.2 -1.3 -4.3)
Decimal15792383
Binary11110000 11111000 11111111

HEX F0 F8 FF → 240, 248, 255 (each pair is a base-16 number: F×16 + 0 = 240)

Color harmonies

Harmonies rotate the HSL hue (complementary +180°, triadic ±120°, split-complementary ±150°, analogous ±30°, tetradic 90° steps) and keep saturation and lightness. Swatches link to the nearest color page.

Tints and shades of #F0F8FF

Tints (mixed with white)

Shades (mixed with black)

Tones (mixed with gray)

Contrast and accessibility

Text on #F0F8FFRatioAA normalAA largeAAA normalAAA large
White text1.07:1FailFailFailFail
Black text19.58:1PassPassPassPass
White text on #F0F8FF
Black text on #F0F8FF
#F0F8FF text on white
#F0F8FF text on black

Relative luminance is 0.9288 (0 = black, 1 = white). WCAG 2 requires 4.5:1 for body text and 3:1 for large text and UI components.

Color blindness simulation

Protanopia
#f5f8ff

Deuteranopia
#f3f6ff

Tritanopia
#edfafa

Achromatopsia
#f7f7f7

People with red–green color blindness see this color almost unchanged (ΔE 2.8 for deuteranopia), so it is a safe choice where color carries meaning. Simulation uses the Machado (2009) matrices for full dichromacy; achromatopsia shows luminance only.

Similar named colors

NameHEXΔE 2000
aliceblue#f0f8ff0
ghostwhite#f8f8ff3.8
whitesmoke#f5f5f54.3
white#ffffff4.6

CSS

.element {
  color: #f0f8ff;
  background-color: rgb(240, 248, 255);
  border: 1px solid hsl(208, 100%, 97%);
  box-shadow: 0 2px 8px rgb(240 248 255 / 50%);
}
:root { --brand: #f0f8ff; }

Frequently asked questions

What color is #F0F8FF?
A very pale vivid blue in the blue family. Closest CSS name: aliceblue.
What is #F0F8FF in RGB?
rgb(240, 248, 255): red 240, green 248, blue 255.
What is the complementary color of #F0F8FF?
#FFF7F0, found by rotating the hue 180°.