#213A84#213A84

#213A84 is a dark, vivid blue. Relative luminance 0.050; OKLCH L 37.5% C 0.128 H 266.2°. Best body text is #FFFFFF at 10.48:1 contrast (WCAG AA passes).

Color values

HEX#213A84
RGBrgb(33, 58, 132)
HSLhsl(225, 60%, 32%)
HSVhsv(225, 75%, 52%)
CMYKcmyk(75%, 56.1%, 0%, 48.2%)
CIE-LABlab(26.78, 18.01, -44.42)
CIE-LCHlch(26.78, 47.93, 292.07°)
OKLaboklab(37.53% -0.0085 -0.1279)
OKLCHoklch(37.53% 0.128 266.2)
XYZxyz(6.3037, 5.0147, 22.4610)
Luminance0.0502 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#213A84 #846B21
analogous
#216C84 #213A84 #392184
triadic
#213A84 #84213A #3A8421
tetradic
#213A84 #84216C #846B21 #218439
square
#213A84 #84216C #846B21 #218439
split-complementary
#213A84 #843921 #6C8421
monochromatic
#090F22 #152453 #213A84 #2D50B5 #4D6FD2

Accessibility & contrast

On white

10.48
#213A84 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.00
#213A84 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #213A84
10.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##213A84#FFFFFF#000000##FFFFFF
##213A841.0010.482.0010.48
#FFFFFF10.481.0021.001.00
#0000002.0021.001.0021.00
##FFFFFF10.481.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004487
Deuteranopia (green-blind)
#003B83
Tritanopia (blue-blind)
#004C59
Achromatopsia (no color)
#3F3F3F

Design tokens & code

CSS
--color: #213a84;
/* rgb */ color: rgb(33, 58, 132);
/* oklch */ color: oklch(37.5% 0.128 266.2);
Tailwind
colors: {
  custom: {
    50: '#6b6fa8',
    500: '#213a84',
    950: '#000000',
  },
}
SCSS
$custom: #213a84;
$custom-light: #6b6fa8;
$custom-dark: #000000;
JSON
{
  "hex": "#213a84",
  "rgb": {
    "r": 33,
    "g": 58,
    "b": 132
  },
  "hsl": {
    "h": 224.848,
    "s": 60,
    "l": 32.353
  },
  "oklch": {
    "l": 0.37534,
    "c": 0.12821,
    "h": 266.2
  },
  "luminance": 0.05015
}

Semantic roles & 50–950 ramp

primary
#213A84
secondary
#B69B4B
accent
#BB45E3
background
#F6F6FA
surface
#ECECF4
border
#C7C7CE
text
#070710
muted
#7A7A7F

Preview Lab

Preview with #213A84

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

Preview Lab → · Contrast checker → · Palette generator →

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