#213C82#213C82

#213C82 is a dark, vivid blue. Relative luminance 0.052; OKLCH L 37.8% C 0.123 H 265.1°. Best body text is #FFFFFF at 10.33:1 contrast (WCAG AA passes).

Color values

HEX#213C82
RGBrgb(33, 60, 130)
HSLhsl(223, 60%, 32%)
HSVhsv(223, 75%, 51%)
CMYKcmyk(74.6%, 53.8%, 0%, 49%)
CIE-LABlab(27.20, 15.82, -42.48)
CIE-LCHlch(27.20, 45.33, 290.42°)
OKLaboklab(37.81% -0.0104 -0.1222)
OKLCHoklch(37.81% 0.123 265.1)
XYZxyz(6.2709, 5.1661, 21.7814)
Luminance0.0517 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#213C82 #826721
analogous
#216D82 #213C82 #372182
triadic
#213C82 #82213C #3C8221
tetradic
#213C82 #82216D #826721 #218237
square
#213C82 #82216D #826721 #218237
split-complementary
#213C82 #823721 #6D8221
monochromatic
#080F20 #152551 #213C82 #2D53B3 #4C71D2

Accessibility & contrast

On white

10.33
#213C82 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.03
#213C82 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #213C82
10.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##213C82#FFFFFF#000000##FFFFFF
##213C821.0010.332.0310.33
#FFFFFF10.331.0021.001.00
#0000002.0321.001.0021.00
##FFFFFF10.331.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0D4584
Deuteranopia (green-blind)
#003C81
Tritanopia (blue-blind)
#004D59
Achromatopsia (no color)
#404040

Design tokens & code

CSS
--color: #213c82;
/* rgb */ color: rgb(33, 60, 130);
/* oklch */ color: oklch(37.8% 0.123 265.1);
Tailwind
colors: {
  custom: {
    50: '#6a71a7',
    500: '#213c82',
    950: '#000000',
  },
}
SCSS
$custom: #213c82;
$custom-light: #6a71a7;
$custom-dark: #000000;
JSON
{
  "hex": "#213c82",
  "rgb": {
    "r": 33,
    "g": 60,
    "b": 130
  },
  "hsl": {
    "h": 223.299,
    "s": 59.509,
    "l": 31.961
  },
  "oklch": {
    "l": 0.37808,
    "c": 0.12264,
    "h": 265.1
  },
  "luminance": 0.05167
}

Semantic roles & 50–950 ramp

primary
#213C82
secondary
#B4974A
accent
#B745E3
background
#F6F6FA
surface
#ECECF4
border
#C7C7CE
text
#07070F
muted
#7A7A7F

Preview Lab

Preview with #213C82

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

Preview Lab → · Contrast checker → · Palette generator →

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