#F0F0F4#F0F0F4

#F0F0F4 is a very light, near-neutral blue. Relative luminance 0.874; OKLCH L 95.6% C 0.005 H 286.3°. Best body text is #000000 at 18.48:1 contrast (WCAG AA passes).

Color values

HEX#F0F0F4
RGBrgb(240, 240, 244)
HSLhsl(240, 15%, 95%)
HSVhsv(240, 2%, 96%)
CMYKcmyk(1.6%, 1.6%, 0%, 4.3%)
CIE-LABlab(94.90, 0.71, -1.92)
CIE-LCHlch(94.90, 2.05, 290.34°)
OKLaboklab(95.63% 0.0015 -0.0051)
OKLCHoklch(95.63% 0.005 286.3)
XYZxyz(83.4216, 87.3770, 98.0410)
Luminance0.8738 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F0F0F4 #F4F4F0
analogous
#F0F2F4 #F0F0F4 #F2F0F4
triadic
#F0F0F4 #F4F0F0 #F0F4F0
tetradic
#F0F0F4 #F4F0F2 #F4F4F0 #F0F4F2
square
#F0F0F4 #F4F0F2 #F4F4F0 #F0F4F2
split-complementary
#F0F0F4 #F4F2F0 #F2F4F0
monochromatic
#A9A9C0 #CDCDDA #EDEDF2 #EDEDF2 #EDEDF2

Accessibility & contrast

On white

1.14
#F0F0F4 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

18.48
#F0F0F4 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F0F0F4
18.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F0F0F4#FFFFFF#000000##000000
##F0F0F41.001.1418.4818.48
#FFFFFF1.141.0021.0021.00
#00000018.4821.001.001.00
##00000018.4821.001.001.00

Color blindness preview

Protanopia (red-blind)
#EFF0F4
Deuteranopia (green-blind)
#EFF0F4
Tritanopia (blue-blind)
#EFF1F1
Achromatopsia (no color)
#F0F0F0

Design tokens & code

CSS
--color: #f0f0f4;
/* rgb */ color: rgb(240, 240, 244);
/* oklch */ color: oklch(95.6% 0.005 286.3);
Tailwind
colors: {
  custom: {
    50: '#f4f4f7',
    500: '#f0f0f4',
    950: '#000000',
  },
}
SCSS
$custom: #f0f0f4;
$custom-light: #f4f4f7;
$custom-dark: #000000;
JSON
{
  "hex": "#f0f0f4",
  "rgb": {
    "r": 240,
    "g": 240,
    "b": 244
  },
  "hsl": {
    "h": 240,
    "s": 15.385,
    "l": 94.902
  },
  "oklch": {
    "l": 0.95628,
    "c": 0.00532,
    "h": 286.3
  },
  "luminance": 0.87377
}

Semantic roles & 50–950 ramp

primary
#F0F0F4
secondary
#CACABE
accent
#9A4C9A
background
#FFFFFF
surface
#FEFEFE
border
#D6D6D6
text
#171717
muted
#858585

Preview Lab

Preview with #F0F0F4

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

Preview Lab → · Contrast checker → · Palette generator →

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