#211A9D#211A9D

#211A9D is a dark, vivid blue. Relative luminance 0.035; OKLCH L 34.8% C 0.196 H 271.8°. Best body text is #FFFFFF at 12.36:1 contrast (WCAG AA passes).

Color values

HEX#211A9D
RGBrgb(33, 26, 157)
HSLhsl(243, 72%, 36%)
HSVhsv(243, 83%, 62%)
CMYKcmyk(79%, 83.4%, 0%, 38.4%)
CIE-LABlab(21.93, 46.90, -67.84)
CIE-LCHlch(21.93, 82.48, 304.65°)
OKLaboklab(34.76% 0.0063 -0.1963)
OKLCHoklch(34.76% 0.196 271.8)
XYZxyz(7.0804, 3.4957, 32.1933)
Luminance0.0350 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#211A9D #969D1A
analogous
#1A549D #211A9D #621A9D
triadic
#211A9D #9D211A #1A9D21
tetradic
#211A9D #9D1A54 #969D1A #1A9D62
square
#211A9D #9D1A54 #969D1A #1A9D62
split-complementary
#211A9D #9D621A #549D1A
monochromatic
#0B0934 #161168 #211A9D #2C23D2 #574FE2

Accessibility & contrast

On white

12.36
#211A9D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.70
#211A9D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #211A9D
12.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##211A9D#FFFFFF#000000##FFFFFF
##211A9D1.0012.361.7012.36
#FFFFFF12.361.0021.001.00
#0000001.7021.001.0021.00
##FFFFFF12.361.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003BA1
Deuteranopia (green-blind)
#002E9B
Tritanopia (blue-blind)
#00445D
Achromatopsia (no color)
#343434

Design tokens & code

CSS
--color: #211a9d;
/* rgb */ color: rgb(33, 26, 157);
/* oklch */ color: oklch(34.8% 0.196 271.8);
Tailwind
colors: {
  custom: {
    50: '#745bbb',
    500: '#211a9d',
    950: '#000000',
  },
}
SCSS
$custom: #211a9d;
$custom-light: #745bbb;
$custom-dark: #000000;
JSON
{
  "hex": "#211a9d",
  "rgb": {
    "r": 33,
    "g": 26,
    "b": 157
  },
  "hsl": {
    "h": 243.206,
    "s": 71.585,
    "l": 35.882
  },
  "oklch": {
    "l": 0.34764,
    "c": 0.19641,
    "h": 271.8
  },
  "luminance": 0.03496
}

Semantic roles & 50–950 ramp

primary
#211A9D
secondary
#BEC44E
accent
#EE39E5
background
#F7F5FB
surface
#EEE9F7
border
#C9C5D0
text
#0A0412
muted
#7C7981

Preview Lab

Preview with #211A9D

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

Preview Lab → · Contrast checker → · Palette generator →

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