#213A86#213A86

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

Color values

HEX#213A86
RGBrgb(33, 58, 134)
HSLhsl(225, 60%, 33%)
HSVhsv(225, 75%, 53%)
CMYKcmyk(75.4%, 56.7%, 0%, 47.5%)
CIE-LABlab(26.93, 18.80, -45.41)
CIE-LCHlch(26.93, 49.15, 292.49°)
OKLaboklab(37.7% -0.0084 -0.1308)
OKLCHoklch(37.7% 0.131 266.3)
XYZxyz(6.4418, 5.0700, 23.1887)
Luminance0.0507 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#213A86 #866D21
analogous
#216C86 #213A86 #3B2186
triadic
#213A86 #86213A #3A8621
tetradic
#213A86 #86216C #866D21 #21863B
square
#213A86 #86216C #866D21 #21863B
split-complementary
#213A86 #863B21 #6C8621
monochromatic
#090F24 #152555 #213A86 #2D4FB7 #4E6FD3

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##213A86#FFFFFF#000000##FFFFFF
##213A861.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)
#004589
Deuteranopia (green-blind)
#003B84
Tritanopia (blue-blind)
#004D5A
Achromatopsia (no color)
#404040

Design tokens & code

CSS
--color: #213a86;
/* rgb */ color: rgb(33, 58, 134);
/* oklch */ color: oklch(37.7% 0.131 266.3);
Tailwind
colors: {
  custom: {
    50: '#6b6faa',
    500: '#213a86',
    950: '#000000',
  },
}
SCSS
$custom: #213a86;
$custom-light: #6b6faa;
$custom-dark: #000000;
JSON
{
  "hex": "#213a86",
  "rgb": {
    "r": 33,
    "g": 58,
    "b": 134
  },
  "hsl": {
    "h": 225.149,
    "s": 60.479,
    "l": 32.745
  },
  "oklch": {
    "l": 0.37702,
    "c": 0.13112,
    "h": 266.3
  },
  "luminance": 0.05071
}

Semantic roles & 50–950 ramp

primary
#213A86
secondary
#B79C4C
accent
#BC44E4
background
#F6F6FA
surface
#ECECF4
border
#C7C7CE
text
#080710
muted
#7A7A7F

Preview Lab

Preview with #213A86

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

Preview Lab → · Contrast checker → · Palette generator →

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