#211D78#211D78

#211D78 is a dark, vivid blue. Relative luminance 0.026; OKLCH L 30.9% C 0.148 H 275.3°. Best body text is #FFFFFF at 13.89:1 contrast (WCAG AA passes).

Color values

HEX#211D78
RGBrgb(33, 29, 120)
HSLhsl(243, 61%, 29%)
HSVhsv(243, 76%, 47%)
CMYKcmyk(72.5%, 75.8%, 0%, 52.9%)
CIE-LABlab(18.18, 32.97, -50.89)
CIE-LCHlch(18.18, 60.63, 302.94°)
OKLaboklab(30.87% 0.0137 -0.1471)
OKLCHoklch(30.87% 0.148 275.3)
XYZxyz(4.4556, 2.5577, 18.0245)
Luminance0.0256 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#211D78 #74781D
analogous
#1D4778 #211D78 #4F1D78
triadic
#211D78 #78211D #1D7821
tetradic
#211D78 #781D47 #74781D #1D784F
square
#211D78 #781D47 #74781D #1D784F
split-complementary
#211D78 #784F1D #47781D
monochromatic
#070619 #131147 #211D78 #2F29A9 #453FD1

Accessibility & contrast

On white

13.89
#211D78 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.51
#211D78 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #211D78
13.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##211D78#FFFFFF#000000##FFFFFF
##211D781.0013.891.5113.89
#FFFFFF13.891.0021.001.00
#0000001.5121.001.0021.00
##FFFFFF13.891.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00307B
Deuteranopia (green-blind)
#002876
Tritanopia (blue-blind)
#003748
Achromatopsia (no color)
#2C2C2C

Design tokens & code

CSS
--color: #211d78;
/* rgb */ color: rgb(33, 29, 120);
/* oklch */ color: oklch(30.9% 0.148 275.3);
Tailwind
colors: {
  custom: {
    50: '#6b5aa0',
    500: '#211d78',
    950: '#000000',
  },
}
SCSS
$custom: #211d78;
$custom-light: #6b5aa0;
$custom-dark: #000000;
JSON
{
  "hex": "#211d78",
  "rgb": {
    "r": 33,
    "g": 29,
    "b": 120
  },
  "hsl": {
    "h": 242.637,
    "s": 61.074,
    "l": 29.216
  },
  "oklch": {
    "l": 0.30873,
    "c": 0.14774,
    "h": 275.3
  },
  "luminance": 0.02558
}

Semantic roles & 50–950 ramp

primary
#211D78
secondary
#A7AC45
accent
#E444DD
background
#F6F5FA
surface
#ECE9F3
border
#C7C5CD
text
#08040F
muted
#7A797F

Preview Lab

Preview with #211D78

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

Preview Lab → · Contrast checker → · Palette generator →

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