#213B71#213B71

#213B71 is a dark, moderate blue. Relative luminance 0.046; OKLCH L 36.3% C 0.099 H 263.1°. Best body text is #FFFFFF at 10.89:1 contrast (WCAG AA passes).

Color values

HEX#213B71
RGBrgb(33, 59, 113)
HSLhsl(221, 55%, 29%)
HSVhsv(221, 71%, 44%)
CMYKcmyk(70.8%, 47.8%, 0%, 55.7%)
CIE-LABlab(25.69, 9.75, -34.19)
CIE-LCHlch(25.69, 35.55, 285.91°)
OKLaboklab(36.27% -0.0119 -0.0978)
OKLCHoklch(36.27% 0.099 263.1)
XYZxyz(5.1707, 4.6430, 16.2433)
Luminance0.0464 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#213B71 #715721
analogous
#216371 #213B71 #2F2171
triadic
#213B71 #71213B #3B7121
tetradic
#213B71 #712163 #715721 #21712F
square
#213B71 #712163 #715721 #21712F
split-complementary
#213B71 #712F21 #637121
monochromatic
#070C18 #132242 #213B71 #2F54A0 #446FC8

Accessibility & contrast

On white

10.89
#213B71 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.93
#213B71 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #213B71
10.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##213B71#FFFFFF#000000##FFFFFF
##213B711.0010.891.9310.89
#FFFFFF10.891.0021.001.00
#0000001.9321.001.0021.00
##FFFFFF10.891.0021.001.00

Color blindness preview

Protanopia (red-blind)
#204173
Deuteranopia (green-blind)
#113970
Tritanopia (blue-blind)
#004750
Achromatopsia (no color)
#3D3D3D

Design tokens & code

CSS
--color: #213b71;
/* rgb */ color: rgb(33, 59, 113);
/* oklch */ color: oklch(36.3% 0.099 263.1);
Tailwind
colors: {
  custom: {
    50: '#66709a',
    500: '#213b71',
    950: '#000000',
  },
}
SCSS
$custom: #213b71;
$custom-light: #66709a;
$custom-dark: #000000;
JSON
{
  "hex": "#213b71",
  "rgb": {
    "r": 33,
    "g": 59,
    "b": 113
  },
  "hsl": {
    "h": 220.5,
    "s": 54.795,
    "l": 28.627
  },
  "oklch": {
    "l": 0.36268,
    "c": 0.09853,
    "h": 263.1
  },
  "luminance": 0.04644
}

Semantic roles & 50–950 ramp

primary
#213B71
secondary
#A58749
accent
#AE4ADE
background
#F6F6F9
surface
#EBECF2
border
#C6C7CC
text
#06070E
muted
#7A7A7E

Preview Lab

Preview with #213B71

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

Preview Lab → · Contrast checker → · Palette generator →

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