#213E8E#213E8E
#213E8E is a dark, vivid blue. Relative luminance 0.057; OKLCH L 39.2% C 0.137 H 265.4°. Best body text is #FFFFFF at 9.79:1 contrast (WCAG AA passes).
Color values
| HEX | #213E8E |
|---|---|
| RGB | rgb(33, 62, 142) |
| HSL | hsl(224, 62%, 34%) |
| HSV | hsv(224, 77%, 56%) |
| CMYK | cmyk(76.8%, 56.3%, 0%, 44.3%) |
| CIE-LAB | lab(28.70, 19.20, -47.51) |
| CIE-LCH | lch(28.70, 51.24, 292.01°) |
| OKLab | oklab(39.23% -0.0111 -0.1369) |
| OKLCH | oklch(39.23% 0.137 265.4) |
| XYZ | xyz(7.2306, 5.7208, 26.3091) |
| Luminance | 0.0572 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Cobalt (survey)
#1E488F
ΔE00 3.82
Darkish Blue
#014182
ΔE00 4.48
Cobalt
#0047AB
ΔE00 4.88
Sapphire (survey)
#2138AB
ΔE00 5.27
Twilight Blue
#0A437A
ΔE00 5.59
Blueberry
#464196
ΔE00 5.99
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#213E8E #8E7121
analogous
#21758E #213E8E #3B218E
triadic
#213E8E #8E213E #3E8E21
tetradic
#213E8E #8E2175 #8E7121 #218E3B
square
#213E8E #8E2175 #8E7121 #218E3B
split-complementary
#213E8E #8E3B21 #758E21
monochromatic
#0A132B #15285C #213E8E #2D54C0 #5276D7
Accessibility & contrast
On white
9.79
#213E8E on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.14
#213E8E on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #213E8E
9.79:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##213E8E | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##213E8E | 1.00 | 9.79 | 2.14 | 9.79 |
| #FFFFFF | 9.79 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.14 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.79 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#004991
Deuteranopia (green-blind)
#003F8C
Tritanopia (blue-blind)
#00525F
Achromatopsia (no color)
#444444
Design tokens & code
CSS
--color: #213e8e; /* rgb */ color: rgb(33, 62, 142); /* oklch */ color: oklch(39.2% 0.137 265.4);
Tailwind
colors: {
custom: {
50: '#6d72b0',
500: '#213e8e',
950: '#000000',
},
}SCSS
$custom: #213e8e; $custom-light: #6d72b0; $custom-dark: #000000;
JSON
{
"hex": "#213e8e",
"rgb": {
"r": 33,
"g": 62,
"b": 142
},
"hsl": {
"h": 224.037,
"s": 62.286,
"l": 34.314
},
"oklch": {
"l": 0.39229,
"c": 0.13738,
"h": 265.4
},
"luminance": 0.05722
}Semantic roles & 50–950 ramp
primary
#213E8E
secondary
#BA9E50
accent
#BA42E5
background
#F7F6FA
surface
#EDECF5
border
#C8C7CF
text
#080810
muted
#7B7B7F