#213B84#213B84

#213B84 is a dark, vivid blue. Relative luminance 0.051; OKLCH L 37.8% C 0.127 H 265.8°. Best body text is #FFFFFF at 10.38:1 contrast (WCAG AA passes).

Color values

HEX#213B84
RGBrgb(33, 59, 132)
HSLhsl(224, 60%, 32%)
HSVhsv(224, 75%, 52%)
CMYKcmyk(75%, 55.3%, 0%, 48.2%)
CIE-LABlab(27.06, 17.31, -43.95)
CIE-LCHlch(27.06, 47.24, 291.50°)
OKLaboklab(37.75% -0.0094 -0.1265)
OKLCHoklch(37.75% 0.127 265.8)
XYZxyz(6.3546, 5.1165, 22.4780)
Luminance0.0512 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#213B84 #846A21
analogous
#216D84 #213B84 #382184
triadic
#213B84 #84213B #3B8421
tetradic
#213B84 #84216D #846A21 #218438
square
#213B84 #84216D #846A21 #218438
split-complementary
#213B84 #843821 #6D8421
monochromatic
#090F22 #152553 #213B84 #2D51B5 #4D70D2

Accessibility & contrast

On white

10.38
#213B84 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.02
#213B84 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #213B84
10.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##213B84#FFFFFF#000000##FFFFFF
##213B841.0010.382.0210.38
#FFFFFF10.381.0021.001.00
#0000002.0221.001.0021.00
##FFFFFF10.381.0021.001.00

Color blindness preview

Protanopia (red-blind)
#044587
Deuteranopia (green-blind)
#003C83
Tritanopia (blue-blind)
#004D59
Achromatopsia (no color)
#404040

Design tokens & code

CSS
--color: #213b84;
/* rgb */ color: rgb(33, 59, 132);
/* oklch */ color: oklch(37.8% 0.127 265.8);
Tailwind
colors: {
  custom: {
    50: '#6b70a8',
    500: '#213b84',
    950: '#000000',
  },
}
SCSS
$custom: #213b84;
$custom-light: #6b70a8;
$custom-dark: #000000;
JSON
{
  "hex": "#213b84",
  "rgb": {
    "r": 33,
    "g": 59,
    "b": 132
  },
  "hsl": {
    "h": 224.242,
    "s": 60,
    "l": 32.353
  },
  "oklch": {
    "l": 0.37751,
    "c": 0.12689,
    "h": 265.8
  },
  "luminance": 0.05117
}

Semantic roles & 50–950 ramp

primary
#213B84
secondary
#B69A4B
accent
#BA45E3
background
#F6F6FA
surface
#ECECF4
border
#C7C7CE
text
#070710
muted
#7A7A7F

Preview Lab

Preview with #213B84

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

Preview Lab → · Contrast checker → · Palette generator →

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