#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 |
|---|---|
| RGB | rgb(33, 52, 150) |
| HSL | hsl(230, 64%, 36%) |
| HSV | hsv(230, 78%, 59%) |
| CMYK | cmyk(78%, 65.3%, 0%, 41.2%) |
| CIE-LAB | lab(26.68, 29.14, -55.72) |
| CIE-LCH | lch(26.68, 62.87, 297.61°) |
| OKLab | oklab(37.94% -0.0039 -0.1612) |
| OKLCH | oklch(37.94% 0.161 268.6) |
| XYZ | xyz(7.3583, 4.9805, 29.4218) |
| Luminance | 0.0498 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire (survey)
#2138AB
ΔE00 3.09
Blueberry
#464196
ΔE00 5.76
Darkslateblue
#483D8B
ΔE00 6.45
Cobalt
#0047AB
ΔE00 7.05
Royal
#0C1793
ΔE00 7.44
Blue Blue
#2242C7
ΔE00 7.54
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 |
|---|---|---|---|---|
| ##213496 | 1.00 | 10.52 | 2.00 | 10.52 |
| #FFFFFF | 10.52 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.00 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 10.52 | 1.00 | 21.00 | 1.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