#213870#213870

#213870 is a dark, moderate blue. Relative luminance 0.043; OKLCH L 35.5% C 0.101 H 264.9°. Best body text is #FFFFFF at 11.26:1 contrast (WCAG AA passes).

Color values

HEX#213870
RGBrgb(33, 56, 112)
HSLhsl(223, 54%, 28%)
HSVhsv(223, 71%, 44%)
CMYKcmyk(70.5%, 50%, 0%, 56.1%)
CIE-LABlab(24.71, 11.45, -35.13)
CIE-LCHlch(24.71, 36.95, 288.06°)
OKLaboklab(35.49% -0.009 -0.1006)
OKLCHoklch(35.49% 0.101 264.9)
XYZxyz(4.9650, 4.3210, 15.8985)
Luminance0.0432 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#213870 #705921
analogous
#215F70 #213870 #312170
triadic
#213870 #702138 #387021
tetradic
#213870 #70215F #705921 #217031
square
#213870 #70215F #705921 #217031
split-complementary
#213870 #703121 #5F7021
monochromatic
#070C18 #132041 #213870 #2F509F #446AC8

Accessibility & contrast

On white

11.26
#213870 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.86
#213870 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #213870
11.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##213870#FFFFFF#000000##FFFFFF
##2138701.0011.261.8611.26
#FFFFFF11.261.0021.001.00
#0000001.8621.001.0021.00
##FFFFFF11.261.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1B3E72
Deuteranopia (green-blind)
#09376F
Tritanopia (blue-blind)
#00454E
Achromatopsia (no color)
#3B3B3B

Design tokens & code

CSS
--color: #213870;
/* rgb */ color: rgb(33, 56, 112);
/* oklch */ color: oklch(35.5% 0.101 264.9);
Tailwind
colors: {
  custom: {
    50: '#666e99',
    500: '#213870',
    950: '#000000',
  },
}
SCSS
$custom: #213870;
$custom-light: #666e99;
$custom-dark: #000000;
JSON
{
  "hex": "#213870",
  "rgb": {
    "r": 33,
    "g": 56,
    "b": 112
  },
  "hsl": {
    "h": 222.532,
    "s": 54.483,
    "l": 28.431
  },
  "oklch": {
    "l": 0.3549,
    "c": 0.10104,
    "h": 264.9
  },
  "luminance": 0.04322
}

Semantic roles & 50–950 ramp

primary
#213870
secondary
#A48949
accent
#B34ADE
background
#F6F6F9
surface
#EBEBF2
border
#C6C6CC
text
#06070E
muted
#7A7A7E

Preview Lab

Preview with #213870

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

Preview Lab → · Contrast checker → · Palette generator →

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