#211D8B#211D8B

#211D8B is a dark, vivid blue. Relative luminance 0.031; OKLCH L 33.0% C 0.172 H 273.2°. Best body text is #FFFFFF at 13.02:1 contrast (WCAG AA passes).

Color values

HEX#211D8B
RGBrgb(33, 29, 139)
HSLhsl(242, 65%, 33%)
HSVhsv(242, 79%, 55%)
CMYKcmyk(76.3%, 79.1%, 0%, 45.5%)
CIE-LABlab(20.30, 39.51, -59.40)
CIE-LCHlch(20.30, 71.34, 303.63°)
OKLaboklab(33.01% 0.0096 -0.1719)
OKLCHoklch(33.01% 0.172 273.2)
XYZxyz(5.7252, 3.0655, 24.7111)
Luminance0.0307 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#211D8B #878B1D
analogous
#1D508B #211D8B #581D8B
triadic
#211D8B #8B211D #1D8B21
tetradic
#211D8B #8B1D50 #878B1D #1D8B58
square
#211D8B #8B1D50 #878B1D #1D8B58
split-complementary
#211D8B #8B581D #508B1D
monochromatic
#090826 #151258 #211D8B #2D28BE #4F49D9

Accessibility & contrast

On white

13.02
#211D8B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.61
#211D8B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #211D8B
13.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##211D8B#FFFFFF#000000##FFFFFF
##211D8B1.0013.021.6113.02
#FFFFFF13.021.0021.001.00
#0000001.6121.001.0021.00
##FFFFFF13.021.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00368E
Deuteranopia (green-blind)
#002C89
Tritanopia (blue-blind)
#003E53
Achromatopsia (no color)
#313131

Design tokens & code

CSS
--color: #211d8b;
/* rgb */ color: rgb(33, 29, 139);
/* oklch */ color: oklch(33.0% 0.172 273.2);
Tailwind
colors: {
  custom: {
    50: '#6f5bae',
    500: '#211d8b',
    950: '#000000',
  },
}
SCSS
$custom: #211d8b;
$custom-light: #6f5bae;
$custom-dark: #000000;
JSON
{
  "hex": "#211d8b",
  "rgb": {
    "r": 33,
    "g": 29,
    "b": 139
  },
  "hsl": {
    "h": 242.182,
    "s": 65.476,
    "l": 32.941
  },
  "oklch": {
    "l": 0.33007,
    "c": 0.17215,
    "h": 273.2
  },
  "luminance": 0.03066
}

Semantic roles & 50–950 ramp

primary
#211D8B
secondary
#B7BB49
accent
#E83FE2
background
#F7F5FA
surface
#EDE9F5
border
#C8C5CF
text
#090410
muted
#7B797F

Preview Lab

Preview with #211D8B

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

Preview Lab → · Contrast checker → · Palette generator →

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