#211B91#211B91

#211B91 is a dark, vivid blue. Relative luminance 0.032; OKLCH L 33.4% C 0.181 H 272.8°. Best body text is #FFFFFF at 12.88:1 contrast (WCAG AA passes).

Color values

HEX#211B91
RGBrgb(33, 27, 145)
HSLhsl(243, 69%, 34%)
HSVhsv(243, 81%, 57%)
CMYKcmyk(77.2%, 81.4%, 0%, 43.1%)
CIE-LABlab(20.64, 42.57, -62.59)
CIE-LCHlch(20.64, 75.69, 304.22°)
OKLaboklab(33.45% 0.009 -0.1811)
OKLCHoklch(33.45% 0.181 272.8)
XYZxyz(6.1283, 3.1509, 27.0678)
Luminance0.0315 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#211B91 #8B911B
analogous
#1B5091 #211B91 #5C1B91
triadic
#211B91 #91211B #1B9121
tetradic
#211B91 #911B50 #8B911B #1B915C
square
#211B91 #911B50 #8B911B #1B915C
split-complementary
#211B91 #915C1B #50911B
monochromatic
#0A082A #15115D #211B91 #2D25C5 #5149DD

Accessibility & contrast

On white

12.88
#211B91 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.63
#211B91 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #211B91
12.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##211B91#FFFFFF#000000##FFFFFF
##211B911.0012.881.6312.88
#FFFFFF12.881.0021.001.00
#0000001.6321.001.0021.00
##FFFFFF12.881.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003794
Deuteranopia (green-blind)
#002C8F
Tritanopia (blue-blind)
#004056
Achromatopsia (no color)
#323232

Design tokens & code

CSS
--color: #211b91;
/* rgb */ color: rgb(33, 27, 145);
/* oklch */ color: oklch(33.4% 0.181 272.8);
Tailwind
colors: {
  custom: {
    50: '#715ab3',
    500: '#211b91',
    950: '#000000',
  },
}
SCSS
$custom: #211b91;
$custom-light: #715ab3;
$custom-dark: #000000;
JSON
{
  "hex": "#211b91",
  "rgb": {
    "r": 33,
    "g": 27,
    "b": 145
  },
  "hsl": {
    "h": 243.051,
    "s": 68.605,
    "l": 33.725
  },
  "oklch": {
    "l": 0.33446,
    "c": 0.18131,
    "h": 272.8
  },
  "luminance": 0.03152
}

Semantic roles & 50–950 ramp

primary
#211B91
secondary
#B9BF49
accent
#EB3CE3
background
#F7F5FB
surface
#EDE9F6
border
#C8C5D0
text
#090411
muted
#7B7980

Preview Lab

Preview with #211B91

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

Preview Lab → · Contrast checker → · Palette generator →

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