#213770#213770

#213770 is a dark, moderate blue. Relative luminance 0.042; OKLCH L 35.3% C 0.102 H 265.6°. Best body text is #FFFFFF at 11.38:1 contrast (WCAG AA passes).

Color values

HEX#213770
RGBrgb(33, 55, 112)
HSLhsl(223, 54%, 28%)
HSVhsv(223, 71%, 44%)
CMYKcmyk(70.5%, 50.9%, 0%, 56.1%)
CIE-LABlab(24.40, 12.16, -35.62)
CIE-LCHlch(24.40, 37.64, 288.84°)
OKLaboklab(35.26% -0.0079 -0.1021)
OKLCHoklch(35.26% 0.102 265.6)
XYZxyz(4.9170, 4.2251, 15.8825)
Luminance0.0423 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#213770 #705A21
analogous
#215E70 #213770 #322170
triadic
#213770 #702137 #377021
tetradic
#213770 #70215E #705A21 #217032
square
#213770 #70215E #705A21 #217032
split-complementary
#213770 #703221 #5E7021
monochromatic
#070C18 #132041 #213770 #2F4E9F #4468C8

Accessibility & contrast

On white

11.38
#213770 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #213770
11.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##213770#FFFFFF#000000##FFFFFF
##2137701.0011.381.8511.38
#FFFFFF11.381.0021.001.00
#0000001.8521.001.0021.00
##FFFFFF11.381.0021.001.00

Color blindness preview

Protanopia (red-blind)
#183E72
Deuteranopia (green-blind)
#05376F
Tritanopia (blue-blind)
#00444E
Achromatopsia (no color)
#3A3A3A

Design tokens & code

CSS
--color: #213770;
/* rgb */ color: rgb(33, 55, 112);
/* oklch */ color: oklch(35.3% 0.102 265.6);
Tailwind
colors: {
  custom: {
    50: '#666d99',
    500: '#213770',
    950: '#000000',
  },
}
SCSS
$custom: #213770;
$custom-light: #666d99;
$custom-dark: #000000;
JSON
{
  "hex": "#213770",
  "rgb": {
    "r": 33,
    "g": 55,
    "b": 112
  },
  "hsl": {
    "h": 223.291,
    "s": 54.483,
    "l": 28.431
  },
  "oklch": {
    "l": 0.35258,
    "c": 0.1024,
    "h": 265.6
  },
  "luminance": 0.04226
}

Semantic roles & 50–950 ramp

primary
#213770
secondary
#A48A49
accent
#B54ADE
background
#F6F6F9
surface
#EBEBF2
border
#C6C6CC
text
#06070E
muted
#7A7A7E

Preview Lab

Preview with #213770

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

Preview Lab → · Contrast checker → · Palette generator →

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