#213A9B#213A9B
#213A9B is a dark, vivid blue. Relative luminance 0.057; OKLCH L 39.6% C 0.161 H 267.2°. Best body text is #FFFFFF at 9.80:1 contrast (WCAG AA passes).
Color values
| HEX | #213A9B |
|---|---|
| RGB | rgb(33, 58, 155) |
| HSL | hsl(228, 65%, 37%) |
| HSV | hsv(228, 79%, 61%) |
| CMYK | cmyk(78.7%, 62.6%, 0%, 39.2%) |
| CIE-LAB | lab(28.68, 27.03, -55.49) |
| CIE-LCH | lch(28.68, 61.72, 295.97°) |
| OKLab | oklab(39.56% -0.0077 -0.1604) |
| OKLCH | oklch(39.56% 0.161 267.2) |
| XYZ | xyz(8.0546, 5.7151, 31.6826) |
| Luminance | 0.0572 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire (survey)
#2138AB
ΔE00 2.59
Cobalt
#0047AB
ΔE00 5.19
Blueberry
#464196
ΔE00 5.33
Cobalt (survey)
#1E488F
ΔE00 5.98
Blue Blue
#2242C7
ΔE00 6.32
Darkslateblue
#483D8B
ΔE00 6.59
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#213A9B #9B8221
analogous
#21779B #213A9B #45219B
triadic
#213A9B #9B213A #3A9B21
tetradic
#213A9B #9B2177 #9B8221 #219B45
square
#213A9B #9B2177 #9B8221 #219B45
split-complementary
#213A9B #9B4521 #779B21
monochromatic
#0C1436 #162769 #213A9B #2C4DCD #5A75DC
Accessibility & contrast
On white
9.80
#213A9B on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.14
#213A9B on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #213A9B
9.80:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##213A9B | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##213A9B | 1.00 | 9.80 | 2.14 | 9.80 |
| #FFFFFF | 9.80 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.14 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.80 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#00499E
Deuteranopia (green-blind)
#003E99
Tritanopia (blue-blind)
#005365
Achromatopsia (no color)
#444444
Design tokens & code
CSS
--color: #213a9b; /* rgb */ color: rgb(33, 58, 155); /* oklch */ color: oklch(39.6% 0.161 267.2);
Tailwind
colors: {
custom: {
50: '#716fb9',
500: '#213a9b',
950: '#000000',
},
}SCSS
$custom: #213a9b; $custom-light: #716fb9; $custom-dark: #000000;
JSON
{
"hex": "#213a9b",
"rgb": {
"r": 33,
"g": 58,
"b": 155
},
"hsl": {
"h": 227.705,
"s": 64.894,
"l": 36.863
},
"oklch": {
"l": 0.39555,
"c": 0.16064,
"h": 267.2
},
"luminance": 0.05716
}Semantic roles & 50–950 ramp
primary
#213A9B
secondary
#C0AB58
accent
#C540E8
background
#F7F6FB
surface
#EDECF6
border
#C8C7D0
text
#090712
muted
#7B7A81