#211D9C#211D9C

#211D9C is a dark, vivid blue. Relative luminance 0.036; OKLCH L 35.0% C 0.193 H 271.7°. Best body text is #FFFFFF at 12.21:1 contrast (WCAG AA passes).

Color values

HEX#211D9C
RGBrgb(33, 29, 156)
HSLhsl(242, 69%, 36%)
HSVhsv(242, 81%, 61%)
CMYKcmyk(78.8%, 81.4%, 0%, 38.8%)
CIE-LABlab(22.31, 45.11, -66.60)
CIE-LCHlch(22.31, 80.44, 304.11°)
OKLaboklab(34.99% 0.0057 -0.1928)
OKLCHoklch(34.99% 0.193 271.7)
XYZxyz(7.0653, 3.6016, 31.7689)
Luminance0.0360 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#211D9C #989C1D
analogous
#1D599C #211D9C #611D9C
triadic
#211D9C #9C211D #1D9C21
tetradic
#211D9C #9C1D59 #989C1D #1D9C61
square
#211D9C #9C1D59 #989C1D #1D9C61
split-complementary
#211D9C #9C611D #599C1D
monochromatic
#0B0A35 #161368 #211D9C #2C27D0 #5954DF

Accessibility & contrast

On white

12.21
#211D9C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.72
#211D9C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #211D9C
12.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##211D9C#FFFFFF#000000##FFFFFF
##211D9C1.0012.211.7212.21
#FFFFFF12.211.0021.001.00
#0000001.7221.001.0021.00
##FFFFFF12.211.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003B9F
Deuteranopia (green-blind)
#002F9A
Tritanopia (blue-blind)
#00455D
Achromatopsia (no color)
#353535

Design tokens & code

CSS
--color: #211d9c;
/* rgb */ color: rgb(33, 29, 156);
/* oklch */ color: oklch(35.0% 0.193 271.7);
Tailwind
colors: {
  custom: {
    50: '#745cbb',
    500: '#211d9c',
    950: '#000000',
  },
}
SCSS
$custom: #211d9c;
$custom-light: #745cbb;
$custom-dark: #000000;
JSON
{
  "hex": "#211d9c",
  "rgb": {
    "r": 33,
    "g": 29,
    "b": 156
  },
  "hsl": {
    "h": 241.89,
    "s": 68.649,
    "l": 36.275
  },
  "oklch": {
    "l": 0.34992,
    "c": 0.19286,
    "h": 271.7
  },
  "luminance": 0.03602
}

Semantic roles & 50–950 ramp

primary
#211D9C
secondary
#BFC252
accent
#EB3CE6
background
#F7F5FB
surface
#EEE9F6
border
#C9C5D0
text
#0A0412
muted
#7C7981

Preview Lab

Preview with #211D9C

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

Preview Lab → · Contrast checker → · Palette generator →

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