#1E2A86#1E2A86
#1E2A86 is a dark, vivid blue. Relative luminance 0.037; OKLCH L 34.4% C 0.152 H 270.1°. Best body text is #FFFFFF at 12.13:1 contrast (WCAG AA passes).
Color values
| HEX | #1E2A86 |
|---|---|
| RGB | rgb(30, 42, 134) |
| HSL | hsl(233, 63%, 32%) |
| HSV | hsv(233, 78%, 53%) |
| CMYK | cmyk(77.6%, 68.7%, 0%, 47.5%) |
| CIE-LAB | lab(22.49, 29.41, -52.68) |
| CIE-LCH | lch(22.49, 60.33, 299.18°) |
| OKLab | oklab(34.36% 0.0002 -0.1524) |
| OKLCH | oklch(34.36% 0.152 270.1) |
| XYZ | xyz(5.6650, 3.6526, 22.9561) |
| Luminance | 0.0365 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Midnight Blue
#191970
ΔE00 5.28
Royal
#0C1793
ΔE00 5.37
Sapphire (survey)
#2138AB
ΔE00 6.23
Darkslateblue
#483D8B
ΔE00 7.45
Blueberry
#464196
ΔE00 7.80
Cobalt Blue
#030AA7
ΔE00 7.99
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#1E2A86 #867A1E
analogous
#1E5E86 #1E2A86 #461E86
triadic
#1E2A86 #861E2A #2A861E
tetradic
#1E2A86 #861E5E #867A1E #1E8646
square
#1E2A86 #861E5E #867A1E #1E8646
split-complementary
#1E2A86 #86461E #5E861E
monochromatic
#080B22 #131A54 #1E2A86 #293AB8 #4859D6
Accessibility & contrast
On white
12.13
#1E2A86 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.73
#1E2A86 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #1E2A86
12.13:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##1E2A86 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##1E2A86 | 1.00 | 12.13 | 1.73 | 12.13 |
| #FFFFFF | 12.13 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.73 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 12.13 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#003B89
Deuteranopia (green-blind)
#003184
Tritanopia (blue-blind)
#004354
Achromatopsia (no color)
#363636
Design tokens & code
CSS
--color: #1e2a86; /* rgb */ color: rgb(30, 42, 134); /* oklch */ color: oklch(34.4% 0.152 270.1);
Tailwind
colors: {
custom: {
50: '#6c63aa',
500: '#1e2a86',
950: '#000000',
},
}SCSS
$custom: #1e2a86; $custom-light: #6c63aa; $custom-dark: #000000;
JSON
{
"hex": "#1e2a86",
"rgb": {
"r": 30,
"g": 42,
"b": 134
},
"hsl": {
"h": 233.077,
"s": 63.415,
"l": 32.157
},
"oklch": {
"l": 0.34364,
"c": 0.15241,
"h": 270.1
},
"luminance": 0.03653
}Semantic roles & 50–950 ramp
primary
#1E2A86
secondary
#B8AB47
accent
#D341E6
background
#F7F5FA
surface
#EDEAF4
border
#C8C6CE
text
#080510
muted
#7B797F