#211E81#211E81

#211E81 is a dark, vivid blue. Relative luminance 0.028; OKLCH L 32.0% C 0.158 H 274.1°. Best body text is #FFFFFF at 13.40:1 contrast (WCAG AA passes).

Color values

HEX#211E81
RGBrgb(33, 30, 129)
HSLhsl(242, 62%, 31%)
HSVhsv(242, 77%, 51%)
CMYKcmyk(74.4%, 76.7%, 0%, 49.4%)
CIE-LABlab(19.38, 35.52, -54.64)
CIE-LCHlch(19.38, 65.17, 303.02°)
OKLaboklab(32.02% 0.0113 -0.1581)
OKLCHoklch(32.02% 0.158 274.1)
XYZxyz(5.0526, 2.8364, 21.0458)
Luminance0.0284 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#211E81 #7E811E
analogous
#1E4C81 #211E81 #521E81
triadic
#211E81 #81211E #1E8121
tetradic
#211E81 #811E4C #7E811E #1E8152
square
#211E81 #811E4C #7E811E #1E8152
split-complementary
#211E81 #81521E #4C811E
monochromatic
#08071E #14124F #211E81 #2E2AB3 #4A46D4

Accessibility & contrast

On white

13.40
#211E81 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.57
#211E81 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #211E81
13.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##211E81#FFFFFF#000000##FFFFFF
##211E811.0013.401.5713.40
#FFFFFF13.401.0021.001.00
#0000001.5721.001.0021.00
##FFFFFF13.401.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003484
Deuteranopia (green-blind)
#002A7F
Tritanopia (blue-blind)
#003B4E
Achromatopsia (no color)
#2F2F2F

Design tokens & code

CSS
--color: #211e81;
/* rgb */ color: rgb(33, 30, 129);
/* oklch */ color: oklch(32.0% 0.158 274.1);
Tailwind
colors: {
  custom: {
    50: '#6d5ba7',
    500: '#211e81',
    950: '#000000',
  },
}
SCSS
$custom: #211e81;
$custom-light: #6d5ba7;
$custom-dark: #000000;
JSON
{
  "hex": "#211e81",
  "rgb": {
    "r": 33,
    "g": 30,
    "b": 129
  },
  "hsl": {
    "h": 241.818,
    "s": 62.264,
    "l": 31.176
  },
  "oklch": {
    "l": 0.32018,
    "c": 0.15846,
    "h": 274.1
  },
  "luminance": 0.02837
}

Semantic roles & 50–950 ramp

primary
#211E81
secondary
#B1B447
accent
#E542E0
background
#F7F5FA
surface
#EDE9F4
border
#C8C5CE
text
#080410
muted
#7B797F

Preview Lab

Preview with #211E81

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

Preview Lab → · Contrast checker → · Palette generator →

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