#F0F8FA#F0F8FA

#F0F8FA is a very light, near-neutral cyan. Relative luminance 0.926; OKLCH L 97.4% C 0.009 H 214.3°. Best body text is #000000 at 19.51:1 contrast (WCAG AA passes).

Color values

HEX#F0F8FA
RGBrgb(240, 248, 250)
HSLhsl(192, 50%, 96%)
HSVhsv(192, 4%, 98%)
CMYKcmyk(4%, 0.8%, 0%, 2%)
CIE-LABlab(97.05, -2.27, -1.87)
CIE-LCHlch(97.05, 2.94, 219.58°)
OKLaboklab(97.37% -0.0073 -0.005)
OKLCHoklch(97.37% 0.009 214.3)
XYZxyz(86.7546, 92.5617, 103.7196)
Luminance0.9256 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F0F8FA #FAF2F0
analogous
#F0FAF7 #F0F8FA #F0F3FA
triadic
#F0F8FA #FAF0F8 #F8FAF0
tetradic
#F0F8FA #F7F0FA #FAF2F0 #F3FAF0
square
#F0F8FA #F7F0FA #FAF2F0 #F3FAF0
split-complementary
#F0F8FA #FAF0F3 #FAF7F0
monochromatic
#94CDDB #C2E3EB #E8F4F7 #E8F4F7 #E8F4F7

Accessibility & contrast

On white

1.08
#F0F8FA on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

19.51
#F0F8FA on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F0F8FA
19.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F0F8FA#FFFFFF#000000##000000
##F0F8FA1.001.0819.5119.51
#FFFFFF1.081.0021.0021.00
#00000019.5121.001.001.00
##00000019.5121.001.001.00

Color blindness preview

Protanopia (red-blind)
#F6F7FA
Deuteranopia (green-blind)
#F5F6FA
Tritanopia (blue-blind)
#EEF9F9
Achromatopsia (no color)
#F6F6F6

Design tokens & code

CSS
--color: #f0f8fa;
/* rgb */ color: rgb(240, 248, 250);
/* oklch */ color: oklch(97.4% 0.009 214.3);
Tailwind
colors: {
  custom: {
    50: '#f5fafb',
    500: '#f0f8fa',
    950: '#000000',
  },
}
SCSS
$custom: #f0f8fa;
$custom-light: #f5fafb;
$custom-dark: #000000;
JSON
{
  "hex": "#f0f8fa",
  "rgb": {
    "r": 240,
    "g": 248,
    "b": 250
  },
  "hsl": {
    "h": 192,
    "s": 50,
    "l": 96.078
  },
  "oklch": {
    "l": 0.9737,
    "c": 0.0089,
    "h": 214.3
  },
  "luminance": 0.92562
}

Semantic roles & 50–950 ramp

primary
#F0F8FA
secondary
#DBBBB4
accent
#4628BD
background
#FFFFFF
surface
#FEFFFF
border
#D6D7D7
text
#171717
muted
#858585

Preview Lab

Preview with #F0F8FA

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

Preview Lab → · Contrast checker → · Palette generator →

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