#213E9F#213E9F
#213E9F is a dark, vivid blue. Relative luminance 0.063; OKLCH L 40.7% C 0.161 H 266.3°. Best body text is #FFFFFF at 9.32:1 contrast (WCAG AA passes).
Color values
| HEX | #213E9F |
|---|---|
| RGB | rgb(33, 62, 159) |
| HSL | hsl(226, 66%, 38%) |
| HSV | hsv(226, 79%, 62%) |
| CMYK | cmyk(79.2%, 61%, 0%, 37.6%) |
| CIE-LAB | lab(30.09, 25.87, -55.63) |
| CIE-LCH | lch(30.09, 61.35, 294.94°) |
| OKLab | oklab(40.71% -0.0103 -0.1608) |
| OKLCH | oklch(40.71% 0.161 266.3) |
| XYZ | xyz(8.6056, 6.2708, 33.5510) |
| Luminance | 0.0627 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire (survey)
#2138AB
ΔE00 2.90
Cobalt
#0047AB
ΔE00 3.95
Cobalt (survey)
#1E488F
ΔE00 5.06
Blueberry
#464196
ΔE00 5.41
Blue Blue
#2242C7
ΔE00 5.60
Darkish Blue
#014182
ΔE00 6.36
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#213E9F #9F8221
analogous
#217D9F #213E9F #43219F
triadic
#213E9F #9F213E #3E9F21
tetradic
#213E9F #9F217D #9F8221 #219F43
square
#213E9F #9F217D #9F8221 #219F43
split-complementary
#213E9F #9F4321 #7D9F21
monochromatic
#0C163A #162A6C #213E9F #2C52D2 #5D7BDD
Accessibility & contrast
On white
9.32
#213E9F on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.25
#213E9F on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #213E9F
9.32:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##213E9F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##213E9F | 1.00 | 9.32 | 2.25 | 9.32 |
| #FFFFFF | 9.32 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.25 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.32 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#004DA2
Deuteranopia (green-blind)
#00419D
Tritanopia (blue-blind)
#005768
Achromatopsia (no color)
#474747
Design tokens & code
CSS
--color: #213e9f; /* rgb */ color: rgb(33, 62, 159); /* oklch */ color: oklch(40.7% 0.161 266.3);
Tailwind
colors: {
custom: {
50: '#7172bc',
500: '#213e9f',
950: '#000000',
},
}SCSS
$custom: #213e9f; $custom-light: #7172bc; $custom-dark: #000000;
JSON
{
"hex": "#213e9f",
"rgb": {
"r": 33,
"g": 62,
"b": 159
},
"hsl": {
"h": 226.19,
"s": 65.625,
"l": 37.647
},
"oklch": {
"l": 0.40705,
"c": 0.16112,
"h": 266.3
},
"luminance": 0.06272
}Semantic roles & 50–950 ramp
primary
#213E9F
secondary
#C2AA5A
accent
#C23FE9
background
#F7F6FB
surface
#EDECF6
border
#C8C7D0
text
#090812
muted
#7B7B81