#D1D2EF#D1D2EF

#D1D2EF is a very light, muted blue. Relative luminance 0.659; OKLCH L 87.2% C 0.040 H 284.0°. Best body text is #000000 at 14.18:1 contrast (WCAG AA passes).

Color values

HEX#D1D2EF
RGBrgb(209, 210, 239)
HSLhsl(238, 48%, 88%)
HSVhsv(238, 13%, 94%)
CMYKcmyk(12.6%, 12.1%, 0%, 6.3%)
CIE-LABlab(84.94, 5.26, -14.32)
CIE-LCHlch(84.94, 15.26, 290.18°)
OKLaboklab(87.21% 0.0096 -0.0387)
OKLCHoklch(87.21% 0.04 284)
XYZxyz(64.9177, 65.8799, 90.9406)
Luminance0.6588 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D1D2EF #EFEED1
analogous
#D1E1EF #D1D2EF #DFD1EF
triadic
#D1D2EF #EFD1D2 #D2EFD1
tetradic
#D1D2EF #EFD1E1 #EFEED1 #D1EFDF
square
#D1D2EF #EFD1E1 #EFEED1 #D1EFDF
split-complementary
#D1D2EF #EFDFD1 #E1EFD1
monochromatic
#7679CF #A4A6DF #D1D2EF #E8E9F7 #E8E9F7

Accessibility & contrast

On white

1.48
#D1D2EF on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

14.18
#D1D2EF on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D1D2EF
14.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D1D2EF#FFFFFF#000000##000000
##D1D2EF1.001.4814.1814.18
#FFFFFF1.481.0021.0021.00
#00000014.1821.001.001.00
##00000014.1821.001.001.00

Color blindness preview

Protanopia (red-blind)
#CBD5F0
Deuteranopia (green-blind)
#CAD3EE
Tritanopia (blue-blind)
#CBD7DB
Achromatopsia (no color)
#D4D4D4

Design tokens & code

CSS
--color: #d1d2ef;
/* rgb */ color: rgb(209, 210, 239);
/* oklch */ color: oklch(87.2% 0.040 284.0);
Tailwind
colors: {
  custom: {
    50: '#dfdff4',
    500: '#d1d2ef',
    950: '#000000',
  },
}
SCSS
$custom: #d1d2ef;
$custom-light: #dfdff4;
$custom-dark: #000000;
JSON
{
  "hex": "#d1d2ef",
  "rgb": {
    "r": 209,
    "g": 210,
    "b": 239
  },
  "hsl": {
    "h": 238,
    "s": 48.387,
    "l": 87.843
  },
  "oklch": {
    "l": 0.87206,
    "c": 0.03987,
    "h": 284
  },
  "luminance": 0.6588
}

Semantic roles & 50–950 ramp

primary
#D1D2EF
secondary
#CCCA98
accent
#B72ABC
background
#FEFEFF
surface
#FCFCFE
border
#D5D5D6
text
#151517
muted
#848485

Preview Lab

Preview with #D1D2EF

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

Preview Lab → · Contrast checker → · Palette generator →

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