#211C9D#211C9D

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

Color values

HEX#211C9D
RGBrgb(33, 28, 157)
HSLhsl(242, 70%, 36%)
HSVhsv(242, 82%, 62%)
CMYKcmyk(79%, 82.2%, 0%, 38.4%)
CIE-LABlab(22.26, 45.93, -67.30)
CIE-LCHlch(22.26, 81.48, 304.31°)
OKLaboklab(34.99% 0.0058 -0.1948)
OKLCHoklch(34.99% 0.195 271.7)
XYZxyz(7.1262, 3.5874, 32.2086)
Luminance0.0359 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#211C9D #989D1C
analogous
#1C589D #211C9D #621C9D
triadic
#211C9D #9D211C #1C9D21
tetradic
#211C9D #9D1C58 #989D1C #1C9D62
square
#211C9D #9D1C58 #989D1C #1C9D62
split-complementary
#211C9D #9D621C #589D1C
monochromatic
#0B0935 #161369 #211C9D #2C25D1 #5953E0

Accessibility & contrast

On white

12.23
#211C9D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #211C9D
12.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##211C9D#FFFFFF#000000##FFFFFF
##211C9D1.0012.231.7212.23
#FFFFFF12.231.0021.001.00
#0000001.7221.001.0021.00
##FFFFFF12.231.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #211c9d;
/* rgb */ color: rgb(33, 28, 157);
/* oklch */ color: oklch(35.0% 0.195 271.7);
Tailwind
colors: {
  custom: {
    50: '#745cbb',
    500: '#211c9d',
    950: '#000000',
  },
}
SCSS
$custom: #211c9d;
$custom-light: #745cbb;
$custom-dark: #000000;
JSON
{
  "hex": "#211c9d",
  "rgb": {
    "r": 33,
    "g": 28,
    "b": 157
  },
  "hsl": {
    "h": 242.326,
    "s": 69.73,
    "l": 36.275
  },
  "oklch": {
    "l": 0.34992,
    "c": 0.19486,
    "h": 271.7
  },
  "luminance": 0.03588
}

Semantic roles & 50–950 ramp

primary
#211C9D
secondary
#BFC351
accent
#ED3BE6
background
#F7F5FB
surface
#EEE9F6
border
#C9C5D0
text
#0A0412
muted
#7C7981

Preview Lab

Preview with #211C9D

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

Preview Lab → · Contrast checker → · Palette generator →

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