#213772#213772

#213772 is a dark, moderate blue. Relative luminance 0.043; OKLCH L 35.4% C 0.105 H 265.8°. Best body text is #FFFFFF at 11.33:1 contrast (WCAG AA passes).

Color values

HEX#213772
RGBrgb(33, 55, 114)
HSLhsl(224, 55%, 29%)
HSVhsv(224, 71%, 45%)
CMYKcmyk(71.1%, 51.8%, 0%, 55.3%)
CIE-LABlab(24.55, 12.95, -36.67)
CIE-LCHlch(24.55, 38.89, 289.46°)
OKLaboklab(35.41% -0.0076 -0.1052)
OKLCHoklch(35.41% 0.105 265.8)
XYZxyz(5.0296, 4.2701, 16.4755)
Luminance0.0427 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#213772 #725C21
analogous
#216072 #213772 #342172
triadic
#213772 #722137 #377221
tetradic
#213772 #722160 #725C21 #217234
square
#213772 #722160 #725C21 #217234
split-complementary
#213772 #723421 #607221
monochromatic
#070B18 #132043 #213772 #2F4EA1 #4468C9

Accessibility & contrast

On white

11.33
#213772 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.85
#213772 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #213772
11.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##213772#FFFFFF#000000##FFFFFF
##2137721.0011.331.8511.33
#FFFFFF11.331.0021.001.00
#0000001.8521.001.0021.00
##FFFFFF11.331.0021.001.00

Color blindness preview

Protanopia (red-blind)
#163E74
Deuteranopia (green-blind)
#003771
Tritanopia (blue-blind)
#00454F
Achromatopsia (no color)
#3A3A3A

Design tokens & code

CSS
--color: #213772;
/* rgb */ color: rgb(33, 55, 114);
/* oklch */ color: oklch(35.4% 0.105 265.8);
Tailwind
colors: {
  custom: {
    50: '#676d9b',
    500: '#213772',
    950: '#000000',
  },
}
SCSS
$custom: #213772;
$custom-light: #676d9b;
$custom-dark: #000000;
JSON
{
  "hex": "#213772",
  "rgb": {
    "r": 33,
    "g": 55,
    "b": 114
  },
  "hsl": {
    "h": 223.704,
    "s": 55.102,
    "l": 28.824
  },
  "oklch": {
    "l": 0.35413,
    "c": 0.10545,
    "h": 265.8
  },
  "luminance": 0.04271
}

Semantic roles & 50–950 ramp

primary
#213772
secondary
#A58C49
accent
#B649DE
background
#F6F6F9
surface
#EBEBF2
border
#C6C6CC
text
#06070E
muted
#7A7A7E

Preview Lab

Preview with #213772

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

Preview Lab → · Contrast checker → · Palette generator →

#213772 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva