#F8F8FA#F8F8FA

#F8F8FA is a very light, near-neutral blue. Relative luminance 0.940; OKLCH L 98.0% C 0.003 H 286.2°. Best body text is #000000 at 19.80:1 contrast (WCAG AA passes).

Color values

HEX#F8F8FA
RGBrgb(248, 248, 250)
HSLhsl(240, 17%, 98%)
HSVhsv(240, 1%, 98%)
CMYKcmyk(0.8%, 0.8%, 0%, 2%)
CIE-LABlab(97.63, 0.35, -0.96)
CIE-LCHlch(97.63, 1.02, 290.25°)
OKLaboklab(97.97% 0.0007 -0.0025)
OKLCHoklch(97.97% 0.003 286.2)
XYZxyz(89.5312, 93.9934, 103.8498)
Luminance0.9399 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F8F8FA #FAFAF8
analogous
#F8F9FA #F8F8FA #F9F8FA
triadic
#F8F8FA #FAF8F8 #F8FAF8
tetradic
#F8F8FA #FAF8F9 #FAFAF8 #F8FAF9
square
#F8F8FA #FAF8F9 #FAFAF8 #F8FAF9
split-complementary
#F8F8FA #FAF9F8 #F9FAF8
monochromatic
#B1B1C7 #D4D4E0 #EDEDF2 #EDEDF2 #EDEDF2

Accessibility & contrast

On white

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

On black

19.80
#F8F8FA on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F8F8FA
19.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F8F8FA#FFFFFF#000000##000000
##F8F8FA1.001.0619.8019.80
#FFFFFF1.061.0021.0021.00
#00000019.8021.001.001.00
##00000019.8021.001.001.00

Color blindness preview

Protanopia (red-blind)
#F8F8FA
Deuteranopia (green-blind)
#F8F8FA
Tritanopia (blue-blind)
#F8F8F9
Achromatopsia (no color)
#F8F8F8

Design tokens & code

CSS
--color: #f8f8fa;
/* rgb */ color: rgb(248, 248, 250);
/* oklch */ color: oklch(98.0% 0.003 286.2);
Tailwind
colors: {
  custom: {
    50: '#fafafb',
    500: '#f8f8fa',
    950: '#000000',
  },
}
SCSS
$custom: #f8f8fa;
$custom-light: #fafafb;
$custom-dark: #000000;
JSON
{
  "hex": "#f8f8fa",
  "rgb": {
    "r": 248,
    "g": 248,
    "b": 250
  },
  "hsl": {
    "h": 240,
    "s": 16.667,
    "l": 97.647
  },
  "oklch": {
    "l": 0.97969,
    "c": 0.00265,
    "h": 286.2
  },
  "luminance": 0.93993
}

Semantic roles & 50–950 ramp

primary
#F8F8FA
secondary
#D1D1C5
accent
#9B4B9B
background
#FFFFFF
surface
#FFFFFF
border
#D7D7D7
text
#171717
muted
#858585

Preview Lab

Preview with #F8F8FA

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

Preview Lab → · Contrast checker → · Palette generator →

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