#213E9E#213E9E
#213E9E is a dark, vivid blue. Relative luminance 0.062; OKLCH L 40.6% C 0.160 H 266.3°. Best body text is #FFFFFF at 9.34:1 contrast (WCAG AA passes).
Color values
| HEX | #213E9E |
|---|---|
| RGB | rgb(33, 62, 158) |
| HSL | hsl(226, 65%, 37%) |
| HSV | hsv(226, 79%, 62%) |
| CMYK | cmyk(79.1%, 60.8%, 0%, 38%) |
| CIE-LAB | lab(30.00, 25.48, -55.16) |
| CIE-LCH | lch(30.00, 60.76, 294.80°) |
| OKLab | oklab(40.62% -0.0103 -0.1594) |
| OKLCH | oklch(40.62% 0.16 266.3) |
| XYZ | xyz(8.5192, 6.2362, 33.0958) |
| Luminance | 0.0624 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire (survey)
#2138AB
ΔE00 3.03
Cobalt
#0047AB
ΔE00 3.97
Cobalt (survey)
#1E488F
ΔE00 4.96
Blueberry
#464196
ΔE00 5.41
Blue Blue
#2242C7
ΔE00 5.75
Darkish Blue
#014182
ΔE00 6.24
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#213E9E #9E8121
analogous
#217D9E #213E9E #43219E
triadic
#213E9E #9E213E #3E9E21
tetradic
#213E9E #9E217D #9E8121 #219E43
square
#213E9E #9E217D #9E8121 #219E43
split-complementary
#213E9E #9E4321 #7D9E21
monochromatic
#0C1639 #162A6B #213E9E #2C52D1 #5C7ADD
Accessibility & contrast
On white
9.34
#213E9E on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.25
#213E9E on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #213E9E
9.34:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##213E9E | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##213E9E | 1.00 | 9.34 | 2.25 | 9.34 |
| #FFFFFF | 9.34 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.25 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.34 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#004DA1
Deuteranopia (green-blind)
#00419C
Tritanopia (blue-blind)
#005668
Achromatopsia (no color)
#474747
Design tokens & code
CSS
--color: #213e9e; /* rgb */ color: rgb(33, 62, 158); /* oklch */ color: oklch(40.6% 0.160 266.3);
Tailwind
colors: {
custom: {
50: '#7172bb',
500: '#213e9e',
950: '#000000',
},
}SCSS
$custom: #213e9e; $custom-light: #7172bb; $custom-dark: #000000;
JSON
{
"hex": "#213e9e",
"rgb": {
"r": 33,
"g": 62,
"b": 158
},
"hsl": {
"h": 226.08,
"s": 65.445,
"l": 37.451
},
"oklch": {
"l": 0.40615,
"c": 0.15975,
"h": 266.3
},
"luminance": 0.06237
}Semantic roles & 50–950 ramp
primary
#213E9E
secondary
#C1A959
accent
#C13FE8
background
#F7F6FB
surface
#EDECF6
border
#C8C7D0
text
#090812
muted
#7B7B81