#213C84#213C84

#213C84 is a dark, vivid blue. Relative luminance 0.052; OKLCH L 38.0% C 0.126 H 265.3°. Best body text is #FFFFFF at 10.27:1 contrast (WCAG AA passes).

Color values

HEX#213C84
RGBrgb(33, 60, 132)
HSLhsl(224, 60%, 32%)
HSVhsv(224, 75%, 52%)
CMYKcmyk(75%, 54.5%, 0%, 48.2%)
CIE-LABlab(27.35, 16.62, -43.49)
CIE-LCHlch(27.35, 46.55, 290.91°)
OKLaboklab(37.97% -0.0102 -0.1251)
OKLCHoklch(37.97% 0.126 265.3)
XYZxyz(6.4065, 5.2203, 22.4953)
Luminance0.0522 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#213C84 #846921
analogous
#216E84 #213C84 #372184
triadic
#213C84 #84213C #3C8421
tetradic
#213C84 #84216E #846921 #218437
square
#213C84 #84216E #846921 #218437
split-complementary
#213C84 #843721 #6E8421
monochromatic
#090F22 #152653 #213C84 #2D52B5 #4D71D2

Accessibility & contrast

On white

10.27
#213C84 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.04
#213C84 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #213C84
10.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##213C84#FFFFFF#000000##FFFFFF
##213C841.0010.272.0410.27
#FFFFFF10.271.0021.001.00
#0000002.0421.001.0021.00
##FFFFFF10.271.0021.001.00

Color blindness preview

Protanopia (red-blind)
#094587
Deuteranopia (green-blind)
#003C83
Tritanopia (blue-blind)
#004D5A
Achromatopsia (no color)
#414141

Design tokens & code

CSS
--color: #213c84;
/* rgb */ color: rgb(33, 60, 132);
/* oklch */ color: oklch(38.0% 0.126 265.3);
Tailwind
colors: {
  custom: {
    50: '#6b71a8',
    500: '#213c84',
    950: '#000000',
  },
}
SCSS
$custom: #213c84;
$custom-light: #6b71a8;
$custom-dark: #000000;
JSON
{
  "hex": "#213c84",
  "rgb": {
    "r": 33,
    "g": 60,
    "b": 132
  },
  "hsl": {
    "h": 223.636,
    "s": 60,
    "l": 32.353
  },
  "oklch": {
    "l": 0.3797,
    "c": 0.12557,
    "h": 265.3
  },
  "luminance": 0.05221
}

Semantic roles & 50–950 ramp

primary
#213C84
secondary
#B6994B
accent
#B845E3
background
#F6F6FA
surface
#ECECF4
border
#C7C7CE
text
#070710
muted
#7A7A7F

Preview Lab

Preview with #213C84

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

Preview Lab → · Contrast checker → · Palette generator →

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