#213372#213372

#213372 is a dark, moderate blue. Relative luminance 0.039; OKLCH L 34.5% C 0.111 H 268.1°. Best body text is #FFFFFF at 11.79:1 contrast (WCAG AA passes).

Color values

HEX#213372
RGBrgb(33, 51, 114)
HSLhsl(227, 55%, 29%)
HSVhsv(227, 71%, 45%)
CMYKcmyk(71.1%, 55.3%, 0%, 55.3%)
CIE-LABlab(23.36, 15.78, -38.59)
CIE-LCHlch(23.36, 41.69, 292.24°)
OKLaboklab(34.51% -0.0037 -0.1109)
OKLCHoklch(34.51% 0.111 268.1)
XYZxyz(4.8472, 3.9054, 16.4147)
Luminance0.0391 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#213372 #726021
analogous
#215C72 #213372 #382172
triadic
#213372 #722133 #337221
tetradic
#213372 #72215C #726021 #217238
square
#213372 #72215C #726021 #217238
split-complementary
#213372 #723821 #5C7221
monochromatic
#070B18 #131E43 #213372 #2F48A1 #4462C9

Accessibility & contrast

On white

11.79
#213372 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.78
#213372 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #213372
11.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##213372#FFFFFF#000000##FFFFFF
##2133721.0011.791.7811.79
#FFFFFF11.791.0021.001.00
#0000001.7821.001.0021.00
##FFFFFF11.791.0021.001.00

Color blindness preview

Protanopia (red-blind)
#093C74
Deuteranopia (green-blind)
#003471
Tritanopia (blue-blind)
#00424D
Achromatopsia (no color)
#383838

Design tokens & code

CSS
--color: #213372;
/* rgb */ color: rgb(33, 51, 114);
/* oklch */ color: oklch(34.5% 0.111 268.1);
Tailwind
colors: {
  custom: {
    50: '#676a9b',
    500: '#213372',
    950: '#000000',
  },
}
SCSS
$custom: #213372;
$custom-light: #676a9b;
$custom-dark: #000000;
JSON
{
  "hex": "#213372",
  "rgb": {
    "r": 33,
    "g": 51,
    "b": 114
  },
  "hsl": {
    "h": 226.667,
    "s": 55.102,
    "l": 28.824
  },
  "oklch": {
    "l": 0.34511,
    "c": 0.11095,
    "h": 268.1
  },
  "luminance": 0.03906
}

Semantic roles & 50–950 ramp

primary
#213372
secondary
#A59149
accent
#BD49DE
background
#F6F6F9
surface
#EBEBF2
border
#C6C6CC
text
#07060E
muted
#7A7A7E

Preview Lab

Preview with #213372

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

Preview Lab → · Contrast checker → · Palette generator →

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