#1E2A84#1E2A84
#1E2A84 is a dark, vivid blue. Relative luminance 0.036; OKLCH L 34.2% C 0.150 H 270.2°. Best body text is #FFFFFF at 12.21:1 contrast (WCAG AA passes).
Color values
| HEX | #1E2A84 |
|---|---|
| RGB | rgb(30, 42, 132) |
| HSL | hsl(233, 63%, 32%) |
| HSV | hsv(233, 77%, 52%) |
| CMYK | cmyk(77.3%, 68.2%, 0%, 48.2%) |
| CIE-LAB | lab(22.29, 28.65, -51.74) |
| CIE-LCH | lch(22.29, 59.15, 298.98°) |
| OKLab | oklab(34.16% 0.0004 -0.1497) |
| OKLCH | oklch(34.16% 0.15 270.2) |
| XYZ | xyz(5.5268, 3.5973, 22.2284) |
| Luminance | 0.0360 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Midnight Blue
#191970
ΔE00 5.16
Royal
#0C1793
ΔE00 5.56
Sapphire (survey)
#2138AB
ΔE00 6.47
Darkslateblue
#483D8B
ΔE00 7.46
Blueberry
#464196
ΔE00 7.88
Marine
#042E60
ΔE00 8.01
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#1E2A84 #84781E
analogous
#1E5D84 #1E2A84 #451E84
triadic
#1E2A84 #841E2A #2A841E
tetradic
#1E2A84 #841E5D #84781E #1E8445
square
#1E2A84 #841E5D #84781E #1E8445
split-complementary
#1E2A84 #84451E #5D841E
monochromatic
#070A20 #131A52 #1E2A84 #293AB6 #4758D5
Accessibility & contrast
On white
12.21
#1E2A84 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.72
#1E2A84 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #1E2A84
12.21:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##1E2A84 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##1E2A84 | 1.00 | 12.21 | 1.72 | 12.21 |
| #FFFFFF | 12.21 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.72 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 12.21 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#003A87
Deuteranopia (green-blind)
#003182
Tritanopia (blue-blind)
#004253
Achromatopsia (no color)
#353535
Design tokens & code
CSS
--color: #1e2a84; /* rgb */ color: rgb(30, 42, 132); /* oklch */ color: oklch(34.2% 0.150 270.2);
Tailwind
colors: {
custom: {
50: '#6b63a9',
500: '#1e2a84',
950: '#000000',
},
}SCSS
$custom: #1e2a84; $custom-light: #6b63a9; $custom-dark: #000000;
JSON
{
"hex": "#1e2a84",
"rgb": {
"r": 30,
"g": 42,
"b": 132
},
"hsl": {
"h": 232.941,
"s": 62.963,
"l": 31.765
},
"oklch": {
"l": 0.34162,
"c": 0.14967,
"h": 270.2
},
"luminance": 0.03598
}Semantic roles & 50–950 ramp
primary
#1E2A84
secondary
#B7AA47
accent
#D342E6
background
#F6F5FA
surface
#ECEAF4
border
#C7C6CE
text
#080510
muted
#7A797F