#ECEDF8#ECEDF8

#ECEDF8 is a very light, near-neutral blue. Relative luminance 0.852; OKLCH L 94.9% C 0.015 H 282.0°. Best body text is #000000 at 18.04:1 contrast (WCAG AA passes).

Color values

HEX#ECEDF8
RGBrgb(236, 237, 248)
HSLhsl(235, 46%, 95%)
HSVhsv(235, 5%, 97%)
CMYKcmyk(4.8%, 4.4%, 0%, 2.7%)
CIE-LABlab(93.96, 1.67, -5.41)
CIE-LCHlch(93.96, 5.66, 287.11°)
OKLaboklab(94.85% 0.0031 -0.0144)
OKLCHoklch(94.85% 0.015 282)
XYZxyz(81.8164, 85.1783, 100.9195)
Luminance0.8518 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#ECEDF8 #F8F7EC
analogous
#ECF3F8 #ECEDF8 #F1ECF8
triadic
#ECEDF8 #F8ECED #EDF8EC
tetradic
#ECEDF8 #F8ECF3 #F8F7EC #ECF8F1
square
#ECEDF8 #F8ECF3 #F8F7EC #ECF8F1
split-complementary
#ECEDF8 #F8F1EC #F3F8EC
monochromatic
#9398D7 #BFC3E8 #E9EAF7 #E9EAF7 #E9EAF7

Accessibility & contrast

On white

1.16
#ECEDF8 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

18.04
#ECEDF8 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #ECEDF8
18.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##ECEDF8#FFFFFF#000000##000000
##ECEDF81.001.1618.0418.04
#FFFFFF1.161.0021.0021.00
#00000018.0421.001.001.00
##00000018.0421.001.001.00

Color blindness preview

Protanopia (red-blind)
#EBEEF9
Deuteranopia (green-blind)
#EAEDF8
Tritanopia (blue-blind)
#EAEFF0
Achromatopsia (no color)
#EEEEEE

Design tokens & code

CSS
--color: #ecedf8;
/* rgb */ color: rgb(236, 237, 248);
/* oklch */ color: oklch(94.9% 0.015 282.0);
Tailwind
colors: {
  custom: {
    50: '#f2f2fa',
    500: '#ecedf8',
    950: '#000000',
  },
}
SCSS
$custom: #ecedf8;
$custom-light: #f2f2fa;
$custom-dark: #000000;
JSON
{
  "hex": "#ecedf8",
  "rgb": {
    "r": 236,
    "g": 237,
    "b": 248
  },
  "hsl": {
    "h": 235,
    "s": 46.154,
    "l": 94.902
  },
  "oklch": {
    "l": 0.94853,
    "c": 0.01477,
    "h": 282
  },
  "luminance": 0.85179
}

Semantic roles & 50–950 ramp

primary
#ECEDF8
secondary
#D7D4B1
accent
#AE2CB9
background
#FFFFFF
surface
#FEFEFF
border
#D6D6D7
text
#161717
muted
#858585

Preview Lab

Preview with #ECEDF8

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

Preview Lab → · Contrast checker → · Palette generator →

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