#211D8E#211D8E

#211D8E is a dark, vivid blue. Relative luminance 0.032; OKLCH L 33.4% C 0.176 H 272.9°. Best body text is #FFFFFF at 12.88:1 contrast (WCAG AA passes).

Color values

HEX#211D8E
RGBrgb(33, 29, 142)
HSLhsl(242, 66%, 34%)
HSVhsv(242, 80%, 56%)
CMYKcmyk(76.8%, 79.6%, 0%, 44.3%)
CIE-LABlab(20.65, 40.52, -60.70)
CIE-LCHlch(20.65, 72.98, 303.73°)
OKLaboklab(33.35% 0.0089 -0.1756)
OKLCHoklch(33.35% 0.176 272.9)
XYZxyz(5.9474, 3.1544, 25.8814)
Luminance0.0316 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#211D8E #8A8E1D
analogous
#1D518E #211D8E #591D8E
triadic
#211D8E #8E211D #1D8E21
tetradic
#211D8E #8E1D51 #8A8E1D #1D8E59
square
#211D8E #8E1D51 #8A8E1D #1D8E59
split-complementary
#211D8E #8E591D #518E1D
monochromatic
#090828 #15135B #211D8E #2D27C1 #504BDA

Accessibility & contrast

On white

12.88
#211D8E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.63
#211D8E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #211D8E
12.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##211D8E#FFFFFF#000000##FFFFFF
##211D8E1.0012.881.6312.88
#FFFFFF12.881.0021.001.00
#0000001.6321.001.0021.00
##FFFFFF12.881.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003791
Deuteranopia (green-blind)
#002C8C
Tritanopia (blue-blind)
#003F55
Achromatopsia (no color)
#323232

Design tokens & code

CSS
--color: #211d8e;
/* rgb */ color: rgb(33, 29, 142);
/* oklch */ color: oklch(33.4% 0.176 272.9);
Tailwind
colors: {
  custom: {
    50: '#705bb0',
    500: '#211d8e',
    950: '#000000',
  },
}
SCSS
$custom: #211d8e;
$custom-light: #705bb0;
$custom-dark: #000000;
JSON
{
  "hex": "#211d8e",
  "rgb": {
    "r": 33,
    "g": 29,
    "b": 142
  },
  "hsl": {
    "h": 242.124,
    "s": 66.082,
    "l": 33.529
  },
  "oklch": {
    "l": 0.33353,
    "c": 0.17587,
    "h": 272.9
  },
  "luminance": 0.03155
}

Semantic roles & 50–950 ramp

primary
#211D8E
secondary
#B9BD4A
accent
#E93FE3
background
#F7F5FB
surface
#EDE9F6
border
#C8C5D0
text
#090411
muted
#7B7980

Preview Lab

Preview with #211D8E

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

Preview Lab → · Contrast checker → · Palette generator →

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