#213A8F#213A8F
#213A8F is a dark, vivid blue. Relative luminance 0.053; OKLCH L 38.5% C 0.144 H 266.8°. Best body text is #FFFFFF at 10.16:1 contrast (WCAG AA passes).
Color values
| HEX | #213A8F |
|---|---|
| RGB | rgb(33, 58, 143) |
| HSL | hsl(226, 63%, 35%) |
| HSV | hsv(226, 77%, 56%) |
| CMYK | cmyk(76.9%, 59.4%, 0%, 43.9%) |
| CIE-LAB | lab(27.66, 22.35, -49.81) |
| CIE-LCH | lch(27.66, 54.59, 294.17°) |
| OKLab | oklab(38.48% -0.0079 -0.1438) |
| OKLCH | oklch(38.48% 0.144 266.8) |
| XYZ | xyz(7.0964, 5.3318, 26.6364) |
| Luminance | 0.0533 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire (survey)
#2138AB
ΔE00 4.44
Cobalt (survey)
#1E488F
ΔE00 5.27
Blueberry
#464196
ΔE00 5.64
Darkish Blue
#014182
ΔE00 5.65
Cobalt
#0047AB
ΔE00 5.72
Darkslateblue
#483D8B
ΔE00 6.48
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#213A8F #8F7621
analogous
#21718F #213A8F #3F218F
triadic
#213A8F #8F213A #3A8F21
tetradic
#213A8F #8F2171 #8F7621 #218F3F
square
#213A8F #8F2171 #8F7621 #218F3F
split-complementary
#213A8F #8F3F21 #718F21
monochromatic
#0A122C #16265D #213A8F #2C4EC1 #5371D7
Accessibility & contrast
On white
10.16
#213A8F on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.07
#213A8F on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #213A8F
10.16:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##213A8F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##213A8F | 1.00 | 10.16 | 2.07 | 10.16 |
| #FFFFFF | 10.16 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.07 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 10.16 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#004792
Deuteranopia (green-blind)
#003C8D
Tritanopia (blue-blind)
#004F5E
Achromatopsia (no color)
#414141
Design tokens & code
CSS
--color: #213a8f; /* rgb */ color: rgb(33, 58, 143); /* oklch */ color: oklch(38.5% 0.144 266.8);
Tailwind
colors: {
custom: {
50: '#6e6fb1',
500: '#213a8f',
950: '#000000',
},
}SCSS
$custom: #213a8f; $custom-light: #6e6fb1; $custom-dark: #000000;
JSON
{
"hex": "#213a8f",
"rgb": {
"r": 33,
"g": 58,
"b": 143
},
"hsl": {
"h": 226.364,
"s": 62.5,
"l": 34.51
},
"oklch": {
"l": 0.38476,
"c": 0.14399,
"h": 266.8
},
"luminance": 0.05333
}Semantic roles & 50–950 ramp
primary
#213A8F
secondary
#BBA351
accent
#C042E6
background
#F7F6FB
surface
#EDECF6
border
#C8C7D0
text
#080711
muted
#7B7A80