#ECEDF2#ECEDF2

#ECEDF2 is a very light, near-neutral blue. Relative luminance 0.848; OKLCH L 94.7% C 0.007 H 277.1°. Best body text is #000000 at 17.96:1 contrast (WCAG AA passes).

Color values

HEX#ECEDF2
RGBrgb(236, 237, 242)
HSLhsl(230, 19%, 94%)
HSVhsv(230, 2%, 95%)
CMYKcmyk(2.5%, 2.1%, 0%, 5.1%)
CIE-LABlab(93.80, 0.57, -2.53)
CIE-LCHlch(93.80, 2.59, 282.60°)
OKLaboklab(94.68% 0.0008 -0.0067)
OKLCHoklch(94.68% 0.007 277.1)
XYZxyz(80.9004, 84.8119, 96.0955)
Luminance0.8481 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#ECEDF2 #F2F1EC
analogous
#ECF0F2 #ECEDF2 #EEECF2
triadic
#ECEDF2 #F2ECED #EDF2EC
tetradic
#ECEDF2 #F2ECF0 #F2F1EC #ECF2EE
square
#ECEDF2 #F2ECF0 #F2F1EC #ECF2EE
split-complementary
#ECEDF2 #F2EEEC #F0F2EC
monochromatic
#A3A8C0 #C8CBD9 #ECEDF2 #EDEEF3 #EDEEF3

Accessibility & contrast

On white

1.17
#ECEDF2 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

17.96
#ECEDF2 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #ECEDF2
17.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##ECEDF2#FFFFFF#000000##000000
##ECEDF21.001.1717.9617.96
#FFFFFF1.171.0021.0021.00
#00000017.9621.001.001.00
##00000017.9621.001.001.00

Color blindness preview

Protanopia (red-blind)
#ECEDF2
Deuteranopia (green-blind)
#EBEDF2
Tritanopia (blue-blind)
#EBEEEF
Achromatopsia (no color)
#EDEDED

Design tokens & code

CSS
--color: #ecedf2;
/* rgb */ color: rgb(236, 237, 242);
/* oklch */ color: oklch(94.7% 0.007 277.1);
Tailwind
colors: {
  custom: {
    50: '#f2f2f6',
    500: '#ecedf2',
    950: '#000000',
  },
}
SCSS
$custom: #ecedf2;
$custom-light: #f2f2f6;
$custom-dark: #000000;
JSON
{
  "hex": "#ecedf2",
  "rgb": {
    "r": 236,
    "g": 237,
    "b": 242
  },
  "hsl": {
    "h": 230,
    "s": 18.75,
    "l": 93.725
  },
  "oklch": {
    "l": 0.94677,
    "c": 0.00678,
    "h": 277.1
  },
  "luminance": 0.84812
}

Semantic roles & 50–950 ramp

primary
#ECEDF2
secondary
#C9C7B9
accent
#8F489D
background
#FFFFFF
surface
#FEFEFE
border
#D6D6D6
text
#161717
muted
#858585

Preview Lab

Preview with #ECEDF2

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

Preview Lab → · Contrast checker → · Palette generator →

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