#213AA7#213AA7
#213AA7 is a dark, vivid blue. Relative luminance 0.061; OKLCH L 40.7% C 0.177 H 267.4°. Best body text is #FFFFFF at 9.43:1 contrast (WCAG AA passes).
Color values
| HEX | #213AA7 |
|---|---|
| RGB | rgb(33, 58, 167) |
| HSL | hsl(229, 67%, 39%) |
| HSV | hsv(229, 80%, 65%) |
| CMYK | cmyk(80.2%, 65.3%, 0%, 34.5%) |
| CIE-LAB | lab(29.76, 31.61, -60.99) |
| CIE-LCH | lch(29.76, 68.70, 297.40°) |
| OKLab | oklab(40.68% -0.008 -0.1766) |
| OKLCH | oklch(40.68% 0.177 267.4) |
| XYZ | xyz(9.1129, 6.1384, 37.2563) |
| Luminance | 0.0614 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire (survey)
#2138AB
ΔE00 0.93
Blue Blue
#2242C7
ΔE00 4.77
Cobalt
#0047AB
ΔE00 5.20
Blueberry
#464196
ΔE00 5.60
Ocean Blue
#4F42B5
ΔE00 6.28
Cobalt (survey)
#1E488F
ΔE00 6.96
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#213AA7 #A78E21
analogous
#217DA7 #213AA7 #4B21A7
triadic
#213AA7 #A7213A #3AA721
tetradic
#213AA7 #A7217D #A78E21 #21A74B
square
#213AA7 #A7217D #A78E21 #21A74B
split-complementary
#213AA7 #A74B21 #7DA721
monochromatic
#0D1741 #172874 #213AA7 #2F4ED6 #627AE0
Accessibility & contrast
On white
9.43
#213AA7 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.23
#213AA7 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #213AA7
9.43:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##213AA7 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##213AA7 | 1.00 | 9.43 | 2.23 | 9.43 |
| #FFFFFF | 9.43 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.23 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.43 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#004DAA
Deuteranopia (green-blind)
#0040A5
Tritanopia (blue-blind)
#00576B
Achromatopsia (no color)
#464646
Design tokens & code
CSS
--color: #213aa7; /* rgb */ color: rgb(33, 58, 167); /* oklch */ color: oklch(40.7% 0.177 267.4);
Tailwind
colors: {
custom: {
50: '#7470c2',
500: '#213aa7',
950: '#000000',
},
}SCSS
$custom: #213aa7; $custom-light: #7470c2; $custom-dark: #000000;
JSON
{
"hex": "#213aa7",
"rgb": {
"r": 33,
"g": 58,
"b": 167
},
"hsl": {
"h": 228.806,
"s": 67,
"l": 39.216
},
"oklch": {
"l": 0.40681,
"c": 0.17673,
"h": 267.4
},
"luminance": 0.06139
}Semantic roles & 50–950 ramp
primary
#213AA7
secondary
#C5B25F
accent
#CA3EEA
background
#F7F6FC
surface
#EEECF8
border
#C9C7D1
text
#0A0712
muted
#7C7A81