Ghostwhite to RGB — Color Code

#f8f8ff
Format Value
HEX #f8f8ff
RGB rgb(248, 248, 255)
HSL hsl(240, 100%, 98.6%)
CMYK cmyk(2.7%, 2.7%, 0%, 0%)
HSV hsv(240, 2.7%, 100%)

ghostwhite color harmonies

Tints & shades of ghostwhite

Tints (lighter)

#f9f9ff #f9f9ff #fafaff #fbfbff #fbfbff #fcfcff #fcfcff #fdfdff #fefeff #fefeff

Shades (darker)

#e1e1e8 #cbcbd1 #b4b4b9 #9e9ea2 #87878b #717174 #5a5a5d #444446 #2d2d2e #171717

Contrast & accessibility

The quick brown fox

On white · 1.06:1 · Fail

The quick brown fox

On black · 19.86:1 · AAA

Recommended text color: #000000

Use ghostwhite in code

CSS color: #f8f8ff;
SCSS $color: #f8f8ff;
Tailwind bg-[#f8f8ff]
Swift UIColor(red: 0.973, green: 0.973, blue: 1.000, alpha: 1)
Android Color.parseColor("#f8f8ff")
Flutter Color(0xFFF8F8FF)

Colors similar to ghostwhite

Browse all Gray & neutral colors →

What is the RGB code for ghostwhite?

The CSS color ghostwhite in RGB format is rgb(248, 248, 255). Use this value directly in CSS, SVG, and most design tools.

How do I use ghostwhite in CSS?

To apply ghostwhite in CSS:

  • Text color: color: rgb(248, 248, 255);
  • Background: background-color: rgb(248, 248, 255);
  • Border: border-color: rgb(248, 248, 255);

What are all the color format values for ghostwhite?

FormatValue
HEX#f8f8ff
RGBrgb(248, 248, 255)
HSLhsl(240, 100%, 98.6%)
CMYKcmyk(2.7%, 2.7%, 0%, 0%)

How do I convert ghostwhite to RGB?

Select ghostwhite from the color name list in our color converter. The RGB value — rgb(248, 248, 255) — appears instantly alongside HEX, RGB, HSL and CMYK.

What color family does ghostwhite belong to?

ghostwhite belongs to the near-white color family. It is a light, vivid color with HSL values: hue 240°, saturation 100%, lightness 98.6%.

How do I create lighter and darker shades of ghostwhite?

Lighter variant (lightness 95%): #e5e5ff. Darker variant (lightness 83.6%): #ababff. These values are computed by adjusting HSL lightness ±15% while keeping the same hue and saturation.

What is RGB used for?

RGB defines colors using three values from 0 to 255 — red, green and blue intensity. It is the native format for screens, monitors and web browsers.