#213970#213970

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

Color values

HEX#213970
RGBrgb(33, 57, 112)
HSLhsl(222, 54%, 28%)
HSVhsv(222, 71%, 44%)
CMYKcmyk(70.5%, 49.1%, 0%, 56.1%)
CIE-LABlab(25.01, 10.75, -34.64)
CIE-LCHlch(25.01, 36.27, 287.24°)
OKLaboklab(35.72% -0.01 -0.0992)
OKLCHoklch(35.72% 0.1 264.2)
XYZxyz(5.0139, 4.4190, 15.9148)
Luminance0.0442 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#213970 #705821
analogous
#216070 #213970 #302170
triadic
#213970 #702139 #397021
tetradic
#213970 #702160 #705821 #217030
square
#213970 #702160 #705821 #217030
split-complementary
#213970 #703021 #607021
monochromatic
#070C18 #132141 #213970 #2F519F #446CC8

Accessibility & contrast

On white

11.15
#213970 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #213970
11.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##213970#FFFFFF#000000##FFFFFF
##2139701.0011.151.8811.15
#FFFFFF11.151.0021.001.00
#0000001.8821.001.0021.00
##FFFFFF11.151.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1D3F72
Deuteranopia (green-blind)
#0D386F
Tritanopia (blue-blind)
#00464F
Achromatopsia (no color)
#3B3B3B

Design tokens & code

CSS
--color: #213970;
/* rgb */ color: rgb(33, 57, 112);
/* oklch */ color: oklch(35.7% 0.100 264.2);
Tailwind
colors: {
  custom: {
    50: '#666e99',
    500: '#213970',
    950: '#000000',
  },
}
SCSS
$custom: #213970;
$custom-light: #666e99;
$custom-dark: #000000;
JSON
{
  "hex": "#213970",
  "rgb": {
    "r": 33,
    "g": 57,
    "b": 112
  },
  "hsl": {
    "h": 221.772,
    "s": 54.483,
    "l": 28.431
  },
  "oklch": {
    "l": 0.35723,
    "c": 0.09968,
    "h": 264.2
  },
  "luminance": 0.04419
}

Semantic roles & 50–950 ramp

primary
#213970
secondary
#A48849
accent
#B14ADE
background
#F6F6F9
surface
#EBEBF2
border
#C6C6CC
text
#06070E
muted
#7A7A7E

Preview Lab

Preview with #213970

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

Preview Lab → · Contrast checker → · Palette generator →

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