#213E9A#213E9A
#213E9A is a dark, vivid blue. Relative luminance 0.061; OKLCH L 40.3% C 0.154 H 266.1°. Best body text is #FFFFFF at 9.46:1 contrast (WCAG AA passes).
Color values
| HEX | #213E9A |
|---|---|
| RGB | rgb(33, 62, 154) |
| HSL | hsl(226, 65%, 37%) |
| HSV | hsv(226, 79%, 60%) |
| CMYK | cmyk(78.6%, 59.7%, 0%, 39.6%) |
| CIE-LAB | lab(29.67, 23.93, -53.28) |
| CIE-LCH | lch(29.67, 58.40, 294.18°) |
| OKLab | oklab(40.26% -0.0104 -0.1539) |
| OKLCH | oklch(40.26% 0.154 266.1) |
| XYZ | xyz(8.1805, 6.1007, 31.3120) |
| Luminance | 0.0610 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire (survey)
#2138AB
ΔE00 3.54
Cobalt
#0047AB
ΔE00 4.09
Cobalt (survey)
#1E488F
ΔE00 4.60
Blueberry
#464196
ΔE00 5.45
Darkish Blue
#014182
ΔE00 5.77
Blue Blue
#2242C7
ΔE00 6.33
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#213E9A #9A7D21
analogous
#217B9A #213E9A #41219A
triadic
#213E9A #9A213E #3E9A21
tetradic
#213E9A #9A217B #9A7D21 #219A41
square
#213E9A #9A217B #9A7D21 #219A41
split-complementary
#213E9A #9A4121 #7B9A21
monochromatic
#0B1535 #162A68 #213E9A #2C52CC #5A79DC
Accessibility & contrast
On white
9.46
#213E9A on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.22
#213E9A on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #213E9A
9.46:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##213E9A | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##213E9A | 1.00 | 9.46 | 2.22 | 9.46 |
| #FFFFFF | 9.46 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.22 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.46 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#004C9D
Deuteranopia (green-blind)
#004098
Tritanopia (blue-blind)
#005566
Achromatopsia (no color)
#464646
Design tokens & code
CSS
--color: #213e9a; /* rgb */ color: rgb(33, 62, 154); /* oklch */ color: oklch(40.3% 0.154 266.1);
Tailwind
colors: {
custom: {
50: '#7072b9',
500: '#213e9a',
950: '#000000',
},
}SCSS
$custom: #213e9a; $custom-light: #7072b9; $custom-dark: #000000;
JSON
{
"hex": "#213e9a",
"rgb": {
"r": 33,
"g": 62,
"b": 154
},
"hsl": {
"h": 225.62,
"s": 64.706,
"l": 36.667
},
"oklch": {
"l": 0.4026,
"c": 0.15425,
"h": 266.1
},
"luminance": 0.06102
}Semantic roles & 50–950 ramp
primary
#213E9A
secondary
#C0A757
accent
#C040E8
background
#F7F6FB
surface
#EDECF6
border
#C8C7D0
text
#090811
muted
#7B7B80