#211E71#211E71

#211E71 is a dark, vivid blue. Relative luminance 0.024; OKLCH L 30.3% C 0.137 H 276.0°. Best body text is #FFFFFF at 14.11:1 contrast (WCAG AA passes).

Color values

HEX#211E71
RGBrgb(33, 30, 113)
HSLhsl(242, 58%, 28%)
HSVhsv(242, 73%, 44%)
CMYKcmyk(70.8%, 73.5%, 0%, 55.7%)
CIE-LABlab(17.66, 29.85, -47.23)
CIE-LCHlch(17.66, 55.87, 302.29°)
OKLaboklab(30.28% 0.0143 -0.1364)
OKLCHoklch(30.28% 0.137 276)
XYZxyz(4.0711, 2.4438, 15.8767)
Luminance0.0244 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#211E71 #6E711E
analogous
#1E4471 #211E71 #4A1E71
triadic
#211E71 #71211E #1E7121
tetradic
#211E71 #711E44 #6E711E #1E714A
square
#211E71 #711E44 #6E711E #1E714A
split-complementary
#211E71 #714A1E #44711E
monochromatic
#070618 #131141 #211E71 #2F2BA1 #433ECC

Accessibility & contrast

On white

14.11
#211E71 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.49
#211E71 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #211E71
14.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##211E71#FFFFFF#000000##FFFFFF
##211E711.0014.111.4914.11
#FFFFFF14.111.0021.001.00
#0000001.4921.001.0021.00
##FFFFFF14.111.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002F73
Deuteranopia (green-blind)
#00286F
Tritanopia (blue-blind)
#003545
Achromatopsia (no color)
#2B2B2B

Design tokens & code

CSS
--color: #211e71;
/* rgb */ color: rgb(33, 30, 113);
/* oklch */ color: oklch(30.3% 0.137 276.0);
Tailwind
colors: {
  custom: {
    50: '#695a9b',
    500: '#211e71',
    950: '#000000',
  },
}
SCSS
$custom: #211e71;
$custom-light: #695a9b;
$custom-dark: #000000;
JSON
{
  "hex": "#211e71",
  "rgb": {
    "r": 33,
    "g": 30,
    "b": 113
  },
  "hsl": {
    "h": 242.169,
    "s": 58.042,
    "l": 28.039
  },
  "oklch": {
    "l": 0.30281,
    "c": 0.13718,
    "h": 276
  },
  "luminance": 0.02444
}

Semantic roles & 50–950 ramp

primary
#211E71
secondary
#A2A546
accent
#E147DC
background
#F6F5F9
surface
#ECE9F2
border
#C7C5CC
text
#07040E
muted
#7A797E

Preview Lab

Preview with #211E71

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

Preview Lab → · Contrast checker → · Palette generator →

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