#F8F8FF color (ghostwhite)

#F8F8FF is rgb(248, 248, 255) in RGB and hsl(240, 100%, 99%) in HSL. It is exactly the CSS color ghostwhite. Use black text on it (contrast 19.86:1).

#F8F8FFghostwhite
HEX#F8F8FF
RGBrgb(248, 248, 255)
RGB percentrgb(97.3%, 97.3%, 100%)
HSLhsl(240, 100%, 99%)
HSV / HSBhsv(240, 3%, 100%)
CMYKcmyk(3%, 3%, 0%, 0%)
CIELAB (D65)lab(97.8 1.2 -3.3)

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

About #F8F8FF

#F8F8FF is a very pale, vivid indigo with a hue angle of 240°. 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 248 (97%). Colors like this are typically used for page backgrounds, cards and subtle section fills.

Color conversions

HEX#F8F8FF
RGBrgb(248, 248, 255)
RGB percentrgb(97.3%, 97.3%, 100%)
HSLhsl(240, 100%, 99%)
HSV / HSBhsv(240, 3%, 100%)
CMYKcmyk(3%, 3%, 0%, 0%)
CIELAB (D65)lab(97.8 1.2 -3.3)
Decimal16316671
Binary11111000 11111000 11111111

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

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 #F8F8FF

Tints (mixed with white)

Shades (mixed with black)

Tones (mixed with gray)

Contrast and accessibility

Text on #F8F8FFRatioAA normalAA largeAAA normalAAA large
White text1.06:1FailFailFailFail
Black text19.86:1PassPassPassPass
White text on #F8F8FF
Black text on #F8F8FF
#F8F8FF text on white
#F8F8FF text on black

Relative luminance is 0.9431 (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
#f7f9ff

Deuteranopia
#f6f8ff

Tritanopia
#f7f9fa

Achromatopsia
#f9f9f9

People with red–green color blindness see this color almost unchanged (ΔE 1 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
ghostwhite#f8f8ff0
whitesmoke#f5f5f53.6
snow#fffafa3.7
white#ffffff3.8

CSS

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

Frequently asked questions

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