#213B82#213B82

#213B82 is a dark, vivid blue. Relative luminance 0.051; OKLCH L 37.6% C 0.124 H 265.6°. Best body text is #FFFFFF at 10.43:1 contrast (WCAG AA passes).

Color values

HEX#213B82
RGBrgb(33, 59, 130)
HSLhsl(224, 60%, 32%)
HSVhsv(224, 75%, 51%)
CMYKcmyk(74.6%, 54.6%, 0%, 49%)
CIE-LABlab(26.91, 16.52, -42.95)
CIE-LCHlch(26.91, 46.02, 291.03°)
OKLaboklab(37.59% -0.0096 -0.1236)
OKLCHoklch(37.59% 0.124 265.6)
XYZxyz(6.2190, 5.0623, 21.7641)
Luminance0.0506 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#213B82 #826821
analogous
#216B82 #213B82 #382182
triadic
#213B82 #82213B #3B8221
tetradic
#213B82 #82216B #826821 #218238
square
#213B82 #82216B #826821 #218238
split-complementary
#213B82 #823821 #6B8221
monochromatic
#080F20 #152551 #213B82 #2D51B3 #4C70D2

Accessibility & contrast

On white

10.43
#213B82 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.01
#213B82 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #213B82
10.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##213B82#FFFFFF#000000##FFFFFF
##213B821.0010.432.0110.43
#FFFFFF10.431.0021.001.00
#0000002.0121.001.0021.00
##FFFFFF10.431.0021.001.00

Color blindness preview

Protanopia (red-blind)
#094485
Deuteranopia (green-blind)
#003B81
Tritanopia (blue-blind)
#004C58
Achromatopsia (no color)
#404040

Design tokens & code

CSS
--color: #213b82;
/* rgb */ color: rgb(33, 59, 130);
/* oklch */ color: oklch(37.6% 0.124 265.6);
Tailwind
colors: {
  custom: {
    50: '#6a70a7',
    500: '#213b82',
    950: '#000000',
  },
}
SCSS
$custom: #213b82;
$custom-light: #6a70a7;
$custom-dark: #000000;
JSON
{
  "hex": "#213b82",
  "rgb": {
    "r": 33,
    "g": 59,
    "b": 130
  },
  "hsl": {
    "h": 223.918,
    "s": 59.509,
    "l": 31.961
  },
  "oklch": {
    "l": 0.37587,
    "c": 0.12396,
    "h": 265.6
  },
  "luminance": 0.05063
}

Semantic roles & 50–950 ramp

primary
#213B82
secondary
#B4984A
accent
#B845E3
background
#F6F6FA
surface
#ECECF4
border
#C7C7CE
text
#07070F
muted
#7A7A7F

Preview Lab

Preview with #213B82

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

Preview Lab → · Contrast checker → · Palette generator →

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