#FAFAFB#FAFAFB

#FAFAFB is a very light, near-neutral blue. Relative luminance 0.957; OKLCH L 98.5% C 0.001 H 286.2°. Best body text is #000000 at 20.13:1 contrast (WCAG AA passes).

Color values

HEX#FAFAFB
RGBrgb(250, 250, 251)
HSLhsl(240, 11%, 98%)
HSVhsv(240, 0%, 98%)
CMYKcmyk(0.4%, 0.4%, 0%, 1.6%)
CIE-LABlab(98.30, 0.18, -0.48)
CIE-LCHlch(98.30, 0.51, 290.21°)
OKLaboklab(98.54% 0.0004 -0.0013)
OKLCHoklch(98.54% 0.001 286.2)
XYZxyz(91.0196, 95.6602, 104.9172)
Luminance0.9566 (WCAG relative)
Temperatureneutral
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FAFAFB #FBFBFA
analogous
#FAFAFB #FAFAFB #FAFAFB
triadic
#FAFAFB #FBFAFA #FAFBFA
tetradic
#FAFAFB #FBFAFA #FBFBFA #FAFBFA
square
#FAFAFB #FBFAFA #FBFBFA #FAFBFA
split-complementary
#FAFAFB #FBFAFA #FAFBFA
monochromatic
#B6B6C5 #D8D8E0 #EEEEF1 #EEEEF1 #EEEEF1

Accessibility & contrast

On white

1.04
#FAFAFB on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

20.13
#FAFAFB on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FAFAFB
20.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FAFAFB#FFFFFF#000000##000000
##FAFAFB1.001.0420.1320.13
#FFFFFF1.041.0021.0021.00
#00000020.1321.001.001.00
##00000020.1321.001.001.00

Color blindness preview

Protanopia (red-blind)
#FAFAFB
Deuteranopia (green-blind)
#FAFAFB
Tritanopia (blue-blind)
#FAFAFA
Achromatopsia (no color)
#FAFAFA

Design tokens & code

CSS
--color: #fafafb;
/* rgb */ color: rgb(250, 250, 251);
/* oklch */ color: oklch(98.5% 0.001 286.2);
Tailwind
colors: {
  custom: {
    50: '#fbfbfc',
    500: '#fafafb',
    950: '#000000',
  },
}
SCSS
$custom: #fafafb;
$custom-light: #fbfbfc;
$custom-dark: #000000;
JSON
{
  "hex": "#fafafb",
  "rgb": {
    "r": 250,
    "g": 250,
    "b": 251
  },
  "hsl": {
    "h": 240,
    "s": 11.111,
    "l": 98.235
  },
  "oklch": {
    "l": 0.98538,
    "c": 0.00132,
    "h": 286.2
  },
  "luminance": 0.9566
}

Semantic roles & 50–950 ramp

primary
#FAFAFB
secondary
#D1D1C9
accent
#955095
background
#FFFFFF
surface
#FFFFFF
border
#D7D7D7
text
#171717
muted
#858585

Preview Lab

Preview with #FAFAFB

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

Preview Lab → · Contrast checker → · Palette generator →

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