#213A82#213A82

#213A82 is a dark, vivid blue. Relative luminance 0.050; OKLCH L 37.4% C 0.125 H 266.0°. Best body text is #FFFFFF at 10.54:1 contrast (WCAG AA passes).

Color values

HEX#213A82
RGBrgb(33, 58, 130)
HSLhsl(225, 60%, 32%)
HSVhsv(225, 75%, 51%)
CMYKcmyk(74.6%, 55.4%, 0%, 49%)
CIE-LABlab(26.62, 17.21, -43.42)
CIE-LCHlch(26.62, 46.71, 291.62°)
OKLaboklab(37.37% -0.0087 -0.125)
OKLCHoklch(37.37% 0.125 266)
XYZxyz(6.1681, 4.9605, 21.7472)
Luminance0.0496 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#213A82 #826921
analogous
#216B82 #213A82 #392182
triadic
#213A82 #82213A #3A8221
tetradic
#213A82 #82216B #826921 #218239
square
#213A82 #82216B #826921 #218239
split-complementary
#213A82 #823921 #6B8221
monochromatic
#080E20 #152451 #213A82 #2D50B3 #4C6ED2

Accessibility & contrast

On white

10.54
#213A82 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.99
#213A82 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #213A82
10.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##213A82#FFFFFF#000000##FFFFFF
##213A821.0010.541.9910.54
#FFFFFF10.541.0021.001.00
#0000001.9921.001.0021.00
##FFFFFF10.541.0021.001.00

Color blindness preview

Protanopia (red-blind)
#044485
Deuteranopia (green-blind)
#003B81
Tritanopia (blue-blind)
#004B58
Achromatopsia (no color)
#3F3F3F

Design tokens & code

CSS
--color: #213a82;
/* rgb */ color: rgb(33, 58, 130);
/* oklch */ color: oklch(37.4% 0.125 266.0);
Tailwind
colors: {
  custom: {
    50: '#6a6fa7',
    500: '#213a82',
    950: '#000000',
  },
}
SCSS
$custom: #213a82;
$custom-light: #6a6fa7;
$custom-dark: #000000;
JSON
{
  "hex": "#213a82",
  "rgb": {
    "r": 33,
    "g": 58,
    "b": 130
  },
  "hsl": {
    "h": 224.536,
    "s": 59.509,
    "l": 31.961
  },
  "oklch": {
    "l": 0.37368,
    "c": 0.12529,
    "h": 266
  },
  "luminance": 0.04961
}

Semantic roles & 50–950 ramp

primary
#213A82
secondary
#B4994A
accent
#BA45E3
background
#F6F6FA
surface
#ECECF4
border
#C7C7CE
text
#07070F
muted
#7A7A7F

Preview Lab

Preview with #213A82

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

Preview Lab → · Contrast checker → · Palette generator →

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