#213A95#213A95
#213A95 is a dark, vivid blue. Relative luminance 0.055; OKLCH L 39.0% C 0.152 H 267.1°. Best body text is #FFFFFF at 9.98:1 contrast (WCAG AA passes).
Color values
| HEX | #213A95 |
|---|---|
| RGB | rgb(33, 58, 149) |
| HSL | hsl(227, 64%, 36%) |
| HSV | hsv(227, 78%, 58%) |
| CMYK | cmyk(77.9%, 61.1%, 0%, 41.6%) |
| CIE-LAB | lab(28.16, 24.70, -52.67) |
| CIE-LCH | lch(28.16, 58.18, 295.12°) |
| OKLab | oklab(39.01% -0.0078 -0.1522) |
| OKLCH | oklch(39.01% 0.152 267.1) |
| XYZ | xyz(7.5632, 5.5185, 29.0945) |
| Luminance | 0.0552 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire (survey)
#2138AB
ΔE00 3.50
Cobalt
#0047AB
ΔE00 5.39
Blueberry
#464196
ΔE00 5.40
Cobalt (survey)
#1E488F
ΔE00 5.58
Darkish Blue
#014182
ΔE00 6.21
Darkslateblue
#483D8B
ΔE00 6.47
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#213A95 #957C21
analogous
#217495 #213A95 #422195
triadic
#213A95 #95213A #3A9521
tetradic
#213A95 #952174 #957C21 #219542
square
#213A95 #952174 #957C21 #219542
split-complementary
#213A95 #954221 #749521
monochromatic
#0B1331 #162663 #213A95 #2C4EC7 #5773DA
Accessibility & contrast
On white
9.98
#213A95 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.10
#213A95 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #213A95
9.98:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##213A95 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##213A95 | 1.00 | 9.98 | 2.10 | 9.98 |
| #FFFFFF | 9.98 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.10 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.98 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#004898
Deuteranopia (green-blind)
#003D93
Tritanopia (blue-blind)
#005161
Achromatopsia (no color)
#424242
Design tokens & code
CSS
--color: #213a95; /* rgb */ color: rgb(33, 58, 149); /* oklch */ color: oklch(39.0% 0.152 267.1);
Tailwind
colors: {
custom: {
50: '#6f6fb5',
500: '#213a95',
950: '#000000',
},
}SCSS
$custom: #213a95; $custom-light: #6f6fb5; $custom-dark: #000000;
JSON
{
"hex": "#213a95",
"rgb": {
"r": 33,
"g": 58,
"b": 149
},
"hsl": {
"h": 227.069,
"s": 63.736,
"l": 35.686
},
"oklch": {
"l": 0.39009,
"c": 0.15238,
"h": 267.1
},
"luminance": 0.05519
}Semantic roles & 50–950 ramp
primary
#213A95
secondary
#BEA754
accent
#C341E7
background
#F7F6FB
surface
#EDECF6
border
#C8C7D0
text
#090711
muted
#7B7A80