#211B71#211B71

#211B71 is a dark, vivid blue. Relative luminance 0.023; OKLCH L 29.8% C 0.141 H 276.7°. Best body text is #FFFFFF at 14.39:1 contrast (WCAG AA passes).

Color values

HEX#211B71
RGBrgb(33, 27, 113)
HSLhsl(244, 61%, 27%)
HSVhsv(244, 76%, 44%)
CMYKcmyk(70.8%, 76.1%, 0%, 55.7%)
CIE-LABlab(16.98, 31.73, -48.34)
CIE-LCHlch(16.98, 57.83, 303.27°)
OKLaboklab(29.8% 0.0164 -0.1397)
OKLCHoklch(29.8% 0.141 276.7)
XYZxyz(3.9988, 2.2991, 15.8526)
Luminance0.0230 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#211B71 #6B711B
analogous
#1B4071 #211B71 #4C1B71
triadic
#211B71 #71211B #1B7121
tetradic
#211B71 #711B40 #6B711B #1B714C
square
#211B71 #711B40 #6B711B #1B714C
split-complementary
#211B71 #714C1B #40711B
monochromatic
#070619 #130F40 #211B71 #2F27A2 #4237CF

Accessibility & contrast

On white

14.39
#211B71 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.46
#211B71 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #211B71
14.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##211B71#FFFFFF#000000##FFFFFF
##211B711.0014.391.4614.39
#FFFFFF14.391.0021.001.00
#0000001.4621.001.0021.00
##FFFFFF14.391.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002D74
Deuteranopia (green-blind)
#00266F
Tritanopia (blue-blind)
#003344
Achromatopsia (no color)
#2A2A2A

Design tokens & code

CSS
--color: #211b71;
/* rgb */ color: rgb(33, 27, 113);
/* oklch */ color: oklch(29.8% 0.141 276.7);
Tailwind
colors: {
  custom: {
    50: '#69599b',
    500: '#211b71',
    950: '#000000',
  },
}
SCSS
$custom: #211b71;
$custom-light: #69599b;
$custom-dark: #000000;
JSON
{
  "hex": "#211b71",
  "rgb": {
    "r": 33,
    "g": 27,
    "b": 113
  },
  "hsl": {
    "h": 244.186,
    "s": 61.429,
    "l": 27.451
  },
  "oklch": {
    "l": 0.29797,
    "c": 0.14064,
    "h": 276.7
  },
  "luminance": 0.02299
}

Semantic roles & 50–950 ramp

primary
#211B71
secondary
#9FA642
accent
#E543D9
background
#F6F5F9
surface
#ECE9F2
border
#C7C5CC
text
#07030E
muted
#7A787E

Preview Lab

Preview with #211B71

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

Preview Lab → · Contrast checker → · Palette generator →

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