#213986#213986

#213986 is a dark, vivid blue. Relative luminance 0.050; OKLCH L 37.5% C 0.132 H 266.7°. Best body text is #FFFFFF at 10.53:1 contrast (WCAG AA passes).

Color values

HEX#213986
RGBrgb(33, 57, 134)
HSLhsl(226, 60%, 33%)
HSVhsv(226, 75%, 53%)
CMYKcmyk(75.4%, 57.5%, 0%, 47.5%)
CIE-LABlab(26.65, 19.50, -45.87)
CIE-LCHlch(26.65, 49.84, 293.02°)
OKLaboklab(37.49% -0.0076 -0.1322)
OKLCHoklch(37.49% 0.132 266.7)
XYZxyz(6.3919, 4.9701, 23.1721)
Luminance0.0497 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#213986 #866E21
analogous
#216B86 #213986 #3C2186
triadic
#213986 #862139 #398621
tetradic
#213986 #86216B #866E21 #21863C
square
#213986 #86216B #866E21 #21863C
split-complementary
#213986 #863C21 #6B8621
monochromatic
#090F24 #152455 #213986 #2D4EB7 #4E6ED3

Accessibility & contrast

On white

10.53
#213986 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.99
#213986 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #213986
10.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##213986#FFFFFF#000000##FFFFFF
##2139861.0010.531.9910.53
#FFFFFF10.531.0021.001.00
#0000001.9921.001.0021.00
##FFFFFF10.531.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004489
Deuteranopia (green-blind)
#003B84
Tritanopia (blue-blind)
#004C59
Achromatopsia (no color)
#3F3F3F

Design tokens & code

CSS
--color: #213986;
/* rgb */ color: rgb(33, 57, 134);
/* oklch */ color: oklch(37.5% 0.132 266.7);
Tailwind
colors: {
  custom: {
    50: '#6c6faa',
    500: '#213986',
    950: '#000000',
  },
}
SCSS
$custom: #213986;
$custom-light: #6c6faa;
$custom-dark: #000000;
JSON
{
  "hex": "#213986",
  "rgb": {
    "r": 33,
    "g": 57,
    "b": 134
  },
  "hsl": {
    "h": 225.743,
    "s": 60.479,
    "l": 32.745
  },
  "oklch": {
    "l": 0.37488,
    "c": 0.13244,
    "h": 266.7
  },
  "luminance": 0.04971
}

Semantic roles & 50–950 ramp

primary
#213986
secondary
#B79D4C
accent
#BE44E4
background
#F6F6FA
surface
#ECECF4
border
#C7C7CE
text
#080710
muted
#7A7A7F

Preview Lab

Preview with #213986

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

Preview Lab → · Contrast checker → · Palette generator →

#213986 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva