#F8F8FF — Ghost White

Ghost White is the CSS named color #F8F8FF — rgb(248, 248, 255), hsl(240, 100%, 99%). Its relative luminance is 0.943, giving 1.06:1 against white and 19.86:1 against black, so it works as a text color on black.

Ghost White in every notation

HEX#F8F8FF
RGBrgb(248, 248, 255)
HSLhsl(240, 100%, 99%)
Relative luminance0.9431
Contrast on white1.06:1 AA fail
Contrast on black19.86:1 AA pass

Tints and shades of ghostwhite

#FEFEFF
#FDFDFF
#FBFBFF
#F9F9FF
#F8F8FF
#D3D3D9
#A9A9AD
#7C7C80
#4F4F52

Built by mixing ghostwhite toward white (four steps) and toward black (four steps) while keeping the hue. Use the shades generator for a different step count or to add harmony sets.

Similar CSS colors

Closest by CIELAB distance (ΔE76). For perceptual matching in a design system, compare in OKLab before locking a token.

Frequently asked questions

What is the hex code for ghostwhite?

ghostwhite is #F8F8FF, which is rgb(248, 248, 255) and hsl(240, 100%, 99%). It is one of the 148 CSS named colors defined by the CSS Color Module Level 4.

Is ghostwhite light or dark?

Ghost White has a relative luminance of 0.943 on a 0–1 scale, so it is a light color. Against white it scores 1.06:1; against black, 19.86:1.

Can I use ghostwhite for text?

ghostwhite reaches 19.86:1 against black, which clears WCAG 2.2 AA for normal text (4.5:1) at any size.