#213571#213571

#213571 is a dark, moderate blue. Relative luminance 0.041; OKLCH L 34.9% C 0.107 H 266.9°. Best body text is #FFFFFF at 11.59:1 contrast (WCAG AA passes).

Color values

HEX#213571
RGBrgb(33, 53, 113)
HSLhsl(225, 55%, 29%)
HSVhsv(225, 71%, 44%)
CMYKcmyk(70.8%, 53.1%, 0%, 55.7%)
CIE-LABlab(23.87, 13.97, -37.11)
CIE-LCHlch(23.87, 39.66, 290.62°)
OKLaboklab(34.88% -0.0058 -0.1065)
OKLCHoklch(34.88% 0.107 266.9)
XYZxyz(4.8799, 4.0613, 16.1463)
Luminance0.0406 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#213571 #715D21
analogous
#215D71 #213571 #352171
triadic
#213571 #712135 #357121
tetradic
#213571 #71215D #715D21 #217135
square
#213571 #71215D #715D21 #217135
split-complementary
#213571 #713521 #5D7121
monochromatic
#070B18 #131F42 #213571 #2F4BA0 #4465C8

Accessibility & contrast

On white

11.59
#213571 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.81
#213571 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #213571
11.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##213571#FFFFFF#000000##FFFFFF
##2135711.0011.591.8111.59
#FFFFFF11.591.0021.001.00
#0000001.8121.001.0021.00
##FFFFFF11.591.0021.001.00

Color blindness preview

Protanopia (red-blind)
#123D73
Deuteranopia (green-blind)
#003570
Tritanopia (blue-blind)
#00434D
Achromatopsia (no color)
#393939

Design tokens & code

CSS
--color: #213571;
/* rgb */ color: rgb(33, 53, 113);
/* oklch */ color: oklch(34.9% 0.107 266.9);
Tailwind
colors: {
  custom: {
    50: '#676b9a',
    500: '#213571',
    950: '#000000',
  },
}
SCSS
$custom: #213571;
$custom-light: #676b9a;
$custom-dark: #000000;
JSON
{
  "hex": "#213571",
  "rgb": {
    "r": 33,
    "g": 53,
    "b": 113
  },
  "hsl": {
    "h": 225,
    "s": 54.795,
    "l": 28.627
  },
  "oklch": {
    "l": 0.34878,
    "c": 0.10667,
    "h": 266.9
  },
  "luminance": 0.04062
}

Semantic roles & 50–950 ramp

primary
#213571
secondary
#A58E49
accent
#B94ADE
background
#F6F6F9
surface
#EBEBF2
border
#C6C6CC
text
#06060E
muted
#7A7A7E

Preview Lab

Preview with #213571

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

Preview Lab → · Contrast checker → · Palette generator →

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