#213386#213386

#213386 is a dark, vivid blue. Relative luminance 0.044; OKLCH L 36.2% C 0.140 H 268.8°. Best body text is #FFFFFF at 11.16:1 contrast (WCAG AA passes).

Color values

HEX#213386
RGBrgb(33, 51, 134)
HSLhsl(229, 60%, 33%)
HSVhsv(229, 75%, 53%)
CMYKcmyk(75.4%, 61.9%, 0%, 47.5%)
CIE-LABlab(24.99, 23.65, -48.58)
CIE-LCHlch(24.99, 54.03, 295.96°)
OKLaboklab(36.25% -0.0028 -0.1403)
OKLCHoklch(36.25% 0.14 268.8)
XYZxyz(6.1126, 4.4116, 23.0790)
Luminance0.0441 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#213386 #867421
analogous
#216586 #213386 #412186
triadic
#213386 #862133 #338621
tetradic
#213386 #862165 #867421 #218641
square
#213386 #862165 #867421 #218641
split-complementary
#213386 #864121 #658621
monochromatic
#090E24 #152055 #213386 #2D46B7 #4E66D3

Accessibility & contrast

On white

11.16
#213386 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.88
#213386 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #213386
11.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##213386#FFFFFF#000000##FFFFFF
##2133861.0011.161.8811.16
#FFFFFF11.161.0021.001.00
#0000001.8821.001.0021.00
##FFFFFF11.161.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004089
Deuteranopia (green-blind)
#003784
Tritanopia (blue-blind)
#004857
Achromatopsia (no color)
#3B3B3B

Design tokens & code

CSS
--color: #213386;
/* rgb */ color: rgb(33, 51, 134);
/* oklch */ color: oklch(36.2% 0.140 268.8);
Tailwind
colors: {
  custom: {
    50: '#6c6aaa',
    500: '#213386',
    950: '#000000',
  },
}
SCSS
$custom: #213386;
$custom-light: #6c6aaa;
$custom-dark: #000000;
JSON
{
  "hex": "#213386",
  "rgb": {
    "r": 33,
    "g": 51,
    "b": 134
  },
  "hsl": {
    "h": 229.307,
    "s": 60.479,
    "l": 32.745
  },
  "oklch": {
    "l": 0.36246,
    "c": 0.14028,
    "h": 268.8
  },
  "luminance": 0.04412
}

Semantic roles & 50–950 ramp

primary
#213386
secondary
#B7A44C
accent
#C744E4
background
#F7F6FA
surface
#EDEBF4
border
#C8C6CE
text
#080610
muted
#7B7A7F

Preview Lab

Preview with #213386

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

Preview Lab → · Contrast checker → · Palette generator →

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