#211D96#211D96

#211D96 is a dark, vivid blue. Relative luminance 0.034; OKLCH L 34.3% C 0.186 H 272.2°. Best body text is #FFFFFF at 12.49:1 contrast (WCAG AA passes).

Color values

HEX#211D96
RGBrgb(33, 29, 150)
HSLhsl(242, 68%, 35%)
HSVhsv(242, 81%, 59%)
CMYKcmyk(78%, 80.7%, 0%, 41.2%)
CIE-LABlab(21.59, 43.16, -64.10)
CIE-LCHlch(21.59, 77.28, 303.96°)
OKLaboklab(34.28% 0.0071 -0.1855)
OKLCHoklch(34.28% 0.186 272.2)
XYZxyz(6.5697, 3.4034, 29.1589)
Luminance0.0340 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#211D96 #92961D
analogous
#1D5696 #211D96 #5D1D96
triadic
#211D96 #96211D #1D9621
tetradic
#211D96 #961D56 #92961D #1D965D
square
#211D96 #961D56 #92961D #1D965D
split-complementary
#211D96 #965D1D #56961D
monochromatic
#0A092F #161363 #211D96 #2C27C9 #5550DD

Accessibility & contrast

On white

12.49
#211D96 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.68
#211D96 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #211D96
12.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##211D96#FFFFFF#000000##FFFFFF
##211D961.0012.491.6812.49
#FFFFFF12.491.0021.001.00
#0000001.6821.001.0021.00
##FFFFFF12.491.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003A99
Deuteranopia (green-blind)
#002E94
Tritanopia (blue-blind)
#00425A
Achromatopsia (no color)
#343434

Design tokens & code

CSS
--color: #211d96;
/* rgb */ color: rgb(33, 29, 150);
/* oklch */ color: oklch(34.3% 0.186 272.2);
Tailwind
colors: {
  custom: {
    50: '#725cb6',
    500: '#211d96',
    950: '#000000',
  },
}
SCSS
$custom: #211d96;
$custom-light: #725cb6;
$custom-dark: #000000;
JSON
{
  "hex": "#211d96",
  "rgb": {
    "r": 33,
    "g": 29,
    "b": 150
  },
  "hsl": {
    "h": 241.983,
    "s": 67.598,
    "l": 35.098
  },
  "oklch": {
    "l": 0.34285,
    "c": 0.18566,
    "h": 272.2
  },
  "luminance": 0.03404
}

Semantic roles & 50–950 ramp

primary
#211D96
secondary
#BCC04F
accent
#EA3DE5
background
#F7F5FB
surface
#EEE9F6
border
#C9C5D0
text
#090411
muted
#7B7980

Preview Lab

Preview with #211D96

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

Preview Lab → · Contrast checker → · Palette generator →

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