#213F97#213F97
#213F97 is a dark, vivid blue. Relative luminance 0.061; OKLCH L 40.2% C 0.149 H 265.7°. Best body text is #FFFFFF at 9.45:1 contrast (WCAG AA passes).
Color values
| HEX | #213F97 |
|---|---|
| RGB | rgb(33, 63, 151) |
| HSL | hsl(225, 64%, 36%) |
| HSV | hsv(225, 78%, 59%) |
| CMYK | cmyk(78.1%, 58.3%, 0%, 40.8%) |
| CIE-LAB | lab(29.69, 22.07, -51.41) |
| CIE-LCH | lch(29.69, 55.94, 293.23°) |
| OKLab | oklab(40.2% -0.0113 -0.1484) |
| OKLCH | oklch(40.2% 0.149 265.7) |
| XYZ | xyz(7.9887, 6.1118, 30.0308) |
| Luminance | 0.0611 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Cobalt
#0047AB
ΔE00 3.98
Cobalt (survey)
#1E488F
ΔE00 4.02
Sapphire (survey)
#2138AB
ΔE00 4.20
Darkish Blue
#014182
ΔE00 5.22
Blueberry
#464196
ΔE00 5.62
Twilight Blue
#0A437A
ΔE00 6.33
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#213F97 #977921
analogous
#217A97 #213F97 #3E2197
triadic
#213F97 #97213F #3F9721
tetradic
#213F97 #97217A #977921 #21973E
square
#213F97 #97217A #977921 #21973E
split-complementary
#213F97 #973E21 #7A9721
monochromatic
#0B1533 #162A65 #213F97 #2C54C9 #5879DA
Accessibility & contrast
On white
9.45
#213F97 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.22
#213F97 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #213F97
9.45:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##213F97 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##213F97 | 1.00 | 9.45 | 2.22 | 9.45 |
| #FFFFFF | 9.45 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.22 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.45 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#004C9A
Deuteranopia (green-blind)
#004195
Tritanopia (blue-blind)
#005564
Achromatopsia (no color)
#464646
Design tokens & code
CSS
--color: #213f97; /* rgb */ color: rgb(33, 63, 151); /* oklch */ color: oklch(40.2% 0.149 265.7);
Tailwind
colors: {
custom: {
50: '#6f73b6',
500: '#213f97',
950: '#000000',
},
}SCSS
$custom: #213f97; $custom-light: #6f73b6; $custom-dark: #000000;
JSON
{
"hex": "#213f97",
"rgb": {
"r": 33,
"g": 63,
"b": 151
},
"hsl": {
"h": 224.746,
"s": 64.13,
"l": 36.078
},
"oklch": {
"l": 0.40204,
"c": 0.14881,
"h": 265.7
},
"luminance": 0.06113
}Semantic roles & 50–950 ramp
primary
#213F97
secondary
#BEA455
accent
#BD41E7
background
#F7F6FB
surface
#EDECF6
border
#C8C7D0
text
#090811
muted
#7B7B80