#213B8E#213B8E
#213B8E is a dark, vivid blue. Relative luminance 0.054; OKLCH L 38.6% C 0.141 H 266.5°. Best body text is #FFFFFF at 10.09:1 contrast (WCAG AA passes).
Color values
| HEX | #213B8E |
|---|---|
| RGB | rgb(33, 59, 142) |
| HSL | hsl(226, 62%, 34%) |
| HSV | hsv(226, 77%, 56%) |
| CMYK | cmyk(76.8%, 58.5%, 0%, 44.3%) |
| CIE-LAB | lab(27.85, 21.27, -48.87) |
| CIE-LCH | lch(27.85, 53.30, 293.52°) |
| OKLab | oklab(38.6% -0.0087 -0.141) |
| OKLCH | oklch(38.6% 0.141 266.5) |
| XYZ | xyz(7.0719, 5.4035, 26.2562) |
| Luminance | 0.0540 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire (survey)
#2138AB
ΔE00 4.74
Cobalt (survey)
#1E488F
ΔE00 4.88
Darkish Blue
#014182
ΔE00 5.28
Cobalt
#0047AB
ΔE00 5.55
Blueberry
#464196
ΔE00 5.73
Twilight Blue
#0A437A
ΔE00 6.40
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#213B8E #8E7421
analogous
#21728E #213B8E #3E218E
triadic
#213B8E #8E213B #3B8E21
tetradic
#213B8E #8E2172 #8E7421 #218E3E
square
#213B8E #8E2172 #8E7421 #218E3E
split-complementary
#213B8E #8E3E21 #728E21
monochromatic
#0A122B #15265C #213B8E #2D50C0 #5272D7
Accessibility & contrast
On white
10.09
#213B8E on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.08
#213B8E on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #213B8E
10.09:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##213B8E | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##213B8E | 1.00 | 10.09 | 2.08 | 10.09 |
| #FFFFFF | 10.09 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.08 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 10.09 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#004791
Deuteranopia (green-blind)
#003D8C
Tritanopia (blue-blind)
#00505E
Achromatopsia (no color)
#424242
Design tokens & code
CSS
--color: #213b8e; /* rgb */ color: rgb(33, 59, 142); /* oklch */ color: oklch(38.6% 0.141 266.5);
Tailwind
colors: {
custom: {
50: '#6d70b0',
500: '#213b8e',
950: '#000000',
},
}SCSS
$custom: #213b8e; $custom-light: #6d70b0; $custom-dark: #000000;
JSON
{
"hex": "#213b8e",
"rgb": {
"r": 33,
"g": 59,
"b": 142
},
"hsl": {
"h": 225.688,
"s": 62.286,
"l": 34.314
},
"oklch": {
"l": 0.38596,
"c": 0.14128,
"h": 266.5
},
"luminance": 0.05404
}Semantic roles & 50–950 ramp
primary
#213B8E
secondary
#BAA150
accent
#BE42E5
background
#F7F6FA
surface
#EDECF5
border
#C8C7CF
text
#080710
muted
#7B7A7F