#213C86#213C86

#213C86 is a dark, vivid blue. Relative luminance 0.053; OKLCH L 38.1% C 0.128 H 265.5°. Best body text is #FFFFFF at 10.22:1 contrast (WCAG AA passes).

Color values

HEX#213C86
RGBrgb(33, 60, 134)
HSLhsl(224, 60%, 33%)
HSVhsv(224, 75%, 53%)
CMYKcmyk(75.4%, 55.2%, 0%, 47.5%)
CIE-LABlab(27.51, 17.41, -44.48)
CIE-LCHlch(27.51, 47.77, 291.37°)
OKLaboklab(38.13% -0.0101 -0.1281)
OKLCHoklch(38.13% 0.128 265.5)
XYZxyz(6.5446, 5.2756, 23.2230)
Luminance0.0528 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#213C86 #866B21
analogous
#216F86 #213C86 #382186
triadic
#213C86 #86213C #3C8621
tetradic
#213C86 #86216F #866B21 #218638
square
#213C86 #86216F #866B21 #218638
split-complementary
#213C86 #863821 #6F8621
monochromatic
#091024 #152655 #213C86 #2D52B7 #4E72D3

Accessibility & contrast

On white

10.22
#213C86 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.06
#213C86 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #213C86
10.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##213C86#FFFFFF#000000##FFFFFF
##213C861.0010.222.0610.22
#FFFFFF10.221.0021.001.00
#0000002.0621.001.0021.00
##FFFFFF10.221.0021.001.00

Color blindness preview

Protanopia (red-blind)
#034689
Deuteranopia (green-blind)
#003D85
Tritanopia (blue-blind)
#004E5B
Achromatopsia (no color)
#414141

Design tokens & code

CSS
--color: #213c86;
/* rgb */ color: rgb(33, 60, 134);
/* oklch */ color: oklch(38.1% 0.128 265.5);
Tailwind
colors: {
  custom: {
    50: '#6b71aa',
    500: '#213c86',
    950: '#000000',
  },
}
SCSS
$custom: #213c86;
$custom-light: #6b71aa;
$custom-dark: #000000;
JSON
{
  "hex": "#213c86",
  "rgb": {
    "r": 33,
    "g": 60,
    "b": 134
  },
  "hsl": {
    "h": 223.96,
    "s": 60.479,
    "l": 32.745
  },
  "oklch": {
    "l": 0.38134,
    "c": 0.12847,
    "h": 265.5
  },
  "luminance": 0.05276
}

Semantic roles & 50–950 ramp

primary
#213C86
secondary
#B79A4C
accent
#B944E4
background
#F6F6FA
surface
#ECECF4
border
#C7C7CE
text
#080710
muted
#7A7A7F

Preview Lab

Preview with #213C86

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

Preview Lab → · Contrast checker → · Palette generator →

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