#211E8B#211E8B

#211E8B is a dark, vivid blue. Relative luminance 0.031; OKLCH L 33.1% C 0.171 H 273.1°. Best body text is #FFFFFF at 12.94:1 contrast (WCAG AA passes).

Color values

HEX#211E8B
RGBrgb(33, 30, 139)
HSLhsl(242, 64%, 33%)
HSVhsv(242, 78%, 55%)
CMYKcmyk(76.3%, 78.4%, 0%, 45.5%)
CIE-LABlab(20.50, 38.95, -59.08)
CIE-LCHlch(20.50, 70.76, 303.40°)
OKLaboklab(33.14% 0.0092 -0.1709)
OKLCHoklch(33.14% 0.171 273.1)
XYZxyz(5.7501, 3.1154, 24.7194)
Luminance0.0312 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#211E8B #888B1E
analogous
#1E528B #211E8B #571E8B
triadic
#211E8B #8B211E #1E8B21
tetradic
#211E8B #8B1E52 #888B1E #1E8B57
square
#211E8B #8B1E52 #888B1E #1E8B57
split-complementary
#211E8B #8B571E #528B1E
monochromatic
#090826 #151359 #211E8B #2D29BD #4F4BD8

Accessibility & contrast

On white

12.94
#211E8B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.62
#211E8B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #211E8B
12.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##211E8B#FFFFFF#000000##FFFFFF
##211E8B1.0012.941.6212.94
#FFFFFF12.941.0021.001.00
#0000001.6221.001.0021.00
##FFFFFF12.941.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00378E
Deuteranopia (green-blind)
#002C89
Tritanopia (blue-blind)
#003F53
Achromatopsia (no color)
#313131

Design tokens & code

CSS
--color: #211e8b;
/* rgb */ color: rgb(33, 30, 139);
/* oklch */ color: oklch(33.1% 0.171 273.1);
Tailwind
colors: {
  custom: {
    50: '#6f5cae',
    500: '#211e8b',
    950: '#000000',
  },
}
SCSS
$custom: #211e8b;
$custom-light: #6f5cae;
$custom-dark: #000000;
JSON
{
  "hex": "#211e8b",
  "rgb": {
    "r": 33,
    "g": 30,
    "b": 139
  },
  "hsl": {
    "h": 241.651,
    "s": 64.497,
    "l": 33.137
  },
  "oklch": {
    "l": 0.33144,
    "c": 0.1712,
    "h": 273.1
  },
  "luminance": 0.03116
}

Semantic roles & 50–950 ramp

primary
#211E8B
secondary
#B8BB4A
accent
#E740E3
background
#F7F5FA
surface
#EDE9F5
border
#C8C5CF
text
#090410
muted
#7B797F

Preview Lab

Preview with #211E8B

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

Preview Lab → · Contrast checker → · Palette generator →

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