#213971#213971

#213971 is a dark, moderate blue. Relative luminance 0.044; OKLCH L 35.8% C 0.101 H 264.4°. Best body text is #FFFFFF at 11.12:1 contrast (WCAG AA passes).

Color values

HEX#213971
RGBrgb(33, 57, 113)
HSLhsl(222, 55%, 29%)
HSVhsv(222, 71%, 44%)
CMYKcmyk(70.8%, 49.6%, 0%, 55.7%)
CIE-LABlab(25.08, 11.15, -35.17)
CIE-LCHlch(25.08, 36.90, 287.59°)
OKLaboklab(35.8% -0.0098 -0.1007)
OKLCHoklch(35.8% 0.101 264.4)
XYZxyz(5.0699, 4.4413, 16.2097)
Luminance0.0444 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#213971 #715921
analogous
#216171 #213971 #312171
triadic
#213971 #712139 #397121
tetradic
#213971 #712161 #715921 #217131
square
#213971 #712161 #715921 #217131
split-complementary
#213971 #713121 #617121
monochromatic
#070C18 #132142 #213971 #2F51A0 #446CC8

Accessibility & contrast

On white

11.12
#213971 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.89
#213971 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #213971
11.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##213971#FFFFFF#000000##FFFFFF
##2139711.0011.121.8911.12
#FFFFFF11.121.0021.001.00
#0000001.8921.001.0021.00
##FFFFFF11.121.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #213971;
/* rgb */ color: rgb(33, 57, 113);
/* oklch */ color: oklch(35.8% 0.101 264.4);
Tailwind
colors: {
  custom: {
    50: '#676e9a',
    500: '#213971',
    950: '#000000',
  },
}
SCSS
$custom: #213971;
$custom-light: #676e9a;
$custom-dark: #000000;
JSON
{
  "hex": "#213971",
  "rgb": {
    "r": 33,
    "g": 57,
    "b": 113
  },
  "hsl": {
    "h": 222,
    "s": 54.795,
    "l": 28.627
  },
  "oklch": {
    "l": 0.35798,
    "c": 0.10121,
    "h": 264.4
  },
  "luminance": 0.04442
}

Semantic roles & 50–950 ramp

primary
#213971
secondary
#A58949
accent
#B24ADE
background
#F6F6F9
surface
#EBEBF2
border
#C6C6CC
text
#06070E
muted
#7A7A7E

Preview Lab

Preview with #213971

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

Preview Lab → · Contrast checker → · Palette generator →

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