#213AA1#213AA1
#213AA1 is a dark, vivid blue. Relative luminance 0.059; OKLCH L 40.1% C 0.169 H 267.3°. Best body text is #FFFFFF at 9.61:1 contrast (WCAG AA passes).
Color values
| HEX | #213AA1 |
|---|---|
| RGB | rgb(33, 58, 161) |
| HSL | hsl(228, 66%, 38%) |
| HSV | hsv(228, 80%, 63%) |
| CMYK | cmyk(79.5%, 64%, 0%, 36.9%) |
| CIE-LAB | lab(29.21, 29.33, -58.26) |
| CIE-LCH | lch(29.21, 65.23, 296.72°) |
| OKLab | oklab(40.11% -0.0078 -0.1686) |
| OKLCH | oklch(40.11% 0.169 267.3) |
| XYZ | xyz(8.5710, 5.9217, 34.4026) |
| Luminance | 0.0592 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire (survey)
#2138AB
ΔE00 1.71
Cobalt
#0047AB
ΔE00 5.13
Blueberry
#464196
ΔE00 5.40
Blue Blue
#2242C7
ΔE00 5.52
Cobalt (survey)
#1E488F
ΔE00 6.45
Ocean Blue
#4F42B5
ΔE00 6.79
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#213AA1 #A18821
analogous
#217AA1 #213AA1 #4821A1
triadic
#213AA1 #A1213A #3AA121
tetradic
#213AA1 #A1217A #A18821 #21A148
square
#213AA1 #A1217A #A18821 #21A148
split-complementary
#213AA1 #A14821 #7AA121
monochromatic
#0C153B #17286E #213AA1 #2C4CD4 #5E77DE
Accessibility & contrast
On white
9.61
#213AA1 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.18
#213AA1 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #213AA1
9.61:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##213AA1 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##213AA1 | 1.00 | 9.61 | 2.18 | 9.61 |
| #FFFFFF | 9.61 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.18 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.61 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#004BA4
Deuteranopia (green-blind)
#003F9F
Tritanopia (blue-blind)
#005568
Achromatopsia (no color)
#454545
Design tokens & code
CSS
--color: #213aa1; /* rgb */ color: rgb(33, 58, 161); /* oklch */ color: oklch(40.1% 0.169 267.3);
Tailwind
colors: {
custom: {
50: '#7270be',
500: '#213aa1',
950: '#000000',
},
}SCSS
$custom: #213aa1; $custom-light: #7270be; $custom-dark: #000000;
JSON
{
"hex": "#213aa1",
"rgb": {
"r": 33,
"g": 58,
"b": 161
},
"hsl": {
"h": 228.281,
"s": 65.979,
"l": 38.039
},
"oklch": {
"l": 0.40113,
"c": 0.16875,
"h": 267.3
},
"luminance": 0.05923
}Semantic roles & 50–950 ramp
primary
#213AA1
secondary
#C3AE5B
accent
#C83FE9
background
#F7F6FB
surface
#EEECF7
border
#C9C7D0
text
#090712
muted
#7B7A81