#211DB1#211DB1

#211DB1 is a dark, highly saturated blue. Relative luminance 0.044; OKLCH L 37.5% C 0.217 H 270.3°. Best body text is #FFFFFF at 11.20:1 contrast (WCAG AA passes).

Color values

HEX#211DB1
RGBrgb(33, 29, 177)
HSLhsl(242, 72%, 40%)
HSVhsv(242, 84%, 69%)
CMYKcmyk(81.4%, 83.6%, 0%, 30.6%)
CIE-LABlab(24.88, 51.71, -75.06)
CIE-LCHlch(24.88, 91.15, 304.56°)
OKLaboklab(37.51% 0.001 -0.2173)
OKLCHoklch(37.51% 0.217 270.3)
XYZxyz(8.9997, 4.3753, 41.9567)
Luminance0.0438 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#211DB1 #ADB11D
analogous
#1D63B1 #211DB1 #6B1DB1
triadic
#211DB1 #B1211D #1DB121
tetradic
#211DB1 #B11D63 #ADB11D #1DB16B
square
#211DB1 #B11D63 #ADB11D #1DB16B
split-complementary
#211DB1 #B16B1D #63B11D
monochromatic
#0D0C48 #17147C #211DB1 #332EDD #6663E5

Accessibility & contrast

On white

11.20
#211DB1 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.88
#211DB1 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #211DB1
11.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##211DB1#FFFFFF#000000##FFFFFF
##211DB11.0011.201.8811.20
#FFFFFF11.201.0021.001.00
#0000001.8821.001.0021.00
##FFFFFF11.201.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0042B5
Deuteranopia (green-blind)
#0033AF
Tritanopia (blue-blind)
#004D69
Achromatopsia (no color)
#3B3B3B

Design tokens & code

CSS
--color: #211db1;
/* rgb */ color: rgb(33, 29, 177);
/* oklch */ color: oklch(37.5% 0.217 270.3);
Tailwind
colors: {
  custom: {
    50: '#795eca',
    500: '#211db1',
    950: '#000000',
  },
}
SCSS
$custom: #211db1;
$custom-light: #795eca;
$custom-dark: #000000;
JSON
{
  "hex": "#211db1",
  "rgb": {
    "r": 33,
    "g": 29,
    "b": 177
  },
  "hsl": {
    "h": 241.622,
    "s": 71.845,
    "l": 40.392
  },
  "oklch": {
    "l": 0.3751,
    "c": 0.21726,
    "h": 270.3
  },
  "luminance": 0.04376
}

Semantic roles & 50–950 ramp

primary
#211DB1
secondary
#C7CA60
accent
#EF39EA
background
#F8F5FC
surface
#EFE9F9
border
#CAC5D2
text
#0B0513
muted
#7C7982

Preview Lab

Preview with #211DB1

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

Preview Lab → · Contrast checker → · Palette generator →

#211DB1 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva