#213C97#213C97
#213C97 is a dark, vivid blue. Relative luminance 0.058; OKLCH L 39.6% C 0.153 H 266.6°. Best body text is #FFFFFF at 9.73:1 contrast (WCAG AA passes).
Color values
| HEX | #213C97 |
|---|---|
| RGB | rgb(33, 60, 151) |
| HSL | hsl(226, 64%, 36%) |
| HSV | hsv(226, 78%, 59%) |
| CMYK | cmyk(78.1%, 60.3%, 0%, 40.8%) |
| CIE-LAB | lab(28.87, 24.12, -52.74) |
| CIE-LCH | lch(28.87, 57.99, 294.57°) |
| OKLab | oklab(39.59% -0.0091 -0.1524) |
| OKLCH | oklch(39.59% 0.153 266.6) |
| XYZ | xyz(7.8270, 5.7885, 29.9769) |
| Luminance | 0.0579 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire (survey)
#2138AB
ΔE00 3.53
Cobalt
#0047AB
ΔE00 4.76
Cobalt (survey)
#1E488F
ΔE00 5.03
Blueberry
#464196
ΔE00 5.40
Darkish Blue
#014182
ΔE00 5.90
Darkslateblue
#483D8B
ΔE00 6.65
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#213C97 #977C21
analogous
#217797 #213C97 #412197
triadic
#213C97 #97213C #3C9721
tetradic
#213C97 #972177 #977C21 #219741
square
#213C97 #972177 #977C21 #219741
split-complementary
#213C97 #974121 #779721
monochromatic
#0B1433 #162865 #213C97 #2C50C9 #5876DA
Accessibility & contrast
On white
9.73
#213C97 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.16
#213C97 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #213C97
9.73:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##213C97 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##213C97 | 1.00 | 9.73 | 2.16 | 9.73 |
| #FFFFFF | 9.73 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.16 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.73 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#004A9A
Deuteranopia (green-blind)
#003F95
Tritanopia (blue-blind)
#005363
Achromatopsia (no color)
#444444
Design tokens & code
CSS
--color: #213c97; /* rgb */ color: rgb(33, 60, 151); /* oklch */ color: oklch(39.6% 0.153 266.6);
Tailwind
colors: {
custom: {
50: '#7071b6',
500: '#213c97',
950: '#000000',
},
}SCSS
$custom: #213c97; $custom-light: #7071b6; $custom-dark: #000000;
JSON
{
"hex": "#213c97",
"rgb": {
"r": 33,
"g": 60,
"b": 151
},
"hsl": {
"h": 226.271,
"s": 64.13,
"l": 36.078
},
"oklch": {
"l": 0.3959,
"c": 0.15262,
"h": 266.6
},
"luminance": 0.05789
}Semantic roles & 50–950 ramp
primary
#213C97
secondary
#BEA655
accent
#C141E7
background
#F7F6FB
surface
#EDECF6
border
#C8C7D0
text
#090711
muted
#7B7A80