#213A71#213A71

#213A71 is a dark, moderate blue. Relative luminance 0.045; OKLCH L 36.0% C 0.100 H 263.8°. Best body text is #FFFFFF at 11.00:1 contrast (WCAG AA passes).

Color values

HEX#213A71
RGBrgb(33, 58, 113)
HSLhsl(221, 55%, 29%)
HSVhsv(221, 71%, 44%)
CMYKcmyk(70.8%, 48.7%, 0%, 55.7%)
CIE-LABlab(25.39, 10.45, -34.68)
CIE-LCHlch(25.39, 36.22, 286.76°)
OKLaboklab(36.03% -0.0109 -0.0993)
OKLCHoklch(36.03% 0.1 263.8)
XYZxyz(5.1198, 4.5412, 16.2263)
Luminance0.0454 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#213A71 #715821
analogous
#216271 #213A71 #302171
triadic
#213A71 #71213A #3A7121
tetradic
#213A71 #712162 #715821 #217130
square
#213A71 #712162 #715821 #217130
split-complementary
#213A71 #713021 #627121
monochromatic
#070C18 #132242 #213A71 #2F52A0 #446DC8

Accessibility & contrast

On white

11.00
#213A71 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.91
#213A71 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #213A71
11.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##213A71#FFFFFF#000000##FFFFFF
##213A711.0011.001.9111.00
#FFFFFF11.001.0021.001.00
#0000001.9121.001.0021.00
##FFFFFF11.001.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1E4073
Deuteranopia (green-blind)
#0E3970
Tritanopia (blue-blind)
#004750
Achromatopsia (no color)
#3C3C3C

Design tokens & code

CSS
--color: #213a71;
/* rgb */ color: rgb(33, 58, 113);
/* oklch */ color: oklch(36.0% 0.100 263.8);
Tailwind
colors: {
  custom: {
    50: '#666f9a',
    500: '#213a71',
    950: '#000000',
  },
}
SCSS
$custom: #213a71;
$custom-light: #666f9a;
$custom-dark: #000000;
JSON
{
  "hex": "#213a71",
  "rgb": {
    "r": 33,
    "g": 58,
    "b": 113
  },
  "hsl": {
    "h": 221.25,
    "s": 54.795,
    "l": 28.627
  },
  "oklch": {
    "l": 0.36032,
    "c": 0.09986,
    "h": 263.8
  },
  "luminance": 0.04542
}

Semantic roles & 50–950 ramp

primary
#213A71
secondary
#A58849
accent
#B04ADE
background
#F6F6F9
surface
#EBECF2
border
#C6C7CC
text
#06070E
muted
#7A7A7E

Preview Lab

Preview with #213A71

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

Preview Lab → · Contrast checker → · Palette generator →

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