Skip to content

Ghost white

Ghost white is a white with a faint blue tint. Hex code #F8F8FF.

Ghost white#F8F8FF

Color codes

  • CSS nameghostwhite
  • HEX#F8F8FF
  • RGBrgb(248 248 255)
  • HSLhsl(240 100% 99%)
  • HSB / HSVhsb(240, 3%, 100%)
  • OKLCHoklch(98.1% 0.009 286.2)
  • CMYKcmyk(3%, 3%, 0%, 0%)

White text

1.05:1 · fails WCAG

Black text

19.86:1 · passes WCAG AAA

Shades

50#F1F1F8
100#D4D4DB
200#B7B7BE
300#9C9CA2
400#818187
500#67676D
600#4E4E54
700#37373C
800#212126

Tones

#6E6E74
#919198
#B7B7BD
#DDDDE4
#F8F8FF

About this color

Ghost white in CSS and design

Ghost white is a white with a faint blue tint. Ghost white is one of the extended color keywords, which CSS adopted from the X11 color names used on Unix workstations.

Use it in CSS by name or by any of its codes; these all give the same color:

color: ghostwhite;
color: #F8F8FF;
color: rgb(248 248 255);
color: hsl(240 100% 99%);

For text on ghost white, black reads best. Check other combinations with the contrast checker, or browse all CSS color names.

Frequently asked questions

What is the hex code for ghost white?

#F8F8FF. In CSS you can also use the keyword ghostwhite, which works in every browser.

What is ghost white in RGB and HSL?

In RGB it is rgb(248 248 255), in HSL hsl(240 100% 99%). For print, cmyk(3%, 3%, 0%, 0%) is a starting point, but CMYK depends on paper and ink, so check with your printer.

Should I use black or white text on ghost white?

Black text works better: it has a contrast ratio of 19.86:1 and passes WCAG AAA. White text reaches 1.05:1.

Which colors go with ghost white?

As a neutral, ghost white goes with almost any color. It works well as a background, border or text color next to a vivid accent, and with the lighter and darker tones from its shades.