#213A9C#213A9C
#213A9C is a dark, vivid blue. Relative luminance 0.058; OKLCH L 39.6% C 0.162 H 267.3°. Best body text is #FFFFFF at 9.77:1 contrast (WCAG AA passes).
Color values
| HEX | #213A9C |
|---|---|
| RGB | rgb(33, 58, 156) |
| HSL | hsl(228, 65%, 37%) |
| HSV | hsv(228, 79%, 61%) |
| CMYK | cmyk(78.8%, 62.8%, 0%, 38.8%) |
| CIE-LAB | lab(28.77, 27.41, -55.96) |
| CIE-LCH | lch(28.77, 62.31, 296.10°) |
| OKLab | oklab(39.65% -0.0078 -0.1618) |
| OKLCH | oklch(39.65% 0.162 267.3) |
| XYZ | xyz(8.1389, 5.7488, 32.1267) |
| Luminance | 0.0575 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire (survey)
#2138AB
ΔE00 2.44
Cobalt
#0047AB
ΔE00 5.17
Blueberry
#464196
ΔE00 5.33
Cobalt (survey)
#1E488F
ΔE00 6.05
Blue Blue
#2242C7
ΔE00 6.18
Darkslateblue
#483D8B
ΔE00 6.62
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#213A9C #9C8321
analogous
#21789C #213A9C #46219C
triadic
#213A9C #9C213A #3A9C21
tetradic
#213A9C #9C2178 #9C8321 #219C46
square
#213A9C #9C2178 #9C8321 #219C46
split-complementary
#213A9C #9C4621 #789C21
monochromatic
#0C1437 #162769 #213A9C #2C4DCF #5B75DC
Accessibility & contrast
On white
9.77
#213A9C on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.15
#213A9C on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #213A9C
9.77:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##213A9C | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##213A9C | 1.00 | 9.77 | 2.15 | 9.77 |
| #FFFFFF | 9.77 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.15 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.77 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#004A9F
Deuteranopia (green-blind)
#003E9A
Tritanopia (blue-blind)
#005365
Achromatopsia (no color)
#444444
Design tokens & code
CSS
--color: #213a9c; /* rgb */ color: rgb(33, 58, 156); /* oklch */ color: oklch(39.6% 0.162 267.3);
Tailwind
colors: {
custom: {
50: '#716fba',
500: '#213a9c',
950: '#000000',
},
}SCSS
$custom: #213a9c; $custom-light: #716fba; $custom-dark: #000000;
JSON
{
"hex": "#213a9c",
"rgb": {
"r": 33,
"g": 58,
"b": 156
},
"hsl": {
"h": 227.805,
"s": 65.079,
"l": 37.059
},
"oklch": {
"l": 0.39647,
"c": 0.162,
"h": 267.3
},
"luminance": 0.0575
}Semantic roles & 50–950 ramp
primary
#213A9C
secondary
#C1AB58
accent
#C640E8
background
#F7F6FB
surface
#EDECF6
border
#C8C7D0
text
#090712
muted
#7B7A81