#213496#213496

#213496 is a dark, vivid blue. Relative luminance 0.050; OKLCH L 37.9% C 0.161 H 268.6°. Best body text is #FFFFFF at 10.52:1 contrast (WCAG AA passes).

Color values

HEX#213496
RGBrgb(33, 52, 150)
HSLhsl(230, 64%, 36%)
HSVhsv(230, 78%, 59%)
CMYKcmyk(78%, 65.3%, 0%, 41.2%)
CIE-LABlab(26.68, 29.14, -55.72)
CIE-LCHlch(26.68, 62.87, 297.61°)
OKLaboklab(37.94% -0.0039 -0.1612)
OKLCHoklch(37.94% 0.161 268.6)
XYZxyz(7.3583, 4.9805, 29.4218)
Luminance0.0498 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#213496 #968321
analogous
#216E96 #213496 #482196
triadic
#213496 #962134 #349621
tetradic
#213496 #96216E #968321 #219648
square
#213496 #96216E #968321 #219648
split-complementary
#213496 #964821 #6E9621
monochromatic
#0B1132 #162364 #213496 #2C45C8 #576DDA

Accessibility & contrast

On white

10.52
#213496 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.00
#213496 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #213496
10.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##213496#FFFFFF#000000##FFFFFF
##2134961.0010.522.0010.52
#FFFFFF10.521.0021.001.00
#0000002.0021.001.0021.00
##FFFFFF10.521.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004599
Deuteranopia (green-blind)
#003A94
Tritanopia (blue-blind)
#004E60
Achromatopsia (no color)
#3F3F3F

Design tokens & code

CSS
--color: #213496;
/* rgb */ color: rgb(33, 52, 150);
/* oklch */ color: oklch(37.9% 0.161 268.6);
Tailwind
colors: {
  custom: {
    50: '#706bb6',
    500: '#213496',
    950: '#000000',
  },
}
SCSS
$custom: #213496;
$custom-light: #706bb6;
$custom-dark: #000000;
JSON
{
  "hex": "#213496",
  "rgb": {
    "r": 33,
    "g": 52,
    "b": 150
  },
  "hsl": {
    "h": 230.256,
    "s": 63.934,
    "l": 35.882
  },
  "oklch": {
    "l": 0.37938,
    "c": 0.16121,
    "h": 268.6
  },
  "luminance": 0.04981
}

Semantic roles & 50–950 ramp

primary
#213496
secondary
#BEAD55
accent
#CC41E7
background
#F7F6FB
surface
#EDEBF6
border
#C8C6D0
text
#090611
muted
#7B7A80

Preview Lab

Preview with #213496

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

Preview Lab → · Contrast checker → · Palette generator →

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