#F8FAFF#F8FAFF

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

Color values

HEX#F8FAFF
RGBrgb(248, 250, 255)
HSLhsl(223, 100%, 99%)
HSVhsv(223, 3%, 100%)
CMYKcmyk(2.7%, 2%, 0%, 0%)
CIE-LABlab(98.25, 0.23, -2.62)
CIE-LCHlch(98.25, 2.63, 275.08°)
OKLaboklab(98.5% -0.0002 -0.007)
OKLCHoklch(98.5% 0.007 268.5)
XYZxyz(90.9438, 95.5474, 108.2397)
Luminance0.9555 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F8FAFF #FFFDF8
analogous
#F8FDFF #F8FAFF #F9F8FF
triadic
#F8FAFF #FFF8FA #FAFFF8
tetradic
#F8FAFF #FFF8FD #FFFDF8 #F8FFF9
square
#F8FAFF #FFF8FD #FFFDF8 #F8FFF9
split-complementary
#F8FAFF #FFF9F8 #FDFFF8
monochromatic
#7EA3FF #BBCEFF #E0E9FF #E0E9FF #E0E9FF

Accessibility & contrast

On white

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

On black

20.11
#F8FAFF on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F8FAFF
20.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F8FAFF#FFFFFF#000000##000000
##F8FAFF1.001.0420.1120.11
#FFFFFF1.041.0021.0021.00
#00000020.1121.001.001.00
##00000020.1121.001.001.00

Color blindness preview

Protanopia (red-blind)
#F9FAFF
Deuteranopia (green-blind)
#F8FAFF
Tritanopia (blue-blind)
#F7FBFC
Achromatopsia (no color)
#FAFAFA

Design tokens & code

CSS
--color: #f8faff;
/* rgb */ color: rgb(248, 250, 255);
/* oklch */ color: oklch(98.5% 0.007 268.5);
Tailwind
colors: {
  custom: {
    50: '#fafbff',
    500: '#f8faff',
    950: '#000000',
  },
}
SCSS
$custom: #f8faff;
$custom-light: #fafbff;
$custom-dark: #000000;
JSON
{
  "hex": "#f8faff",
  "rgb": {
    "r": 248,
    "g": 250,
    "b": 255
  },
  "hsl": {
    "h": 222.857,
    "s": 100,
    "l": 98.627
  },
  "oklch": {
    "l": 0.98501,
    "c": 0.00697,
    "h": 268.5
  },
  "luminance": 0.95548
}

Semantic roles & 50–950 ramp

primary
#F8FAFF
secondary
#F0DCAB
accent
#A400E6
background
#FFFFFF
surface
#FFFFFF
border
#D7D7D7
text
#171718
muted
#858586

Preview Lab

Preview with #F8FAFF

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

Preview Lab → · Contrast checker → · Palette generator →

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