#211D8D#211D8D

#211D8D is a dark, vivid blue. Relative luminance 0.031; OKLCH L 33.2% C 0.175 H 273.0°. Best body text is #FFFFFF at 12.92:1 contrast (WCAG AA passes).

Color values

HEX#211D8D
RGBrgb(33, 29, 141)
HSLhsl(242, 66%, 33%)
HSVhsv(242, 79%, 55%)
CMYKcmyk(76.6%, 79.4%, 0%, 44.7%)
CIE-LABlab(20.54, 40.19, -60.27)
CIE-LCHlch(20.54, 72.44, 303.70°)
OKLaboklab(33.24% 0.0092 -0.1744)
OKLCHoklch(33.24% 0.175 273)
XYZxyz(5.8727, 3.1245, 25.4877)
Luminance0.0313 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#211D8D #898D1D
analogous
#1D518D #211D8D #591D8D
triadic
#211D8D #8D211D #1D8D21
tetradic
#211D8D #8D1D51 #898D1D #1D8D59
square
#211D8D #8D1D51 #898D1D #1D8D59
split-complementary
#211D8D #8D591D #518D1D
monochromatic
#090827 #15135A #211D8D #2D27C0 #504BDA

Accessibility & contrast

On white

12.92
#211D8D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #211D8D
12.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##211D8D#FFFFFF#000000##FFFFFF
##211D8D1.0012.921.6312.92
#FFFFFF12.921.0021.001.00
#0000001.6321.001.0021.00
##FFFFFF12.921.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003790
Deuteranopia (green-blind)
#002C8B
Tritanopia (blue-blind)
#003F54
Achromatopsia (no color)
#313131

Design tokens & code

CSS
--color: #211d8d;
/* rgb */ color: rgb(33, 29, 141);
/* oklch */ color: oklch(33.2% 0.175 273.0);
Tailwind
colors: {
  custom: {
    50: '#705bb0',
    500: '#211d8d',
    950: '#000000',
  },
}
SCSS
$custom: #211d8d;
$custom-light: #705bb0;
$custom-dark: #000000;
JSON
{
  "hex": "#211d8d",
  "rgb": {
    "r": 33,
    "g": 29,
    "b": 141
  },
  "hsl": {
    "h": 242.143,
    "s": 65.882,
    "l": 33.333
  },
  "oklch": {
    "l": 0.33237,
    "c": 0.17463,
    "h": 273
  },
  "luminance": 0.03125
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #211D8D

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

Preview Lab → · Contrast checker → · Palette generator →

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