#F8F8FC#F8F8FC

#F8F8FC is a very light, near-neutral blue. Relative luminance 0.941; OKLCH L 98.0% C 0.005 H 286.3°. Best body text is #000000 at 19.82:1 contrast (WCAG AA passes).

Color values

HEX#F8F8FC
RGBrgb(248, 248, 252)
HSLhsl(240, 40%, 98%)
HSVhsv(240, 2%, 99%)
CMYKcmyk(1.6%, 1.6%, 0%, 1.2%)
CIE-LABlab(97.68, 0.71, -1.91)
CIE-LCHlch(97.68, 2.04, 290.33°)
OKLaboklab(98.03% 0.0015 -0.0051)
OKLCHoklch(98.03% 0.005 286.3)
XYZxyz(89.8465, 94.1195, 105.5101)
Luminance0.9412 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F8F8FC #FCFCF8
analogous
#F8FAFC #F8F8FC #FAF8FC
triadic
#F8F8FC #FCF8F8 #F8FCF8
tetradic
#F8F8FC #FCF8FA #FCFCF8 #F8FCFA
square
#F8F8FC #FCF8FA #FCFCF8 #F8FCFA
split-complementary
#F8F8FC #FCFAF8 #FAFCF8
monochromatic
#A2A2D7 #CDCDEA #EAEAF6 #EAEAF6 #EAEAF6

Accessibility & contrast

On white

1.06
#F8F8FC on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

19.82
#F8F8FC on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F8F8FC
19.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F8F8FC#FFFFFF#000000##000000
##F8F8FC1.001.0619.8219.82
#FFFFFF1.061.0021.0021.00
#00000019.8221.001.001.00
##00000019.8221.001.001.00

Color blindness preview

Protanopia (red-blind)
#F7F8FC
Deuteranopia (green-blind)
#F7F8FC
Tritanopia (blue-blind)
#F7F9F9
Achromatopsia (no color)
#F8F8F8

Design tokens & code

CSS
--color: #f8f8fc;
/* rgb */ color: rgb(248, 248, 252);
/* oklch */ color: oklch(98.0% 0.005 286.3);
Tailwind
colors: {
  custom: {
    50: '#fafafd',
    500: '#f8f8fc',
    950: '#000000',
  },
}
SCSS
$custom: #f8f8fc;
$custom-light: #fafafd;
$custom-dark: #000000;
JSON
{
  "hex": "#f8f8fc",
  "rgb": {
    "r": 248,
    "g": 248,
    "b": 252
  },
  "hsl": {
    "h": 240,
    "s": 40,
    "l": 98.039
  },
  "oklch": {
    "l": 0.98026,
    "c": 0.00529,
    "h": 286.3
  },
  "luminance": 0.9412
}

Semantic roles & 50–950 ramp

primary
#F8F8FC
secondary
#DADABE
accent
#B332B3
background
#FFFFFF
surface
#FFFFFF
border
#D7D7D7
text
#171717
muted
#858585

Preview Lab

Preview with #F8F8FC

Body copy rendered with the generated semantic roles for this colour.

Preview Lab → · Contrast checker → · Palette generator →

#F8F8FC Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva