#211D79#211D79

#211D79 is a dark, vivid blue. Relative luminance 0.026; OKLCH L 31.0% C 0.149 H 275.2°. Best body text is #FFFFFF at 13.85:1 contrast (WCAG AA passes).

Color values

HEX#211D79
RGBrgb(33, 29, 121)
HSLhsl(243, 61%, 29%)
HSVhsv(243, 76%, 47%)
CMYKcmyk(72.7%, 76%, 0%, 52.5%)
CIE-LABlab(18.29, 33.32, -51.35)
CIE-LCHlch(18.29, 61.21, 302.98°)
OKLaboklab(30.98% 0.0135 -0.1484)
OKLCHoklch(30.98% 0.149 275.2)
XYZxyz(4.5166, 2.5821, 18.3458)
Luminance0.0258 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#211D79 #75791D
analogous
#1D4779 #211D79 #4F1D79
triadic
#211D79 #79211D #1D7921
tetradic
#211D79 #791D47 #75791D #1D794F
square
#211D79 #791D47 #75791D #1D794F
split-complementary
#211D79 #794F1D #47791D
monochromatic
#070619 #141148 #211D79 #2E29AA #463FD1

Accessibility & contrast

On white

13.85
#211D79 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.52
#211D79 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #211D79
13.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##211D79#FFFFFF#000000##FFFFFF
##211D791.0013.851.5213.85
#FFFFFF13.851.0021.001.00
#0000001.5221.001.0021.00
##FFFFFF13.851.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00317C
Deuteranopia (green-blind)
#002877
Tritanopia (blue-blind)
#003749
Achromatopsia (no color)
#2D2D2D

Design tokens & code

CSS
--color: #211d79;
/* rgb */ color: rgb(33, 29, 121);
/* oklch */ color: oklch(31.0% 0.149 275.2);
Tailwind
colors: {
  custom: {
    50: '#6b5aa1',
    500: '#211d79',
    950: '#000000',
  },
}
SCSS
$custom: #211d79;
$custom-light: #6b5aa1;
$custom-dark: #000000;
JSON
{
  "hex": "#211d79",
  "rgb": {
    "r": 33,
    "g": 29,
    "b": 121
  },
  "hsl": {
    "h": 242.609,
    "s": 61.333,
    "l": 29.412
  },
  "oklch": {
    "l": 0.30982,
    "c": 0.14906,
    "h": 275.2
  },
  "luminance": 0.02583
}

Semantic roles & 50–950 ramp

primary
#211D79
secondary
#A8AD45
accent
#E443DD
background
#F6F5FA
surface
#ECE9F3
border
#C7C5CD
text
#08040F
muted
#7A797F

Preview Lab

Preview with #211D79

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

Preview Lab → · Contrast checker → · Palette generator →

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