#211D9E#211D9E

#211D9E is a dark, vivid blue. Relative luminance 0.037; OKLCH L 35.2% C 0.195 H 271.5°. Best body text is #FFFFFF at 12.11:1 contrast (WCAG AA passes).

Color values

HEX#211D9E
RGBrgb(33, 29, 158)
HSLhsl(242, 69%, 37%)
HSVhsv(242, 82%, 62%)
CMYKcmyk(79.1%, 81.6%, 0%, 38%)
CIE-LABlab(22.55, 45.75, -67.43)
CIE-LCHlch(22.55, 81.49, 304.16°)
OKLaboklab(35.23% 0.0053 -0.1952)
OKLCHoklch(35.23% 0.195 271.5)
XYZxyz(7.2360, 3.6699, 32.6681)
Luminance0.0367 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#211D9E #9A9E1D
analogous
#1D5A9E #211D9E #611D9E
triadic
#211D9E #9E211D #1D9E21
tetradic
#211D9E #9E1D5A #9A9E1D #1D9E61
square
#211D9E #9E1D5A #9A9E1D #1D9E61
split-complementary
#211D9E #9E611D #5A9E1D
monochromatic
#0B0A37 #16146A #211D9E #2C26D2 #5A56E0

Accessibility & contrast

On white

12.11
#211D9E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.73
#211D9E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #211D9E
12.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##211D9E#FFFFFF#000000##FFFFFF
##211D9E1.0012.111.7312.11
#FFFFFF12.111.0021.001.00
#0000001.7321.001.0021.00
##FFFFFF12.111.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003CA2
Deuteranopia (green-blind)
#002F9C
Tritanopia (blue-blind)
#00465E
Achromatopsia (no color)
#363636

Design tokens & code

CSS
--color: #211d9e;
/* rgb */ color: rgb(33, 29, 158);
/* oklch */ color: oklch(35.2% 0.195 271.5);
Tailwind
colors: {
  custom: {
    50: '#745dbc',
    500: '#211d9e',
    950: '#000000',
  },
}
SCSS
$custom: #211d9e;
$custom-light: #745dbc;
$custom-dark: #000000;
JSON
{
  "hex": "#211d9e",
  "rgb": {
    "r": 33,
    "g": 29,
    "b": 158
  },
  "hsl": {
    "h": 241.86,
    "s": 68.984,
    "l": 36.667
  },
  "oklch": {
    "l": 0.35229,
    "c": 0.19523,
    "h": 271.5
  },
  "luminance": 0.03671
}

Semantic roles & 50–950 ramp

primary
#211D9E
secondary
#C0C354
accent
#EC3CE6
background
#F7F5FB
surface
#EEE9F7
border
#C9C5D0
text
#0A0412
muted
#7C7981

Preview Lab

Preview with #211D9E

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

Preview Lab → · Contrast checker → · Palette generator →

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