#213E9C#213E9C
#213E9C is a dark, vivid blue. Relative luminance 0.062; OKLCH L 40.4% C 0.157 H 266.2°. Best body text is #FFFFFF at 9.40:1 contrast (WCAG AA passes).
Color values
| HEX | #213E9C |
|---|---|
| RGB | rgb(33, 62, 156) |
| HSL | hsl(226, 65%, 37%) |
| HSV | hsv(226, 79%, 61%) |
| CMYK | cmyk(78.8%, 60.3%, 0%, 38.8%) |
| CIE-LAB | lab(29.83, 24.71, -54.22) |
| CIE-LCH | lch(29.83, 59.59, 294.50°) |
| OKLab | oklab(40.44% -0.0104 -0.1567) |
| OKLCH | oklch(40.44% 0.157 266.2) |
| XYZ | xyz(8.3485, 6.1679, 32.1966) |
| Luminance | 0.0617 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire (survey)
#2138AB
ΔE00 3.28
Cobalt
#0047AB
ΔE00 4.02
Cobalt (survey)
#1E488F
ΔE00 4.78
Blueberry
#464196
ΔE00 5.42
Darkish Blue
#014182
ΔE00 6.01
Blue Blue
#2242C7
ΔE00 6.04
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#213E9C #9C7F21
analogous
#217B9C #213E9C #42219C
triadic
#213E9C #9C213E #3E9C21
tetradic
#213E9C #9C217B #9C7F21 #219C42
square
#213E9C #9C217B #9C7F21 #219C42
split-complementary
#213E9C #9C4221 #7B9C21
monochromatic
#0C1637 #162A69 #213E9C #2C52CF #5B7ADC
Accessibility & contrast
On white
9.40
#213E9C on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.23
#213E9C on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #213E9C
9.40:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##213E9C | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##213E9C | 1.00 | 9.40 | 2.23 | 9.40 |
| #FFFFFF | 9.40 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.23 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.40 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#004C9F
Deuteranopia (green-blind)
#00419A
Tritanopia (blue-blind)
#005667
Achromatopsia (no color)
#464646
Design tokens & code
CSS
--color: #213e9c; /* rgb */ color: rgb(33, 62, 156); /* oklch */ color: oklch(40.4% 0.157 266.2);
Tailwind
colors: {
custom: {
50: '#7172ba',
500: '#213e9c',
950: '#000000',
},
}SCSS
$custom: #213e9c; $custom-light: #7172ba; $custom-dark: #000000;
JSON
{
"hex": "#213e9c",
"rgb": {
"r": 33,
"g": 62,
"b": 156
},
"hsl": {
"h": 225.854,
"s": 65.079,
"l": 37.059
},
"oklch": {
"l": 0.40437,
"c": 0.15701,
"h": 266.2
},
"luminance": 0.06169
}Semantic roles & 50–950 ramp
primary
#213E9C
secondary
#C1A858
accent
#C040E8
background
#F7F6FB
surface
#EDECF6
border
#C8C7D0
text
#090812
muted
#7B7B81