#213AA8#213AA8
#213AA8 is a dark, vivid blue. Relative luminance 0.062; OKLCH L 40.8% C 0.178 H 267.4°. Best body text is #FFFFFF at 9.39:1 contrast (WCAG AA passes).
Color values
| HEX | #213AA8 |
|---|---|
| RGB | rgb(33, 58, 168) |
| HSL | hsl(229, 67%, 39%) |
| HSV | hsv(229, 80%, 66%) |
| CMYK | cmyk(80.4%, 65.5%, 0%, 34.1%) |
| CIE-LAB | lab(29.85, 31.99, -61.44) |
| CIE-LCH | lch(29.85, 69.27, 297.50°) |
| OKLab | oklab(40.78% -0.008 -0.1779) |
| OKLCH | oklch(40.78% 0.178 267.4) |
| XYZ | xyz(9.2057, 6.1755, 37.7450) |
| Luminance | 0.0618 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire (survey)
#2138AB
ΔE00 0.82
Blue Blue
#2242C7
ΔE00 4.64
Cobalt
#0047AB
ΔE00 5.22
Blueberry
#464196
ΔE00 5.65
Ocean Blue
#4F42B5
ΔE00 6.20
Cobalt (survey)
#1E488F
ΔE00 7.05
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#213AA8 #A88F21
analogous
#217EA8 #213AA8 #4C21A8
triadic
#213AA8 #A8213A #3AA821
tetradic
#213AA8 #A8217E #A88F21 #21A84C
square
#213AA8 #A8217E #A88F21 #21A84C
split-complementary
#213AA8 #A84C21 #7EA821
monochromatic
#0D1742 #172875 #213AA8 #304FD6 #637AE0
Accessibility & contrast
On white
9.39
#213AA8 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.24
#213AA8 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #213AA8
9.39:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##213AA8 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##213AA8 | 1.00 | 9.39 | 2.24 | 9.39 |
| #FFFFFF | 9.39 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.24 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.39 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#004DAB
Deuteranopia (green-blind)
#0040A6
Tritanopia (blue-blind)
#00576B
Achromatopsia (no color)
#464646
Design tokens & code
CSS
--color: #213aa8; /* rgb */ color: rgb(33, 58, 168); /* oklch */ color: oklch(40.8% 0.178 267.4);
Tailwind
colors: {
custom: {
50: '#7470c3',
500: '#213aa8',
950: '#000000',
},
}SCSS
$custom: #213aa8; $custom-light: #7470c3; $custom-dark: #000000;
JSON
{
"hex": "#213aa8",
"rgb": {
"r": 33,
"g": 58,
"b": 168
},
"hsl": {
"h": 228.889,
"s": 67.164,
"l": 39.412
},
"oklch": {
"l": 0.40777,
"c": 0.17805,
"h": 267.4
},
"luminance": 0.06177
}Semantic roles & 50–950 ramp
primary
#213AA8
secondary
#C5B35F
accent
#CA3EEA
background
#F7F6FC
surface
#EEECF8
border
#C9C7D1
text
#0A0713
muted
#7C7A82