#F8FAFC#F8FAFC

#F8FAFC is a very light, near-neutral cyan. Relative luminance 0.954; OKLCH L 98.4% C 0.003 H 247.8°. Best body text is #000000 at 20.07:1 contrast (WCAG AA passes).

Color values

HEX#F8FAFC
RGBrgb(248, 250, 252)
HSLhsl(210, 40%, 98%)
HSVhsv(210, 2%, 99%)
CMYKcmyk(1.6%, 0.8%, 0%, 1.2%)
CIE-LABlab(98.18, -0.30, -1.19)
CIE-LCHlch(98.18, 1.23, 255.61°)
OKLaboklab(98.42% -0.0013 -0.0032)
OKLCHoklch(98.42% 0.003 247.8)
XYZxyz(90.4646, 95.3558, 105.7162)
Luminance0.9536 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F8FAFC #FCFAF8
analogous
#F8FCFC #F8FAFC #F8F8FC
triadic
#F8FAFC #FCF8FA #FAFCF8
tetradic
#F8FAFC #FCF8FC #FCFAF8 #F8FCF8
square
#F8FAFC #FCF8FC #FCFAF8 #F8FCF8
split-complementary
#F8FAFC #FCF8F8 #FCFCF8
monochromatic
#A2BDD7 #CDDBEA #EAF0F6 #EAF0F6 #EAF0F6

Accessibility & contrast

On white

1.05
#F8FAFC on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

20.07
#F8FAFC on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F8FAFC
20.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F8FAFC#FFFFFF#000000##000000
##F8FAFC1.001.0520.0720.07
#FFFFFF1.051.0021.0021.00
#00000020.0721.001.001.00
##00000020.0721.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #f8fafc;
/* rgb */ color: rgb(248, 250, 252);
/* oklch */ color: oklch(98.4% 0.003 247.8);
Tailwind
colors: {
  custom: {
    50: '#fafbfd',
    500: '#f8fafc',
    950: '#000000',
  },
}
SCSS
$custom: #f8fafc;
$custom-light: #fafbfd;
$custom-dark: #000000;
JSON
{
  "hex": "#f8fafc",
  "rgb": {
    "r": 248,
    "g": 250,
    "b": 252
  },
  "hsl": {
    "h": 210,
    "s": 40,
    "l": 98.039
  },
  "oklch": {
    "l": 0.98415,
    "c": 0.00341,
    "h": 247.8
  },
  "luminance": 0.95356
}

Semantic roles & 50–950 ramp

primary
#F8FAFC
secondary
#DACCBE
accent
#7332B3
background
#FFFFFF
surface
#FFFFFF
border
#D7D7D7
text
#171717
muted
#858585

Preview Lab

Preview with #F8FAFC

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

Preview Lab → · Contrast checker → · Palette generator →

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