CSS Named Color

Copy-ready color values

HEX#F8F8FF
RGBrgb(248, 248, 255)
HSLhsl(240, 100%, 99%)
HSVhsv(240, 3%, 100%)
CMYK approx.cmyk(3, 3, 0, 0)

Color value table

FormatValueCopy
HEX#F8F8FF
RGBrgb(248, 248, 255)
HSLhsl(240, 100%, 99%)
HSVhsv(240, 3%, 100%)
CMYK approx.cmyk(3, 3, 0, 0)
CSS keywordghostwhite

Contrast and classification

LightLightness1.06:1Contrast with white19.86:1Contrast with blackGrayscaleColor family

Shade and tint preview

White 10%
#F9F9FF

White 30%
#FAFAFF

White 70%
#FDFDFF

White 90%
#FEFEFF

Black 10%
#DFDFE6

Black 30%
#AEAEB3

Black 70%
#4A4A4D

Black 90%
#19191A

Harmony palettes

Complementary

#070700
#43433D

Analogous

#F8F8FE
#F8F9FE

Triadic

#F8FFF8
#FFF8F8

Split complementary

#34342E
#060600

Using Ghostwhite

Ghostwhite works best when it is chosen with contrast, surrounding colors, and interface state in mind. Use the HEX value for static CSS, RGB when you need channel-level control, and HSL when adjusting lightness or saturation for hover states. The CMYK value is an approximate screen-to-print conversion, so print workflows should still rely on calibrated design software or a printer profile.

CSS, SCSS, and Tailwind examples

:root {
  --color-ghostwhite: #f8f8ff;
}

.button-primary {
  background: var(--color-ghostwhite);
  color: #000000;
}

$ghostwhite: #f8f8ff;

// Tailwind arbitrary value
class="bg-[#f8f8ff] text-white"