#F8FAFE#F8FAFE

#F8FAFE is a very light, near-neutral blue. Relative luminance 0.955; OKLCH L 98.5% C 0.006 H 264.5°. Best body text is #000000 at 20.10:1 contrast (WCAG AA passes).

Color values

HEX#F8FAFE
RGBrgb(248, 250, 254)
HSLhsl(220, 75%, 98%)
HSVhsv(220, 2%, 100%)
CMYKcmyk(2.4%, 1.6%, 0%, 0.4%)
CIE-LABlab(98.23, 0.05, -2.14)
CIE-LCHlch(98.23, 2.14, 271.41°)
OKLaboklab(98.47% -0.0005 -0.0057)
OKLCHoklch(98.47% 0.006 264.5)
XYZxyz(90.7832, 95.4832, 107.3941)
Luminance0.9548 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F8FAFE #FEFCF8
analogous
#F8FDFE #F8FAFE #F9F8FE
triadic
#F8FAFE #FEF8FA #FAFEF8
tetradic
#F8FAFE #FEF8FD #FEFCF8 #F8FEF9
square
#F8FAFE #FEF8FD #FEFCF8 #F8FEF9
split-complementary
#F8FAFE #FEF9F8 #FDFEF8
monochromatic
#8DADEF #C2D4F6 #E4ECFB #E4ECFB #E4ECFB

Accessibility & contrast

On white

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

On black

20.10
#F8FAFE on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F8FAFE
20.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F8FAFE#FFFFFF#000000##000000
##F8FAFE1.001.0420.1020.10
#FFFFFF1.041.0021.0021.00
#00000020.1021.001.001.00
##00000020.1021.001.001.00

Color blindness preview

Protanopia (red-blind)
#F9FAFE
Deuteranopia (green-blind)
#F8FAFE
Tritanopia (blue-blind)
#F7FBFB
Achromatopsia (no color)
#FAFAFA

Design tokens & code

CSS
--color: #f8fafe;
/* rgb */ color: rgb(248, 250, 254);
/* oklch */ color: oklch(98.5% 0.006 264.5);
Tailwind
colors: {
  custom: {
    50: '#fafbfe',
    500: '#f8fafe',
    950: '#000000',
  },
}
SCSS
$custom: #f8fafe;
$custom-light: #fafbfe;
$custom-dark: #000000;
JSON
{
  "hex": "#f8fafe",
  "rgb": {
    "r": 248,
    "g": 250,
    "b": 254
  },
  "hsl": {
    "h": 220,
    "s": 75,
    "l": 98.431
  },
  "oklch": {
    "l": 0.98472,
    "c": 0.00573,
    "h": 264.5
  },
  "luminance": 0.95483
}

Semantic roles & 50–950 ramp

primary
#F8FAFE
secondary
#E7D6B3
accent
#940ED7
background
#FFFFFF
surface
#FFFFFF
border
#D7D7D7
text
#171717
muted
#858585

Preview Lab

Preview with #F8FAFE

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

Preview Lab → · Contrast checker → · Palette generator →

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