#F0F0FE#F0F0FE

#F0F0FE is a very light, near-neutral blue. Relative luminance 0.880; OKLCH L 95.9% C 0.019 H 286.0°. Best body text is #000000 at 18.60:1 contrast (WCAG AA passes).

Color values

HEX#F0F0FE
RGBrgb(240, 240, 254)
HSLhsl(240, 88%, 97%)
HSVhsv(240, 6%, 100%)
CMYKcmyk(5.5%, 5.5%, 0%, 0.4%)
CIE-LABlab(95.16, 2.54, -6.72)
CIE-LCHlch(95.16, 7.19, 290.73°)
OKLaboklab(95.92% 0.0052 -0.018)
OKLCHoklch(95.92% 0.019 286)
XYZxyz(84.9813, 88.0009, 106.2555)
Luminance0.8800 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F0F0FE #FEFEF0
analogous
#F0F7FE #F0F0FE #F7F0FE
triadic
#F0F0FE #FEF0F0 #F0FEF0
tetradic
#F0F0FE #FEF0F7 #FEFEF0 #F0FEF7
square
#F0F0FE #FEF0F7 #FEFEF0 #F0FEF7
split-complementary
#F0F0FE #FEF7F0 #F7FEF0
monochromatic
#7D7DF6 #B7B7FA #E2E2FD #E2E2FD #E2E2FD

Accessibility & contrast

On white

1.13
#F0F0FE on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

18.60
#F0F0FE on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F0F0FE
18.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F0F0FE#FFFFFF#000000##000000
##F0F0FE1.001.1318.6018.60
#FFFFFF1.131.0021.0021.00
#00000018.6021.001.001.00
##00000018.6021.001.001.00

Color blindness preview

Protanopia (red-blind)
#EDF1FF
Deuteranopia (green-blind)
#EDF1FE
Tritanopia (blue-blind)
#EDF2F4
Achromatopsia (no color)
#F1F1F1

Design tokens & code

CSS
--color: #f0f0fe;
/* rgb */ color: rgb(240, 240, 254);
/* oklch */ color: oklch(95.9% 0.019 286.0);
Tailwind
colors: {
  custom: {
    50: '#f5f4fe',
    500: '#f0f0fe',
    950: '#000000',
  },
}
SCSS
$custom: #f0f0fe;
$custom-light: #f5f4fe;
$custom-dark: #000000;
JSON
{
  "hex": "#f0f0fe",
  "rgb": {
    "r": 240,
    "g": 240,
    "b": 254
  },
  "hsl": {
    "h": 240,
    "s": 87.5,
    "l": 96.863
  },
  "oklch": {
    "l": 0.95921,
    "c": 0.01869,
    "h": 286
  },
  "luminance": 0.88001
}

Semantic roles & 50–950 ramp

primary
#F0F0FE
secondary
#EAEAA8
accent
#E401E4
background
#FFFFFF
surface
#FEFEFF
border
#D6D6D7
text
#171717
muted
#858585

Preview Lab

Preview with #F0F0FE

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

Preview Lab → · Contrast checker → · Palette generator →

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