CSS Named Color
Copy-ready color values
HEX
#F8F8FFRGB
rgb(248, 248, 255)HSL
hsl(240, 100%, 99%)HSV
hsv(240, 3%, 100%)CMYK approx.
cmyk(3, 3, 0, 0)Color value table
| Format | Value | Copy |
|---|---|---|
| HEX | #F8F8FF | |
| RGB | rgb(248, 248, 255) | |
| HSL | hsl(240, 100%, 99%) | |
| HSV | hsv(240, 3%, 100%) | |
| CMYK approx. | cmyk(3, 3, 0, 0) | |
| CSS keyword | ghostwhite |
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#43433DAnalogous
#F8F8FE#F8F9FETriadic
#F8FFF8#FFF8F8Split complementary
#34342E#060600Using 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"