#211E87#211E87

#211E87 is a dark, vivid blue. Relative luminance 0.030; OKLCH L 32.7% C 0.166 H 273.5°. Best body text is #FFFFFF at 13.12:1 contrast (WCAG AA passes).

Color values

HEX#211E87
RGBrgb(33, 30, 135)
HSLhsl(242, 64%, 32%)
HSVhsv(242, 78%, 53%)
CMYKcmyk(75.6%, 77.8%, 0%, 47.1%)
CIE-LABlab(20.05, 37.59, -57.32)
CIE-LCHlch(20.05, 68.55, 303.26°)
OKLaboklab(32.69% 0.01 -0.1658)
OKLCHoklch(32.69% 0.166 273.5)
XYZxyz(5.4632, 3.0006, 23.2082)
Luminance0.0300 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#211E87 #84871E
analogous
#1E5087 #211E87 #551E87
triadic
#211E87 #87211E #1E8721
tetradic
#211E87 #871E50 #84871E #1E8755
square
#211E87 #871E50 #84871E #1E8755
split-complementary
#211E87 #87551E #50871E
monochromatic
#090823 #151355 #211E87 #2D29B9 #4D49D7

Accessibility & contrast

On white

13.12
#211E87 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.60
#211E87 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #211E87
13.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##211E87#FFFFFF#000000##FFFFFF
##211E871.0013.121.6013.12
#FFFFFF13.121.0021.001.00
#0000001.6021.001.0021.00
##FFFFFF13.121.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00358A
Deuteranopia (green-blind)
#002B85
Tritanopia (blue-blind)
#003D51
Achromatopsia (no color)
#303030

Design tokens & code

CSS
--color: #211e87;
/* rgb */ color: rgb(33, 30, 135);
/* oklch */ color: oklch(32.7% 0.166 273.5);
Tailwind
colors: {
  custom: {
    50: '#6e5cab',
    500: '#211e87',
    950: '#000000',
  },
}
SCSS
$custom: #211e87;
$custom-light: #6e5cab;
$custom-dark: #000000;
JSON
{
  "hex": "#211e87",
  "rgb": {
    "r": 33,
    "g": 30,
    "b": 135
  },
  "hsl": {
    "h": 241.714,
    "s": 63.636,
    "l": 32.353
  },
  "oklch": {
    "l": 0.3269,
    "c": 0.16614,
    "h": 273.5
  },
  "luminance": 0.03001
}

Semantic roles & 50–950 ramp

primary
#211E87
secondary
#B6B948
accent
#E741E2
background
#F7F5FA
surface
#EDE9F4
border
#C8C5CE
text
#080410
muted
#7B797F

Preview Lab

Preview with #211E87

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

Preview Lab → · Contrast checker → · Palette generator →

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