#213486#213486

#213486 is a dark, vivid blue. Relative luminance 0.045; OKLCH L 36.4% C 0.139 H 268.5°. Best body text is #FFFFFF at 11.05:1 contrast (WCAG AA passes).

Color values

HEX#213486
RGBrgb(33, 52, 134)
HSLhsl(229, 60%, 33%)
HSVhsv(229, 75%, 53%)
CMYKcmyk(75.4%, 61.2%, 0%, 47.5%)
CIE-LABlab(25.26, 22.96, -48.14)
CIE-LCHlch(25.26, 53.33, 295.50°)
OKLaboklab(36.45% -0.0036 -0.1389)
OKLCHoklch(36.45% 0.139 268.5)
XYZxyz(6.1568, 4.4999, 23.0937)
Luminance0.0450 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#213486 #867321
analogous
#216686 #213486 #412186
triadic
#213486 #862134 #348621
tetradic
#213486 #862166 #867321 #218641
square
#213486 #862166 #867321 #218641
split-complementary
#213486 #864121 #668621
monochromatic
#090E24 #152155 #213486 #2D47B7 #4E67D3

Accessibility & contrast

On white

11.05
#213486 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.90
#213486 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #213486
11.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##213486#FFFFFF#000000##FFFFFF
##2134861.0011.051.9011.05
#FFFFFF11.051.0021.001.00
#0000001.9021.001.0021.00
##FFFFFF11.051.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004189
Deuteranopia (green-blind)
#003784
Tritanopia (blue-blind)
#004957
Achromatopsia (no color)
#3C3C3C

Design tokens & code

CSS
--color: #213486;
/* rgb */ color: rgb(33, 52, 134);
/* oklch */ color: oklch(36.4% 0.139 268.5);
Tailwind
colors: {
  custom: {
    50: '#6c6baa',
    500: '#213486',
    950: '#000000',
  },
}
SCSS
$custom: #213486;
$custom-light: #6c6baa;
$custom-dark: #000000;
JSON
{
  "hex": "#213486",
  "rgb": {
    "r": 33,
    "g": 52,
    "b": 134
  },
  "hsl": {
    "h": 228.713,
    "s": 60.479,
    "l": 32.745
  },
  "oklch": {
    "l": 0.36448,
    "c": 0.13899,
    "h": 268.5
  },
  "luminance": 0.04501
}

Semantic roles & 50–950 ramp

primary
#213486
secondary
#B7A34C
accent
#C644E4
background
#F6F6FA
surface
#ECEBF4
border
#C7C6CE
text
#080610
muted
#7A7A7F

Preview Lab

Preview with #213486

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

Preview Lab → · Contrast checker → · Palette generator →

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