Ghost White Color

HEX #F8F8FF · rgb(248, 248, 255) · hsl(240, 100%, 99%)

Ghost White color codes

Ghost White is one of the named colors every browser understands. In CSS you can write it as ghostwhite or #F8F8FF.

FormatValue
HEX#F8F8FF
RGBrgb(248, 248, 255)
HSLhsl(240, 100%, 99%)
CMYK3%, 3%, 0%, 0%
CSS nameghostwhite
.example {
  color: ghostwhite;
  background-color: #F8F8FF;
  border-color: rgb(248, 248, 255);
}

Colors that go with ghost white

These harmonies keep the same saturation and lightness and rotate the hue around the color wheel.

#FFFFF8Complementary
#F8FCFFAnalogous
#FCF8FFAnalogous
#FFF8F8Triadic
#F8FFF8Triadic

Tints and shades of ghost white

Tints mix the color with white; shades mix it with black.

#FEFEFF90% white
#FDFDFF75% white
#FCFCFF60% white
#FBFBFF45% white
#FAFAFF30% white
#F9F9FF15% white
#F8F8FFBase
Ghost White
#D3D3D915% black
#AEAEB330% black
#88888C45% black
#63636660% black
#3E3E4075% black
#19191A90% black

Contrast and readability

Black text
19.86:1
passes AA and AAA
White text
1.06:1
fails

Use black text on ghost white. Ratios follow the WCAG 2 formula; AA needs 4.5:1 for normal text and 3:1 for large text.

Frequently asked questions

What is the hex code for ghost white?

The hex code for ghost white is #F8F8FF.

What is the RGB value of ghost white?

Ghost White is rgb(248, 248, 255): 248 red, 248 green and 255 blue on a 0 to 255 scale.

What color goes with ghost white?

Its complementary color is #FFFFF8, which is closest to the named color snow. Analogous and triadic matches are listed on this page.

Should text on ghost white be black or white?

Use black text. The contrast ratio is 19.86:1 with black and 1.06:1 with white. WCAG AA asks for at least 4.5:1 for normal text.

Similar named colors

Pick any other color with the color picker, or browse all named colors.