#213872#213872

#213872 is a dark, moderate blue. Relative luminance 0.044; OKLCH L 35.6% C 0.104 H 265.2°. Best body text is #FFFFFF at 11.21:1 contrast (WCAG AA passes).

Color values

HEX#213872
RGBrgb(33, 56, 114)
HSLhsl(223, 55%, 29%)
HSVhsv(223, 71%, 45%)
CMYKcmyk(71.1%, 50.9%, 0%, 55.3%)
CIE-LABlab(24.85, 12.25, -36.18)
CIE-LCHlch(24.85, 38.20, 288.70°)
OKLaboklab(35.64% -0.0087 -0.1037)
OKLCHoklch(35.64% 0.104 265.2)
XYZxyz(5.0776, 4.3661, 16.4915)
Luminance0.0437 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#213872 #725B21
analogous
#216172 #213872 #332172
triadic
#213872 #722138 #387221
tetradic
#213872 #722161 #725B21 #217233
square
#213872 #722161 #725B21 #217233
split-complementary
#213872 #723321 #617221
monochromatic
#070C18 #132143 #213872 #2F4FA1 #446AC9

Accessibility & contrast

On white

11.21
#213872 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.87
#213872 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #213872
11.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##213872#FFFFFF#000000##FFFFFF
##2138721.0011.211.8711.21
#FFFFFF11.211.0021.001.00
#0000001.8721.001.0021.00
##FFFFFF11.211.0021.001.00

Color blindness preview

Protanopia (red-blind)
#193F74
Deuteranopia (green-blind)
#043771
Tritanopia (blue-blind)
#00464F
Achromatopsia (no color)
#3B3B3B

Design tokens & code

CSS
--color: #213872;
/* rgb */ color: rgb(33, 56, 114);
/* oklch */ color: oklch(35.6% 0.104 265.2);
Tailwind
colors: {
  custom: {
    50: '#676e9b',
    500: '#213872',
    950: '#000000',
  },
}
SCSS
$custom: #213872;
$custom-light: #676e9b;
$custom-dark: #000000;
JSON
{
  "hex": "#213872",
  "rgb": {
    "r": 33,
    "g": 56,
    "b": 114
  },
  "hsl": {
    "h": 222.963,
    "s": 55.102,
    "l": 28.824
  },
  "oklch": {
    "l": 0.35642,
    "c": 0.10409,
    "h": 265.2
  },
  "luminance": 0.04367
}

Semantic roles & 50–950 ramp

primary
#213872
secondary
#A58B49
accent
#B449DE
background
#F6F6F9
surface
#EBEBF2
border
#C6C6CC
text
#06070E
muted
#7A7A7E

Preview Lab

Preview with #213872

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

Preview Lab → · Contrast checker → · Palette generator →

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