#ECEBF8#ECEBF8

#ECEBF8 is a very light, near-neutral blue. Relative luminance 0.840; OKLCH L 94.5% C 0.017 H 289.6°. Best body text is #000000 at 17.81:1 contrast (WCAG AA passes).

Color values

HEX#ECEBF8
RGBrgb(236, 235, 248)
HSLhsl(245, 48%, 95%)
HSVhsv(245, 5%, 97%)
CMYKcmyk(4.8%, 5.2%, 0%, 2.7%)
CIE-LABlab(93.46, 2.69, -6.15)
CIE-LCHlch(93.46, 6.71, 293.66°)
OKLaboklab(94.46% 0.0058 -0.0164)
OKLCHoklch(94.46% 0.017 289.6)
XYZxyz(81.2406, 84.0266, 100.7275)
Luminance0.8403 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#ECEBF8 #F7F8EB
analogous
#EBF1F8 #ECEBF8 #F3EBF8
triadic
#ECEBF8 #F8ECEB #EBF8EC
tetradic
#ECEBF8 #F8EBF1 #F7F8EB #EBF8F3
square
#ECEBF8 #F8EBF1 #F7F8EB #EBF8F3
split-complementary
#ECEBF8 #F8F3EB #F1F8EB
monochromatic
#9690D8 #C1BEE8 #E9E8F7 #E9E8F7 #E9E8F7

Accessibility & contrast

On white

1.18
#ECEBF8 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

17.81
#ECEBF8 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #ECEBF8
17.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##ECEBF8#FFFFFF#000000##000000
##ECEBF81.001.1817.8117.81
#FFFFFF1.181.0021.0021.00
#00000017.8121.001.001.00
##00000017.8121.001.001.00

Color blindness preview

Protanopia (red-blind)
#E8ECF9
Deuteranopia (green-blind)
#E8ECF8
Tritanopia (blue-blind)
#EAEDEF
Achromatopsia (no color)
#ECECEC

Design tokens & code

CSS
--color: #ecebf8;
/* rgb */ color: rgb(236, 235, 248);
/* oklch */ color: oklch(94.5% 0.017 289.6);
Tailwind
colors: {
  custom: {
    50: '#f2f1fa',
    500: '#ecebf8',
    950: '#000000',
  },
}
SCSS
$custom: #ecebf8;
$custom-light: #f2f1fa;
$custom-dark: #000000;
JSON
{
  "hex": "#ecebf8",
  "rgb": {
    "r": 236,
    "g": 235,
    "b": 248
  },
  "hsl": {
    "h": 244.615,
    "s": 48.148,
    "l": 94.706
  },
  "oklch": {
    "l": 0.94463,
    "c": 0.01742,
    "h": 289.6
  },
  "luminance": 0.84027
}

Semantic roles & 50–950 ramp

primary
#ECEBF8
secondary
#D5D8B0
accent
#BB2AB0
background
#FFFFFF
surface
#FEFEFF
border
#D6D6D7
text
#161617
muted
#858585

Preview Lab

Preview with #ECEBF8

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

Preview Lab → · Contrast checker → · Palette generator →

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