#211D9F#211D9F

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

Color values

HEX#211D9F
RGBrgb(33, 29, 159)
HSLhsl(242, 69%, 37%)
HSVhsv(242, 82%, 62%)
CMYKcmyk(79.2%, 81.8%, 0%, 37.6%)
CIE-LABlab(22.67, 46.08, -67.84)
CIE-LCHlch(22.67, 82.01, 304.18°)
OKLaboklab(35.35% 0.0051 -0.1963)
OKLCHoklch(35.35% 0.196 271.5)
XYZxyz(7.3225, 3.7045, 33.1233)
Luminance0.0370 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#211D9F #9B9F1D
analogous
#1D5A9F #211D9F #621D9F
triadic
#211D9F #9F211D #1D9F21
tetradic
#211D9F #9F1D5A #9B9F1D #1D9F62
square
#211D9F #9F1D5A #9B9F1D #1D9F62
split-complementary
#211D9F #9F621D #5A9F1D
monochromatic
#0C0A37 #16146B #211D9F #2C26D3 #5A56E0

Accessibility & contrast

On white

12.06
#211D9F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.74
#211D9F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #211D9F
12.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##211D9F#FFFFFF#000000##FFFFFF
##211D9F1.0012.061.7412.06
#FFFFFF12.061.0021.001.00
#0000001.7421.001.0021.00
##FFFFFF12.061.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003CA3
Deuteranopia (green-blind)
#002F9D
Tritanopia (blue-blind)
#00465F
Achromatopsia (no color)
#363636

Design tokens & code

CSS
--color: #211d9f;
/* rgb */ color: rgb(33, 29, 159);
/* oklch */ color: oklch(35.3% 0.196 271.5);
Tailwind
colors: {
  custom: {
    50: '#755dbd',
    500: '#211d9f',
    950: '#000000',
  },
}
SCSS
$custom: #211d9f;
$custom-light: #755dbd;
$custom-dark: #000000;
JSON
{
  "hex": "#211d9f",
  "rgb": {
    "r": 33,
    "g": 29,
    "b": 159
  },
  "hsl": {
    "h": 241.846,
    "s": 69.149,
    "l": 36.863
  },
  "oklch": {
    "l": 0.35348,
    "c": 0.19641,
    "h": 271.5
  },
  "luminance": 0.03705
}

Semantic roles & 50–950 ramp

primary
#211D9F
secondary
#C0C454
accent
#EC3CE7
background
#F7F5FB
surface
#EEE9F7
border
#C9C5D0
text
#0A0412
muted
#7C7981

Preview Lab

Preview with #211D9F

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

Preview Lab → · Contrast checker → · Palette generator →

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