#211B9E#211B9E

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

Color values

HEX#211B9E
RGBrgb(33, 27, 158)
HSLhsl(243, 71%, 36%)
HSVhsv(243, 83%, 62%)
CMYKcmyk(79.1%, 82.9%, 0%, 38%)
CIE-LABlab(22.21, 46.74, -67.98)
CIE-LCHlch(22.21, 82.50, 304.51°)
OKLaboklab(35% 0.0058 -0.1967)
OKLCHoklch(35% 0.197 271.7)
XYZxyz(7.1886, 3.5750, 32.6523)
Luminance0.0358 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#211B9E #989E1B
analogous
#1B579E #211B9E #631B9E
triadic
#211B9E #9E211B #1B9E21
tetradic
#211B9E #9E1B57 #989E1B #1B9E63
square
#211B9E #9E1B57 #989E1B #1B9E63
split-complementary
#211B9E #9E631B #579E1B
monochromatic
#0B0935 #16126A #211B9E #2C24D2 #5952E1

Accessibility & contrast

On white

12.24
#211B9E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #211B9E
12.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##211B9E#FFFFFF#000000##FFFFFF
##211B9E1.0012.241.7212.24
#FFFFFF12.241.0021.001.00
#0000001.7221.001.0021.00
##FFFFFF12.241.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #211b9e;
/* rgb */ color: rgb(33, 27, 158);
/* oklch */ color: oklch(35.0% 0.197 271.7);
Tailwind
colors: {
  custom: {
    50: '#745bbc',
    500: '#211b9e',
    950: '#000000',
  },
}
SCSS
$custom: #211b9e;
$custom-light: #745bbc;
$custom-dark: #000000;
JSON
{
  "hex": "#211b9e",
  "rgb": {
    "r": 33,
    "g": 27,
    "b": 158
  },
  "hsl": {
    "h": 242.748,
    "s": 70.811,
    "l": 36.275
  },
  "oklch": {
    "l": 0.34997,
    "c": 0.19683,
    "h": 271.7
  },
  "luminance": 0.03576
}

Semantic roles & 50–950 ramp

primary
#211B9E
secondary
#BFC451
accent
#EE3AE5
background
#F7F5FB
surface
#EEE9F7
border
#C9C5D0
text
#0A0412
muted
#7C7981

Preview Lab

Preview with #211B9E

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

Preview Lab → · Contrast checker → · Palette generator →

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