#213E8B#213E8B
#213E8B is a dark, vivid blue. Relative luminance 0.056; OKLCH L 39.0% C 0.133 H 265.1°. Best body text is #FFFFFF at 9.87:1 contrast (WCAG AA passes).
Color values
| HEX | #213E8B |
|---|---|
| RGB | rgb(33, 62, 139) |
| HSL | hsl(224, 62%, 34%) |
| HSV | hsv(224, 76%, 55%) |
| CMYK | cmyk(76.3%, 55.4%, 0%, 45.5%) |
| CIE-LAB | lab(28.46, 18.01, -46.03) |
| CIE-LCH | lch(28.46, 49.43, 291.37°) |
| OKLab | oklab(38.98% -0.0113 -0.1326) |
| OKLCH | oklch(38.98% 0.133 265.1) |
| XYZ | xyz(7.0084, 5.6319, 25.1388) |
| Luminance | 0.0563 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Cobalt (survey)
#1E488F
ΔE00 3.72
Darkish Blue
#014182
ΔE00 4.21
Cobalt
#0047AB
ΔE00 5.16
Twilight Blue
#0A437A
ΔE00 5.30
Sapphire (survey)
#2138AB
ΔE00 5.73
Marine Blue
#01386A
ΔE00 6.10
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#213E8B #8B6E21
analogous
#21738B #213E8B #39218B
triadic
#213E8B #8B213E #3E8B21
tetradic
#213E8B #8B2173 #8B6E21 #218B39
square
#213E8B #8B2173 #8B6E21 #218B39
split-complementary
#213E8B #8B3921 #738B21
monochromatic
#0A1228 #15285A #213E8B #2D54BC #5175D6
Accessibility & contrast
On white
9.87
#213E8B on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.13
#213E8B on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #213E8B
9.87:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##213E8B | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##213E8B | 1.00 | 9.87 | 2.13 | 9.87 |
| #FFFFFF | 9.87 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.13 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.87 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#00488E
Deuteranopia (green-blind)
#003E89
Tritanopia (blue-blind)
#00515E
Achromatopsia (no color)
#434343
Design tokens & code
CSS
--color: #213e8b; /* rgb */ color: rgb(33, 62, 139); /* oklch */ color: oklch(39.0% 0.133 265.1);
Tailwind
colors: {
custom: {
50: '#6c72ad',
500: '#213e8b',
950: '#000000',
},
}SCSS
$custom: #213e8b; $custom-light: #6c72ad; $custom-dark: #000000;
JSON
{
"hex": "#213e8b",
"rgb": {
"r": 33,
"g": 62,
"b": 139
},
"hsl": {
"h": 223.585,
"s": 61.628,
"l": 33.725
},
"oklch": {
"l": 0.3898,
"c": 0.13308,
"h": 265.1
},
"luminance": 0.05633
}Semantic roles & 50–950 ramp
primary
#213E8B
secondary
#B99C4F
accent
#B843E5
background
#F7F6FA
surface
#EDECF4
border
#C8C7CE
text
#080810
muted
#7B7B7F