#211C9E#211C9E

#211C9E is a dark, vivid blue. Relative luminance 0.036; OKLCH L 35.1% C 0.196 H 271.6°. Best body text is #FFFFFF at 12.18:1 contrast (WCAG AA passes).

Color values

HEX#211C9E
RGBrgb(33, 28, 158)
HSLhsl(242, 70%, 36%)
HSVhsv(242, 82%, 62%)
CMYKcmyk(79.1%, 82.3%, 0%, 38%)
CIE-LABlab(22.38, 46.25, -67.71)
CIE-LCHlch(22.38, 82.00, 304.34°)
OKLaboklab(35.11% 0.0056 -0.196)
OKLCHoklch(35.11% 0.196 271.6)
XYZxyz(7.2119, 3.6217, 32.6601)
Luminance0.0362 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#211C9E #999E1C
analogous
#1C589E #211C9E #621C9E
triadic
#211C9E #9E211C #1C9E21
tetradic
#211C9E #9E1C58 #999E1C #1C9E62
square
#211C9E #9E1C58 #999E1C #1C9E62
split-complementary
#211C9E #9E621C #589E1C
monochromatic
#0B0A36 #16136A #211C9E #2C25D2 #5954E1

Accessibility & contrast

On white

12.18
#211C9E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #211C9E
12.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##211C9E#FFFFFF#000000##FFFFFF
##211C9E1.0012.181.7212.18
#FFFFFF12.181.0021.001.00
#0000001.7221.001.0021.00
##FFFFFF12.181.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #211c9e;
/* rgb */ color: rgb(33, 28, 158);
/* oklch */ color: oklch(35.1% 0.196 271.6);
Tailwind
colors: {
  custom: {
    50: '#745cbc',
    500: '#211c9e',
    950: '#000000',
  },
}
SCSS
$custom: #211c9e;
$custom-light: #745cbc;
$custom-dark: #000000;
JSON
{
  "hex": "#211c9e",
  "rgb": {
    "r": 33,
    "g": 28,
    "b": 158
  },
  "hsl": {
    "h": 242.308,
    "s": 69.892,
    "l": 36.471
  },
  "oklch": {
    "l": 0.35111,
    "c": 0.19604,
    "h": 271.6
  },
  "luminance": 0.03622
}

Semantic roles & 50–950 ramp

primary
#211C9E
secondary
#BFC452
accent
#ED3BE6
background
#F7F5FB
surface
#EEE9F7
border
#C9C5D0
text
#0A0412
muted
#7C7981

Preview Lab

Preview with #211C9E

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

Preview Lab → · Contrast checker → · Palette generator →

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