#F0F2FF#F0F2FF

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

Color values

HEX#F0F2FF
RGBrgb(240, 242, 255)
HSLhsl(232, 100%, 97%)
HSVhsv(232, 6%, 100%)
CMYKcmyk(5.9%, 5.1%, 0%, 0%)
CIE-LABlab(95.68, 1.71, -6.47)
CIE-LCHlch(95.68, 6.69, 284.79°)
OKLaboklab(96.34% 0.0028 -0.0173)
OKLCHoklch(96.34% 0.018 279.1)
XYZxyz(85.7339, 89.2491, 107.2984)
Luminance0.8925 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F0F2FF #FFFDF0
analogous
#F0FAFF #F0F2FF #F6F0FF
triadic
#F0F2FF #FFF0F2 #F2FFF0
tetradic
#F0F2FF #FFF0FA #FFFDF0 #F0FFF6
square
#F0F2FF #FFF0FA #FFFDF0 #F0FFF6
split-complementary
#F0F2FF #FFF6F0 #FAFFF0
monochromatic
#7688FF #B3BDFF #E0E4FF #E0E4FF #E0E4FF

Accessibility & contrast

On white

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

On black

18.85
#F0F2FF on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F0F2FF
18.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F0F2FF#FFFFFF#000000##000000
##F0F2FF1.001.1118.8518.85
#FFFFFF1.111.0021.0021.00
#00000018.8521.001.001.00
##00000018.8521.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #f0f2ff;
/* rgb */ color: rgb(240, 242, 255);
/* oklch */ color: oklch(96.3% 0.018 279.1);
Tailwind
colors: {
  custom: {
    50: '#f5f6ff',
    500: '#f0f2ff',
    950: '#000000',
  },
}
SCSS
$custom: #f0f2ff;
$custom-light: #f5f6ff;
$custom-dark: #000000;
JSON
{
  "hex": "#f0f2ff",
  "rgb": {
    "r": 240,
    "g": 242,
    "b": 255
  },
  "hsl": {
    "h": 232,
    "s": 100,
    "l": 97.059
  },
  "oklch": {
    "l": 0.96341,
    "c": 0.0175,
    "h": 279.1
  },
  "luminance": 0.8925
}

Semantic roles & 50–950 ramp

primary
#F0F2FF
secondary
#EFE5A4
accent
#C700E6
background
#FFFFFF
surface
#FEFEFF
border
#D6D6D7
text
#171718
muted
#858586

Preview Lab

Preview with #F0F2FF

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

Preview Lab → · Contrast checker → · Palette generator →

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