#F0F2FB#F0F2FB

#F0F2FB is a very light, near-neutral blue. Relative luminance 0.890; OKLCH L 96.2% C 0.012 H 276.1°. Best body text is #000000 at 18.80:1 contrast (WCAG AA passes).

Color values

HEX#F0F2FB
RGBrgb(240, 242, 251)
HSLhsl(229, 58%, 96%)
HSVhsv(229, 4%, 98%)
CMYKcmyk(4.4%, 3.6%, 0%, 1.6%)
CIE-LABlab(95.58, 0.97, -4.55)
CIE-LCHlch(95.58, 4.65, 281.97°)
OKLaboklab(96.22% 0.0013 -0.0121)
OKLCHoklch(96.22% 0.012 276.1)
XYZxyz(85.0967, 88.9943, 103.9426)
Luminance0.8900 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F0F2FB #FBF9F0
analogous
#F0F8FB #F0F2FB #F4F0FB
triadic
#F0F2FB #FBF0F2 #F2FBF0
tetradic
#F0F2FB #FBF0F8 #FBF9F0 #F0FBF4
square
#F0F2FB #FBF0F8 #FBF9F0 #F0FBF4
split-complementary
#F0F2FB #FBF4F0 #F8FBF0
monochromatic
#8F9EE1 #C0C8EE #E7EAF9 #E7EAF9 #E7EAF9

Accessibility & contrast

On white

1.12
#F0F2FB on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

18.80
#F0F2FB on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F0F2FB
18.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F0F2FB#FFFFFF#000000##000000
##F0F2FB1.001.1218.8018.80
#FFFFFF1.121.0021.0021.00
#00000018.8021.001.001.00
##00000018.8021.001.001.00

Color blindness preview

Protanopia (red-blind)
#F0F3FB
Deuteranopia (green-blind)
#EFF2FB
Tritanopia (blue-blind)
#EEF4F5
Achromatopsia (no color)
#F2F2F2

Design tokens & code

CSS
--color: #f0f2fb;
/* rgb */ color: rgb(240, 242, 251);
/* oklch */ color: oklch(96.2% 0.012 276.1);
Tailwind
colors: {
  custom: {
    50: '#f5f6fc',
    500: '#f0f2fb',
    950: '#000000',
  },
}
SCSS
$custom: #f0f2fb;
$custom-light: #f5f6fc;
$custom-dark: #000000;
JSON
{
  "hex": "#f0f2fb",
  "rgb": {
    "r": 240,
    "g": 242,
    "b": 251
  },
  "hsl": {
    "h": 229.091,
    "s": 57.895,
    "l": 96.275
  },
  "oklch": {
    "l": 0.96222,
    "c": 0.01221,
    "h": 276.1
  },
  "luminance": 0.88995
}

Semantic roles & 50–950 ramp

primary
#F0F2FB
secondary
#DED6B1
accent
#A720C5
background
#FFFFFF
surface
#FEFEFF
border
#D6D6D7
text
#171717
muted
#858585

Preview Lab

Preview with #F0F2FB

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

Preview Lab → · Contrast checker → · Palette generator →

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