#213B99#213B99
#213B99 is a dark, vivid blue. Relative luminance 0.058; OKLCH L 39.6% C 0.157 H 266.9°. Best body text is #FFFFFF at 9.77:1 contrast (WCAG AA passes).
Color values
| HEX | #213B99 |
|---|---|
| RGB | rgb(33, 59, 153) |
| HSL | hsl(227, 65%, 36%) |
| HSV | hsv(227, 78%, 60%) |
| CMYK | cmyk(78.4%, 61.4%, 0%, 40%) |
| CIE-LAB | lab(28.77, 25.57, -54.12) |
| CIE-LCH | lch(28.77, 59.86, 295.29°) |
| OKLab | oklab(39.57% -0.0084 -0.1564) |
| OKLCH | oklch(39.57% 0.157 266.9) |
| XYZ | xyz(7.9389, 5.7503, 30.8223) |
| Luminance | 0.0575 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire (survey)
#2138AB
ΔE00 3.05
Cobalt
#0047AB
ΔE00 4.96
Blueberry
#464196
ΔE00 5.33
Cobalt (survey)
#1E488F
ΔE00 5.51
Darkish Blue
#014182
ΔE00 6.35
Blue Blue
#2242C7
ΔE00 6.54
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#213B99 #997F21
analogous
#217799 #213B99 #432199
triadic
#213B99 #99213B #3B9921
tetradic
#213B99 #992177 #997F21 #219943
square
#213B99 #992177 #997F21 #219943
split-complementary
#213B99 #994321 #779921
monochromatic
#0B1434 #162867 #213B99 #2C4ECB #5975DB
Accessibility & contrast
On white
9.77
#213B99 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.15
#213B99 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #213B99
9.77:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##213B99 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##213B99 | 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)
#004A9C
Deuteranopia (green-blind)
#003E97
Tritanopia (blue-blind)
#005364
Achromatopsia (no color)
#444444
Design tokens & code
CSS
--color: #213b99; /* rgb */ color: rgb(33, 59, 153); /* oklch */ color: oklch(39.6% 0.157 266.9);
Tailwind
colors: {
custom: {
50: '#7070b8',
500: '#213b99',
950: '#000000',
},
}SCSS
$custom: #213b99; $custom-light: #7070b8; $custom-dark: #000000;
JSON
{
"hex": "#213b99",
"rgb": {
"r": 33,
"g": 59,
"b": 153
},
"hsl": {
"h": 227,
"s": 64.516,
"l": 36.471
},
"oklch": {
"l": 0.39569,
"c": 0.15665,
"h": 266.9
},
"luminance": 0.05751
}Semantic roles & 50–950 ramp
primary
#213B99
secondary
#BFA956
accent
#C340E8
background
#F7F6FB
surface
#EDECF6
border
#C8C7D0
text
#090711
muted
#7B7A80