#213B86#213B86

#213B86 is a dark, vivid blue. Relative luminance 0.052; OKLCH L 37.9% C 0.130 H 265.9°. Best body text is #FFFFFF at 10.32:1 contrast (WCAG AA passes).

Color values

HEX#213B86
RGBrgb(33, 59, 134)
HSLhsl(225, 60%, 33%)
HSVhsv(225, 75%, 53%)
CMYKcmyk(75.4%, 56%, 0%, 47.5%)
CIE-LABlab(27.22, 18.11, -44.95)
CIE-LCHlch(27.22, 48.46, 291.94°)
OKLaboklab(37.92% -0.0092 -0.1295)
OKLCHoklch(37.92% 0.13 265.9)
XYZxyz(6.4927, 5.1718, 23.2057)
Luminance0.0517 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#213B86 #866C21
analogous
#216E86 #213B86 #392186
triadic
#213B86 #86213B #3B8621
tetradic
#213B86 #86216E #866C21 #218639
square
#213B86 #86216E #866C21 #218639
split-complementary
#213B86 #863921 #6E8621
monochromatic
#091024 #152555 #213B86 #2D51B7 #4E70D3

Accessibility & contrast

On white

10.32
#213B86 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #213B86
10.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##213B86#FFFFFF#000000##FFFFFF
##213B861.0010.322.0310.32
#FFFFFF10.321.0021.001.00
#0000002.0321.001.0021.00
##FFFFFF10.321.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004589
Deuteranopia (green-blind)
#003C85
Tritanopia (blue-blind)
#004D5A
Achromatopsia (no color)
#404040

Design tokens & code

CSS
--color: #213b86;
/* rgb */ color: rgb(33, 59, 134);
/* oklch */ color: oklch(37.9% 0.130 265.9);
Tailwind
colors: {
  custom: {
    50: '#6b70aa',
    500: '#213b86',
    950: '#000000',
  },
}
SCSS
$custom: #213b86;
$custom-light: #6b70aa;
$custom-dark: #000000;
JSON
{
  "hex": "#213b86",
  "rgb": {
    "r": 33,
    "g": 59,
    "b": 134
  },
  "hsl": {
    "h": 224.554,
    "s": 60.479,
    "l": 32.745
  },
  "oklch": {
    "l": 0.37917,
    "c": 0.1298,
    "h": 265.9
  },
  "luminance": 0.05172
}

Semantic roles & 50–950 ramp

primary
#213B86
secondary
#B79B4C
accent
#BB44E4
background
#F6F6FA
surface
#ECECF4
border
#C7C7CE
text
#080710
muted
#7A7A7F

Preview Lab

Preview with #213B86

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

Preview Lab → · Contrast checker → · Palette generator →

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