#213873#213873

#213873 is a dark, moderate blue. Relative luminance 0.044; OKLCH L 35.7% C 0.106 H 265.4°. Best body text is #FFFFFF at 11.18:1 contrast (WCAG AA passes).

Color values

HEX#213873
RGBrgb(33, 56, 115)
HSLhsl(223, 55%, 29%)
HSVhsv(223, 71%, 45%)
CMYKcmyk(71.3%, 51.3%, 0%, 54.9%)
CIE-LABlab(24.92, 12.65, -36.71)
CIE-LCHlch(24.92, 38.82, 289.01°)
OKLaboklab(35.72% -0.0085 -0.1053)
OKLCHoklch(35.72% 0.106 265.4)
XYZxyz(5.1348, 4.3890, 16.7929)
Luminance0.0439 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#213873 #735C21
analogous
#216173 #213873 #332173
triadic
#213873 #732138 #387321
tetradic
#213873 #732161 #735C21 #217333
square
#213873 #732161 #735C21 #217333
split-complementary
#213873 #733321 #617321
monochromatic
#070C18 #132143 #213873 #2F4FA3 #456ACA

Accessibility & contrast

On white

11.18
#213873 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.88
#213873 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #213873
11.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##213873#FFFFFF#000000##FFFFFF
##2138731.0011.181.8811.18
#FFFFFF11.181.0021.001.00
#0000001.8821.001.0021.00
##FFFFFF11.181.0021.001.00

Color blindness preview

Protanopia (red-blind)
#173F75
Deuteranopia (green-blind)
#023872
Tritanopia (blue-blind)
#004650
Achromatopsia (no color)
#3B3B3B

Design tokens & code

CSS
--color: #213873;
/* rgb */ color: rgb(33, 56, 115);
/* oklch */ color: oklch(35.7% 0.106 265.4);
Tailwind
colors: {
  custom: {
    50: '#676e9c',
    500: '#213873',
    950: '#000000',
  },
}
SCSS
$custom: #213873;
$custom-light: #676e9c;
$custom-dark: #000000;
JSON
{
  "hex": "#213873",
  "rgb": {
    "r": 33,
    "g": 56,
    "b": 115
  },
  "hsl": {
    "h": 223.171,
    "s": 55.405,
    "l": 29.02
  },
  "oklch": {
    "l": 0.3572,
    "c": 0.10561,
    "h": 265.4
  },
  "luminance": 0.04389
}

Semantic roles & 50–950 ramp

primary
#213873
secondary
#A68C49
accent
#B549DF
background
#F6F6F9
surface
#EBEBF2
border
#C6C6CC
text
#07070E
muted
#7A7A7E

Preview Lab

Preview with #213873

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

Preview Lab → · Contrast checker → · Palette generator →

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