#F0F2FA#F0F2FA

#F0F2FA is a very light, near-neutral blue. Relative luminance 0.889; OKLCH L 96.2% C 0.011 H 274.9°. Best body text is #000000 at 18.79:1 contrast (WCAG AA passes).

Color values

HEX#F0F2FA
RGBrgb(240, 242, 250)
HSLhsl(228, 50%, 96%)
HSVhsv(228, 4%, 98%)
CMYKcmyk(4%, 3.2%, 0%, 2%)
CIE-LABlab(95.55, 0.78, -4.07)
CIE-LCHlch(95.55, 4.15, 280.86°)
OKLaboklab(96.19% 0.0009 -0.0109)
OKLCHoklch(96.19% 0.011 274.9)
XYZxyz(84.9394, 88.9314, 103.1146)
Luminance0.8893 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F0F2FA #FAF8F0
analogous
#F0F7FA #F0F2FA #F3F0FA
triadic
#F0F2FA #FAF0F2 #F2FAF0
tetradic
#F0F2FA #FAF0F7 #FAF8F0 #F0FAF3
square
#F0F2FA #FAF0F7 #FAF8F0 #F0FAF3
split-complementary
#F0F2FA #FAF3F0 #F7FAF0
monochromatic
#94A2DB #C2CAEB #E8EBF7 #E8EBF7 #E8EBF7

Accessibility & contrast

On white

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

On black

18.79
#F0F2FA on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F0F2FA
18.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F0F2FA#FFFFFF#000000##000000
##F0F2FA1.001.1218.7918.79
#FFFFFF1.121.0021.0021.00
#00000018.7921.001.001.00
##00000018.7921.001.001.00

Color blindness preview

Protanopia (red-blind)
#F0F3FA
Deuteranopia (green-blind)
#EFF2FA
Tritanopia (blue-blind)
#EEF3F4
Achromatopsia (no color)
#F2F2F2

Design tokens & code

CSS
--color: #f0f2fa;
/* rgb */ color: rgb(240, 242, 250);
/* oklch */ color: oklch(96.2% 0.011 274.9);
Tailwind
colors: {
  custom: {
    50: '#f5f6fc',
    500: '#f0f2fa',
    950: '#000000',
  },
}
SCSS
$custom: #f0f2fa;
$custom-light: #f5f6fc;
$custom-dark: #000000;
JSON
{
  "hex": "#f0f2fa",
  "rgb": {
    "r": 240,
    "g": 242,
    "b": 250
  },
  "hsl": {
    "h": 228,
    "s": 50,
    "l": 96.078
  },
  "oklch": {
    "l": 0.96193,
    "c": 0.0109,
    "h": 274.9
  },
  "luminance": 0.88932
}

Semantic roles & 50–950 ramp

primary
#F0F2FA
secondary
#DBD3B4
accent
#A028BD
background
#FFFFFF
surface
#FEFEFF
border
#D6D6D7
text
#171717
muted
#858585

Preview Lab

Preview with #F0F2FA

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

Preview Lab → · Contrast checker → · Palette generator →

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