#213A80#213A80

#213A80 is a dark, vivid blue. Relative luminance 0.049; OKLCH L 37.2% C 0.122 H 265.8°. Best body text is #FFFFFF at 10.60:1 contrast (WCAG AA passes).

Color values

HEX#213A80
RGBrgb(33, 58, 128)
HSLhsl(224, 59%, 32%)
HSVhsv(224, 74%, 50%)
CMYKcmyk(74.2%, 54.7%, 0%, 49.8%)
CIE-LABlab(26.47, 16.42, -42.42)
CIE-LCHlch(26.47, 45.48, 291.16°)
OKLaboklab(37.2% -0.0089 -0.122)
OKLCHoklch(37.2% 0.122 265.8)
XYZxyz(6.0352, 4.9073, 21.0470)
Luminance0.0491 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#213A80 #806721
analogous
#216A80 #213A80 #382180
triadic
#213A80 #80213A #3A8021
tetradic
#213A80 #80216A #806721 #218038
square
#213A80 #80216A #806721 #218038
split-complementary
#213A80 #803821 #6A8021
monochromatic
#080E1F #14244F #213A80 #2E50B1 #4B6ED1

Accessibility & contrast

On white

10.60
#213A80 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.98
#213A80 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #213A80
10.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##213A80#FFFFFF#000000##FFFFFF
##213A801.0010.601.9810.60
#FFFFFF10.601.0021.001.00
#0000001.9821.001.0021.00
##FFFFFF10.601.0021.001.00

Color blindness preview

Protanopia (red-blind)
#094382
Deuteranopia (green-blind)
#003A7F
Tritanopia (blue-blind)
#004B57
Achromatopsia (no color)
#3F3F3F

Design tokens & code

CSS
--color: #213a80;
/* rgb */ color: rgb(33, 58, 128);
/* oklch */ color: oklch(37.2% 0.122 265.8);
Tailwind
colors: {
  custom: {
    50: '#6a6fa5',
    500: '#213a80',
    950: '#000000',
  },
}
SCSS
$custom: #213a80;
$custom-light: #6a6fa5;
$custom-dark: #000000;
JSON
{
  "hex": "#213a80",
  "rgb": {
    "r": 33,
    "g": 58,
    "b": 128
  },
  "hsl": {
    "h": 224.211,
    "s": 59.006,
    "l": 31.569
  },
  "oklch": {
    "l": 0.37204,
    "c": 0.12236,
    "h": 265.8
  },
  "luminance": 0.04908
}

Semantic roles & 50–950 ramp

primary
#213A80
secondary
#B3974A
accent
#B946E2
background
#F6F6FA
surface
#ECECF4
border
#C7C7CE
text
#07070F
muted
#7A7A7F

Preview Lab

Preview with #213A80

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

Preview Lab → · Contrast checker → · Palette generator →

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