#211B72#211B72

#211B72 is a dark, vivid blue. Relative luminance 0.023; OKLCH L 29.9% C 0.142 H 276.5°. Best body text is #FFFFFF at 14.34:1 contrast (WCAG AA passes).

Color values

HEX#211B72
RGBrgb(33, 27, 114)
HSLhsl(244, 62%, 28%)
HSVhsv(244, 76%, 45%)
CMYKcmyk(71.1%, 76.3%, 0%, 55.3%)
CIE-LABlab(17.09, 32.08, -48.81)
CIE-LCHlch(17.09, 58.41, 303.31°)
OKLaboklab(29.91% 0.0162 -0.141)
OKLCHoklch(29.91% 0.142 276.5)
XYZxyz(4.0554, 2.3217, 16.1507)
Luminance0.0232 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#211B72 #6C721B
analogous
#1B4072 #211B72 #4C1B72
triadic
#211B72 #72211B #1B7221
tetradic
#211B72 #721B40 #6C721B #1B724C
square
#211B72 #721B40 #6C721B #1B724C
split-complementary
#211B72 #724C1B #40721B
monochromatic
#070619 #130F41 #211B72 #2F27A3 #4238D0

Accessibility & contrast

On white

14.34
#211B72 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #211B72
14.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##211B72#FFFFFF#000000##FFFFFF
##211B721.0014.341.4614.34
#FFFFFF14.341.0021.001.00
#0000001.4621.001.0021.00
##FFFFFF14.341.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002E75
Deuteranopia (green-blind)
#002670
Tritanopia (blue-blind)
#003445
Achromatopsia (no color)
#2A2A2A

Design tokens & code

CSS
--color: #211b72;
/* rgb */ color: rgb(33, 27, 114);
/* oklch */ color: oklch(29.9% 0.142 276.5);
Tailwind
colors: {
  custom: {
    50: '#69599c',
    500: '#211b72',
    950: '#000000',
  },
}
SCSS
$custom: #211b72;
$custom-light: #69599c;
$custom-dark: #000000;
JSON
{
  "hex": "#211b72",
  "rgb": {
    "r": 33,
    "g": 27,
    "b": 114
  },
  "hsl": {
    "h": 244.138,
    "s": 61.702,
    "l": 27.647
  },
  "oklch": {
    "l": 0.29906,
    "c": 0.14197,
    "h": 276.5
  },
  "luminance": 0.02322
}

Semantic roles & 50–950 ramp

primary
#211B72
secondary
#A0A742
accent
#E543DA
background
#F6F5F9
surface
#ECE9F2
border
#C7C5CC
text
#07030E
muted
#7A787E

Preview Lab

Preview with #211B72

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

Preview Lab → · Contrast checker → · Palette generator →

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