#213B97#213B97
#213B97 is a dark, vivid blue. Relative luminance 0.057; OKLCH L 39.4% C 0.154 H 266.9°. Best body text is #FFFFFF at 9.83:1 contrast (WCAG AA passes).
Color values
| HEX | #213B97 |
|---|---|
| RGB | rgb(33, 59, 151) |
| HSL | hsl(227, 64%, 36%) |
| HSV | hsv(227, 78%, 59%) |
| CMYK | cmyk(78.1%, 60.9%, 0%, 40.8%) |
| CIE-LAB | lab(28.60, 24.80, -53.18) |
| CIE-LCH | lch(28.60, 58.68, 295.00°) |
| OKLab | oklab(39.39% -0.0084 -0.1537) |
| OKLCH | oklch(39.39% 0.154 266.9) |
| XYZ | xyz(7.7751, 5.6848, 29.9596) |
| Luminance | 0.0569 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire (survey)
#2138AB
ΔE00 3.35
Cobalt
#0047AB
ΔE00 5.03
Blueberry
#464196
ΔE00 5.37
Cobalt (survey)
#1E488F
ΔE00 5.37
Darkish Blue
#014182
ΔE00 6.15
Darkslateblue
#483D8B
ΔE00 6.56
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#213B97 #977D21
analogous
#217697 #213B97 #422197
triadic
#213B97 #97213B #3B9721
tetradic
#213B97 #972176 #977D21 #219742
square
#213B97 #972176 #977D21 #219742
split-complementary
#213B97 #974221 #769721
monochromatic
#0B1433 #162765 #213B97 #2C4FC9 #5875DA
Accessibility & contrast
On white
9.83
#213B97 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.14
#213B97 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #213B97
9.83:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##213B97 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##213B97 | 1.00 | 9.83 | 2.14 | 9.83 |
| #FFFFFF | 9.83 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.14 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.83 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#00499A
Deuteranopia (green-blind)
#003E95
Tritanopia (blue-blind)
#005263
Achromatopsia (no color)
#434343
Design tokens & code
CSS
--color: #213b97; /* rgb */ color: rgb(33, 59, 151); /* oklch */ color: oklch(39.4% 0.154 266.9);
Tailwind
colors: {
custom: {
50: '#7070b6',
500: '#213b97',
950: '#000000',
},
}SCSS
$custom: #213b97; $custom-light: #7070b6; $custom-dark: #000000;
JSON
{
"hex": "#213b97",
"rgb": {
"r": 33,
"g": 59,
"b": 151
},
"hsl": {
"h": 226.78,
"s": 64.13,
"l": 36.078
},
"oklch": {
"l": 0.39389,
"c": 0.15389,
"h": 266.9
},
"luminance": 0.05686
}Semantic roles & 50–950 ramp
primary
#213B97
secondary
#BEA755
accent
#C241E7
background
#F7F6FB
surface
#EDECF6
border
#C8C7D0
text
#090711
muted
#7B7A80