#213A88#213A88

#213A88 is a dark, vivid blue. Relative luminance 0.051; OKLCH L 37.9% C 0.134 H 266.5°. Best body text is #FFFFFF at 10.37:1 contrast (WCAG AA passes).

Color values

HEX#213A88
RGBrgb(33, 58, 136)
HSLhsl(225, 61%, 33%)
HSVhsv(225, 76%, 53%)
CMYKcmyk(75.7%, 57.4%, 0%, 46.7%)
CIE-LABlab(27.09, 19.59, -46.40)
CIE-LCHlch(27.09, 50.37, 292.89°)
OKLaboklab(37.87% -0.0082 -0.1337)
OKLCHoklch(37.87% 0.134 266.5)
XYZxyz(6.5826, 5.1263, 23.9303)
Luminance0.0513 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#213A88 #886F21
analogous
#216D88 #213A88 #3B2188
triadic
#213A88 #88213A #3A8821
tetradic
#213A88 #88216D #886F21 #21883B
square
#213A88 #88216D #886F21 #21883B
split-complementary
#213A88 #883B21 #6D8821
monochromatic
#091025 #152557 #213A88 #2D4FB9 #4F6FD4

Accessibility & contrast

On white

10.37
#213A88 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.03
#213A88 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #213A88
10.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##213A88#FFFFFF#000000##FFFFFF
##213A881.0010.372.0310.37
#FFFFFF10.371.0021.001.00
#0000002.0321.001.0021.00
##FFFFFF10.371.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00458B
Deuteranopia (green-blind)
#003B86
Tritanopia (blue-blind)
#004D5B
Achromatopsia (no color)
#404040

Design tokens & code

CSS
--color: #213a88;
/* rgb */ color: rgb(33, 58, 136);
/* oklch */ color: oklch(37.9% 0.134 266.5);
Tailwind
colors: {
  custom: {
    50: '#6c6fab',
    500: '#213a88',
    950: '#000000',
  },
}
SCSS
$custom: #213a88;
$custom-light: #6c6fab;
$custom-dark: #000000;
JSON
{
  "hex": "#213a88",
  "rgb": {
    "r": 33,
    "g": 58,
    "b": 136
  },
  "hsl": {
    "h": 225.437,
    "s": 60.947,
    "l": 33.137
  },
  "oklch": {
    "l": 0.37871,
    "c": 0.134,
    "h": 266.5
  },
  "luminance": 0.05127
}

Semantic roles & 50–950 ramp

primary
#213A88
secondary
#B89E4D
accent
#BD44E4
background
#F6F6FA
surface
#ECECF4
border
#C7C7CE
text
#080710
muted
#7A7A7F

Preview Lab

Preview with #213A88

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

Preview Lab → · Contrast checker → · Palette generator →

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