#211DB4#211DB4

#211DB4 is a dark, highly saturated blue. Relative luminance 0.045; OKLCH L 37.9% C 0.221 H 270.1°. Best body text is #FFFFFF at 11.06:1 contrast (WCAG AA passes).

Color values

HEX#211DB4
RGBrgb(33, 29, 180)
HSLhsl(242, 72%, 41%)
HSVhsv(242, 84%, 71%)
CMYKcmyk(81.7%, 83.9%, 0%, 29.4%)
CIE-LABlab(25.25, 52.62, -76.24)
CIE-LCHlch(25.25, 92.64, 304.61°)
OKLaboklab(37.87% 0.0003 -0.2206)
OKLCHoklch(37.87% 0.221 270.1)
XYZxyz(9.3020, 4.4963, 43.5488)
Luminance0.0450 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#211DB4 #B0B41D
analogous
#1D65B4 #211DB4 #6C1DB4
triadic
#211DB4 #B4211D #1DB421
tetradic
#211DB4 #B41D65 #B0B41D #1DB46C
square
#211DB4 #B41D65 #B0B41D #1DB46C
split-complementary
#211DB4 #B46C1D #65B41D
monochromatic
#0E0C4B #17157F #211DB4 #3530DE #6965E6

Accessibility & contrast

On white

11.06
#211DB4 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.90
#211DB4 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #211DB4
11.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##211DB4#FFFFFF#000000##FFFFFF
##211DB41.0011.061.9011.06
#FFFFFF11.061.0021.001.00
#0000001.9021.001.0021.00
##FFFFFF11.061.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0043B8
Deuteranopia (green-blind)
#0034B2
Tritanopia (blue-blind)
#004F6B
Achromatopsia (no color)
#3C3C3C

Design tokens & code

CSS
--color: #211db4;
/* rgb */ color: rgb(33, 29, 180);
/* oklch */ color: oklch(37.9% 0.221 270.1);
Tailwind
colors: {
  custom: {
    50: '#7a5ecc',
    500: '#211db4',
    950: '#000000',
  },
}
SCSS
$custom: #211db4;
$custom-light: #7a5ecc;
$custom-dark: #000000;
JSON
{
  "hex": "#211db4",
  "rgb": {
    "r": 33,
    "g": 29,
    "b": 180
  },
  "hsl": {
    "h": 241.589,
    "s": 72.249,
    "l": 40.98
  },
  "oklch": {
    "l": 0.37873,
    "c": 0.22065,
    "h": 270.1
  },
  "luminance": 0.04497
}

Semantic roles & 50–950 ramp

primary
#211DB4
secondary
#C8CB61
accent
#EF39EA
background
#F8F5FC
surface
#EFE9F9
border
#CAC5D2
text
#0B0514
muted
#7C7982

Preview Lab

Preview with #211DB4

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

Preview Lab → · Contrast checker → · Palette generator →

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