#F0F2FE#F0F2FE

#F0F2FE is a very light, near-neutral blue. Relative luminance 0.892; OKLCH L 96.3% C 0.016 H 278.5°. Best body text is #000000 at 18.84:1 contrast (WCAG AA passes).

Color values

HEX#F0F2FE
RGBrgb(240, 242, 254)
HSLhsl(231, 88%, 97%)
HSVhsv(231, 6%, 100%)
CMYKcmyk(5.5%, 4.7%, 0%, 0.4%)
CIE-LABlab(95.66, 1.52, -5.99)
CIE-LCHlch(95.66, 6.18, 284.24°)
OKLaboklab(96.31% 0.0024 -0.016)
OKLCHoklch(96.31% 0.016 278.5)
XYZxyz(85.5733, 89.1849, 106.4529)
Luminance0.8919 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F0F2FE #FEFCF0
analogous
#F0F9FE #F0F2FE #F5F0FE
triadic
#F0F2FE #FEF0F2 #F2FEF0
tetradic
#F0F2FE #FEF0F9 #FEFCF0 #F0FEF5
square
#F0F2FE #FEF0F9 #FEFCF0 #F0FEF5
split-complementary
#F0F2FE #FEF5F0 #F9FEF0
monochromatic
#7D8FF6 #B7C0FA #E2E6FD #E2E6FD #E2E6FD

Accessibility & contrast

On white

1.11
#F0F2FE on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

18.84
#F0F2FE on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F0F2FE
18.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F0F2FE#FFFFFF#000000##000000
##F0F2FE1.001.1118.8418.84
#FFFFFF1.111.0021.0021.00
#00000018.8421.001.001.00
##00000018.8421.001.001.00

Color blindness preview

Protanopia (red-blind)
#EFF3FF
Deuteranopia (green-blind)
#EEF2FE
Tritanopia (blue-blind)
#EDF4F6
Achromatopsia (no color)
#F2F2F2

Design tokens & code

CSS
--color: #f0f2fe;
/* rgb */ color: rgb(240, 242, 254);
/* oklch */ color: oklch(96.3% 0.016 278.5);
Tailwind
colors: {
  custom: {
    50: '#f5f6fe',
    500: '#f0f2fe',
    950: '#000000',
  },
}
SCSS
$custom: #f0f2fe;
$custom-light: #f5f6fe;
$custom-dark: #000000;
JSON
{
  "hex": "#f0f2fe",
  "rgb": {
    "r": 240,
    "g": 242,
    "b": 254
  },
  "hsl": {
    "h": 231.429,
    "s": 87.5,
    "l": 96.863
  },
  "oklch": {
    "l": 0.96311,
    "c": 0.01618,
    "h": 278.5
  },
  "luminance": 0.89185
}

Semantic roles & 50–950 ramp

primary
#F0F2FE
secondary
#EAE1A8
accent
#C401E4
background
#FFFFFF
surface
#FEFEFF
border
#D6D6D7
text
#171717
muted
#858585

Preview Lab

Preview with #F0F2FE

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

Preview Lab → · Contrast checker → · Palette generator →

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