#211E79#211E79

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

Color values

HEX#211E79
RGBrgb(33, 30, 121)
HSLhsl(242, 60%, 30%)
HSVhsv(242, 75%, 47%)
CMYKcmyk(72.7%, 75.2%, 0%, 52.5%)
CIE-LABlab(18.50, 32.71, -50.99)
CIE-LCHlch(18.50, 60.58, 302.68°)
OKLaboklab(31.14% 0.0129 -0.1474)
OKLCHoklch(31.14% 0.148 275)
XYZxyz(4.5415, 2.6319, 18.3541)
Luminance0.0263 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#211E79 #76791E
analogous
#1E4979 #211E79 #4F1E79
triadic
#211E79 #79211E #1E7921
tetradic
#211E79 #791E49 #76791E #1E794F
square
#211E79 #791E49 #76791E #1E794F
split-complementary
#211E79 #794F1E #49791E
monochromatic
#070619 #141248 #211E79 #2E2AAA #4641D0

Accessibility & contrast

On white

13.76
#211E79 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.53
#211E79 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #211E79
13.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##211E79#FFFFFF#000000##FFFFFF
##211E791.0013.761.5313.76
#FFFFFF13.761.0021.001.00
#0000001.5321.001.0021.00
##FFFFFF13.761.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #211e79;
/* rgb */ color: rgb(33, 30, 121);
/* oklch */ color: oklch(31.1% 0.148 275.0);
Tailwind
colors: {
  custom: {
    50: '#6b5ba1',
    500: '#211e79',
    950: '#000000',
  },
}
SCSS
$custom: #211e79;
$custom-light: #6b5ba1;
$custom-dark: #000000;
JSON
{
  "hex": "#211e79",
  "rgb": {
    "r": 33,
    "g": 30,
    "b": 121
  },
  "hsl": {
    "h": 241.978,
    "s": 60.265,
    "l": 29.608
  },
  "oklch": {
    "l": 0.31138,
    "c": 0.14797,
    "h": 275
  },
  "luminance": 0.02632
}

Semantic roles & 50–950 ramp

primary
#211E79
secondary
#A9AD46
accent
#E344DE
background
#F6F5FA
surface
#ECE9F3
border
#C7C5CD
text
#08040F
muted
#7A797F

Preview Lab

Preview with #211E79

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

Preview Lab → · Contrast checker → · Palette generator →

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