#213D97#213D97
#213D97 is a dark, vivid blue. Relative luminance 0.059; OKLCH L 39.8% C 0.151 H 266.3°. Best body text is #FFFFFF at 9.64:1 contrast (WCAG AA passes).
Color values
| HEX | #213D97 |
|---|---|
| RGB | rgb(33, 61, 151) |
| HSL | hsl(226, 64%, 36%) |
| HSV | hsv(226, 78%, 59%) |
| CMYK | cmyk(78.1%, 59.6%, 0%, 40.8%) |
| CIE-LAB | lab(29.14, 23.43, -52.30) |
| CIE-LCH | lch(29.14, 57.31, 294.14°) |
| OKLab | oklab(39.79% -0.0098 -0.151) |
| OKLCH | oklch(39.79% 0.151 266.3) |
| XYZ | xyz(7.8799, 5.8943, 29.9946) |
| Luminance | 0.0590 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire (survey)
#2138AB
ΔE00 3.73
Cobalt
#0047AB
ΔE00 4.49
Cobalt (survey)
#1E488F
ΔE00 4.70
Blueberry
#464196
ΔE00 5.45
Darkish Blue
#014182
ΔE00 5.66
Darkslateblue
#483D8B
ΔE00 6.76
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#213D97 #977B21
analogous
#217897 #213D97 #402197
triadic
#213D97 #97213D #3D9721
tetradic
#213D97 #972178 #977B21 #219740
square
#213D97 #972178 #977B21 #219740
split-complementary
#213D97 #974021 #789721
monochromatic
#0B1433 #162965 #213D97 #2C51C9 #5877DA
Accessibility & contrast
On white
9.64
#213D97 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.18
#213D97 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #213D97
9.64:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##213D97 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##213D97 | 1.00 | 9.64 | 2.18 | 9.64 |
| #FFFFFF | 9.64 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.18 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.64 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#004A9A
Deuteranopia (green-blind)
#003F95
Tritanopia (blue-blind)
#005464
Achromatopsia (no color)
#454545
Design tokens & code
CSS
--color: #213d97; /* rgb */ color: rgb(33, 61, 151); /* oklch */ color: oklch(39.8% 0.151 266.3);
Tailwind
colors: {
custom: {
50: '#6f72b6',
500: '#213d97',
950: '#000000',
},
}SCSS
$custom: #213d97; $custom-light: #6f72b6; $custom-dark: #000000;
JSON
{
"hex": "#213d97",
"rgb": {
"r": 33,
"g": 61,
"b": 151
},
"hsl": {
"h": 225.763,
"s": 64.13,
"l": 36.078
},
"oklch": {
"l": 0.39793,
"c": 0.15136,
"h": 266.3
},
"luminance": 0.05895
}Semantic roles & 50–950 ramp
primary
#213D97
secondary
#BEA655
accent
#C041E7
background
#F7F6FB
surface
#EDECF6
border
#C8C7D0
text
#090711
muted
#7B7A80