#213F84#213F84
#213F84 is a dark, vivid blue. Relative luminance 0.055; OKLCH L 38.6% C 0.122 H 263.9°. Best body text is #FFFFFF at 9.96:1 contrast (WCAG AA passes).
Color values
| HEX | #213F84 |
|---|---|
| RGB | rgb(33, 63, 132) |
| HSL | hsl(222, 60%, 32%) |
| HSV | hsv(222, 75%, 52%) |
| CMYK | cmyk(75%, 52.3%, 0%, 48.2%) |
| CIE-LAB | lab(28.23, 14.53, -42.07) |
| CIE-LCH | lch(28.23, 44.51, 289.06°) |
| OKLab | oklab(38.64% -0.0129 -0.1209) |
| OKLCH | oklch(38.64% 0.122 263.9) |
| XYZ | xyz(6.5681, 5.5436, 22.5492) |
| Luminance | 0.0554 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Cobalt (survey)
#1E488F
ΔE00 3.38
Darkish Blue
#014182
ΔE00 3.42
Twilight Blue
#0A437A
ΔE00 4.37
Marine Blue
#01386A
ΔE00 5.20
Cobalt
#0047AB
ΔE00 5.73
Prussian Blue
#004577
ΔE00 6.00
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#213F84 #846621
analogous
#217184 #213F84 #342184
triadic
#213F84 #84213F #3F8421
tetradic
#213F84 #842171 #846621 #218434
square
#213F84 #842171 #846621 #218434
split-complementary
#213F84 #843421 #718421
monochromatic
#091022 #152853 #213F84 #2D56B5 #4D75D2
Accessibility & contrast
On white
9.96
#213F84 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.11
#213F84 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #213F84
9.96:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##213F84 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##213F84 | 1.00 | 9.96 | 2.11 | 9.96 |
| #FFFFFF | 9.96 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.11 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.96 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#154786
Deuteranopia (green-blind)
#003E83
Tritanopia (blue-blind)
#004F5B
Achromatopsia (no color)
#434343
Design tokens & code
CSS
--color: #213f84; /* rgb */ color: rgb(33, 63, 132); /* oklch */ color: oklch(38.6% 0.122 263.9);
Tailwind
colors: {
custom: {
50: '#6b73a8',
500: '#213f84',
950: '#000000',
},
}SCSS
$custom: #213f84; $custom-light: #6b73a8; $custom-dark: #000000;
JSON
{
"hex": "#213f84",
"rgb": {
"r": 33,
"g": 63,
"b": 132
},
"hsl": {
"h": 221.818,
"s": 60,
"l": 32.353
},
"oklch": {
"l": 0.38636,
"c": 0.12161,
"h": 263.9
},
"luminance": 0.05544
}Semantic roles & 50–950 ramp
primary
#213F84
secondary
#B6954B
accent
#B345E3
background
#F6F6FA
surface
#ECECF4
border
#C7C7CE
text
#070810
muted
#7A7B7F