#213C71#213C71

#213C71 is a dark, moderate blue. Relative luminance 0.047; OKLCH L 36.5% C 0.097 H 262.3°. Best body text is #FFFFFF at 10.77:1 contrast (WCAG AA passes).

Color values

HEX#213C71
RGBrgb(33, 60, 113)
HSLhsl(220, 55%, 29%)
HSVhsv(220, 71%, 44%)
CMYKcmyk(70.8%, 46.9%, 0%, 55.7%)
CIE-LABlab(26.00, 9.05, -33.69)
CIE-LCHlch(26.00, 34.89, 285.03°)
OKLaboklab(36.5% -0.013 -0.0963)
OKLCHoklch(36.5% 0.097 262.3)
XYZxyz(5.2226, 4.7468, 16.2606)
Luminance0.0475 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#213C71 #715621
analogous
#216471 #213C71 #2E2171
triadic
#213C71 #71213C #3C7121
tetradic
#213C71 #712164 #715621 #21712E
square
#213C71 #712164 #715621 #21712E
split-complementary
#213C71 #712E21 #647121
monochromatic
#070D18 #132342 #213C71 #2F55A0 #4471C8

Accessibility & contrast

On white

10.77
#213C71 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.95
#213C71 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #213C71
10.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##213C71#FFFFFF#000000##FFFFFF
##213C711.0010.771.9510.77
#FFFFFF10.771.0021.001.00
#0000001.9521.001.0021.00
##FFFFFF10.771.0021.001.00

Color blindness preview

Protanopia (red-blind)
#224173
Deuteranopia (green-blind)
#143A70
Tritanopia (blue-blind)
#004851
Achromatopsia (no color)
#3E3E3E

Design tokens & code

CSS
--color: #213c71;
/* rgb */ color: rgb(33, 60, 113);
/* oklch */ color: oklch(36.5% 0.097 262.3);
Tailwind
colors: {
  custom: {
    50: '#66719a',
    500: '#213c71',
    950: '#000000',
  },
}
SCSS
$custom: #213c71;
$custom-light: #66719a;
$custom-dark: #000000;
JSON
{
  "hex": "#213c71",
  "rgb": {
    "r": 33,
    "g": 60,
    "b": 113
  },
  "hsl": {
    "h": 219.75,
    "s": 54.795,
    "l": 28.627
  },
  "oklch": {
    "l": 0.36505,
    "c": 0.09721,
    "h": 262.3
  },
  "luminance": 0.04747
}

Semantic roles & 50–950 ramp

primary
#213C71
secondary
#A58649
accent
#AC4ADE
background
#F6F6F9
surface
#EBECF2
border
#C6C7CC
text
#06070E
muted
#7A7A7E

Preview Lab

Preview with #213C71

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

Preview Lab → · Contrast checker → · Palette generator →

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