#213D71#213D71

#213D71 is a dark, moderate blue. Relative luminance 0.049; OKLCH L 36.7% C 0.096 H 261.6°. Best body text is #FFFFFF at 10.66:1 contrast (WCAG AA passes).

Color values

HEX#213D71
RGBrgb(33, 61, 113)
HSLhsl(219, 55%, 29%)
HSVhsv(219, 71%, 44%)
CMYKcmyk(70.8%, 46%, 0%, 55.7%)
CIE-LABlab(26.31, 8.35, -33.20)
CIE-LCHlch(26.31, 34.23, 284.13°)
OKLaboklab(36.74% -0.014 -0.0949)
OKLCHoklch(36.74% 0.096 261.6)
XYZxyz(5.2755, 4.8525, 16.2782)
Luminance0.0485 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#213D71 #715521
analogous
#216571 #213D71 #2D2171
triadic
#213D71 #71213D #3D7121
tetradic
#213D71 #712165 #715521 #21712D
square
#213D71 #712165 #715521 #21712D
split-complementary
#213D71 #712D21 #657121
monochromatic
#070D18 #132342 #213D71 #2F57A0 #4472C8

Accessibility & contrast

On white

10.66
#213D71 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.97
#213D71 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #213D71
10.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##213D71#FFFFFF#000000##FFFFFF
##213D711.0010.661.9710.66
#FFFFFF10.661.0021.001.00
#0000001.9721.001.0021.00
##FFFFFF10.661.0021.001.00

Color blindness preview

Protanopia (red-blind)
#244273
Deuteranopia (green-blind)
#163B70
Tritanopia (blue-blind)
#004951
Achromatopsia (no color)
#3E3E3E

Design tokens & code

CSS
--color: #213d71;
/* rgb */ color: rgb(33, 61, 113);
/* oklch */ color: oklch(36.7% 0.096 261.6);
Tailwind
colors: {
  custom: {
    50: '#66729a',
    500: '#213d71',
    950: '#000000',
  },
}
SCSS
$custom: #213d71;
$custom-light: #66729a;
$custom-dark: #000000;
JSON
{
  "hex": "#213d71",
  "rgb": {
    "r": 33,
    "g": 61,
    "b": 113
  },
  "hsl": {
    "h": 219,
    "s": 54.795,
    "l": 28.627
  },
  "oklch": {
    "l": 0.36743,
    "c": 0.09589,
    "h": 261.6
  },
  "luminance": 0.04853
}

Semantic roles & 50–950 ramp

primary
#213D71
secondary
#A58549
accent
#AA4ADE
background
#F6F6F9
surface
#EBECF2
border
#C6C7CC
text
#06070E
muted
#7A7A7E

Preview Lab

Preview with #213D71

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

Preview Lab → · Contrast checker → · Palette generator →

#213D71 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva