#213AA0#213AA0
#213AA0 is a dark, vivid blue. Relative luminance 0.059; OKLCH L 40.0% C 0.167 H 267.3°. Best body text is #FFFFFF at 9.64:1 contrast (WCAG AA passes).
Color values
| HEX | #213AA0 |
|---|---|
| RGB | rgb(33, 58, 160) |
| HSL | hsl(228, 66%, 38%) |
| HSV | hsv(228, 79%, 63%) |
| CMYK | cmyk(79.4%, 63.8%, 0%, 37.3%) |
| CIE-LAB | lab(29.12, 28.95, -57.81) |
| CIE-LCH | lch(29.12, 64.65, 296.60°) |
| OKLab | oklab(40.02% -0.0078 -0.1672) |
| OKLCH | oklch(40.02% 0.167 267.3) |
| XYZ | xyz(8.4832, 5.8865, 33.9400) |
| Luminance | 0.0589 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire (survey)
#2138AB
ΔE00 1.85
Cobalt
#0047AB
ΔE00 5.13
Blueberry
#464196
ΔE00 5.38
Blue Blue
#2242C7
ΔE00 5.65
Cobalt (survey)
#1E488F
ΔE00 6.36
Darkslateblue
#483D8B
ΔE00 6.78
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#213AA0 #A08721
analogous
#2179A0 #213AA0 #4721A0
triadic
#213AA0 #A0213A #3AA021
tetradic
#213AA0 #A02179 #A08721 #21A047
square
#213AA0 #A02179 #A08721 #21A047
split-complementary
#213AA0 #A04721 #79A021
monochromatic
#0C153B #17286D #213AA0 #2B4CD3 #5E77DE
Accessibility & contrast
On white
9.64
#213AA0 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.18
#213AA0 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #213AA0
9.64:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##213AA0 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##213AA0 | 1.00 | 9.64 | 2.18 | 9.64 |
| #FFFFFF | 9.64 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.18 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.64 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#004BA3
Deuteranopia (green-blind)
#003F9E
Tritanopia (blue-blind)
#005567
Achromatopsia (no color)
#454545
Design tokens & code
CSS
--color: #213aa0; /* rgb */ color: rgb(33, 58, 160); /* oklch */ color: oklch(40.0% 0.167 267.3);
Tailwind
colors: {
custom: {
50: '#7270bd',
500: '#213aa0',
950: '#000000',
},
}SCSS
$custom: #213aa0; $custom-light: #7270bd; $custom-dark: #000000;
JSON
{
"hex": "#213aa0",
"rgb": {
"r": 33,
"g": 58,
"b": 160
},
"hsl": {
"h": 228.189,
"s": 65.803,
"l": 37.843
},
"oklch": {
"l": 0.40019,
"c": 0.1674,
"h": 267.3
},
"luminance": 0.05888
}Semantic roles & 50–950 ramp
primary
#213AA0
secondary
#C2AE5B
accent
#C73FE9
background
#F7F6FB
surface
#EEECF7
border
#C9C7D0
text
#090712
muted
#7B7A81