#1E1878#1E1878
#1E1878 is a dark, vivid blue. Relative luminance 0.023; OKLCH L 29.9% C 0.154 H 274.6°. Best body text is #FFFFFF at 14.41:1 contrast (WCAG AA passes).
Color values
| HEX | #1E1878 |
|---|---|
| RGB | rgb(30, 24, 120) |
| HSL | hsl(244, 67%, 28%) |
| HSV | hsv(244, 80%, 47%) |
| CMYK | cmyk(75%, 80%, 0%, 52.9%) |
| CIE-LAB | lab(16.92, 35.60, -52.98) |
| CIE-LCH | lch(16.92, 63.83, 303.90°) |
| OKLab | oklab(29.92% 0.0123 -0.1532) |
| OKLCH | oklch(29.92% 0.154 274.6) |
| XYZ | xyz(4.2511, 2.2849, 17.9827) |
| Luminance | 0.0228 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Midnight Blue
#191970
ΔE00 1.55
Dark Royal Blue
#02066F
ΔE00 4.00
Royal
#0C1793
ΔE00 4.09
Deep Blue
#040273
ΔE00 4.41
Navy
#000080
ΔE00 4.66
Darkblue (survey)
#030764
ΔE00 4.70
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#1E1878 #727818
analogous
#184278 #1E1878 #4E1878
triadic
#1E1878 #781E18 #18781E
tetradic
#1E1878 #781842 #727818 #18784E
square
#1E1878 #781842 #727818 #18784E
split-complementary
#1E1878 #784E18 #427818
monochromatic
#06051A #110E45 #1E1878 #2B22AB #3E34D6
Accessibility & contrast
On white
14.41
#1E1878 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.46
#1E1878 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #1E1878
14.41:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##1E1878 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##1E1878 | 1.00 | 14.41 | 1.46 | 14.41 |
| #FFFFFF | 14.41 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.46 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 14.41 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#002E7B
Deuteranopia (green-blind)
#002576
Tritanopia (blue-blind)
#003547
Achromatopsia (no color)
#2A2A2A
Design tokens & code
CSS
--color: #1e1878; /* rgb */ color: rgb(30, 24, 120); /* oklch */ color: oklch(29.9% 0.154 274.6);
Tailwind
colors: {
custom: {
50: '#6a57a0',
500: '#1e1878',
950: '#000000',
},
}SCSS
$custom: #1e1878; $custom-light: #6a57a0; $custom-dark: #000000;
JSON
{
"hex": "#1e1878",
"rgb": {
"r": 30,
"g": 24,
"b": 120
},
"hsl": {
"h": 243.75,
"s": 66.667,
"l": 28.235
},
"oklch": {
"l": 0.29924,
"c": 0.15371,
"h": 274.6
},
"luminance": 0.02285
}Semantic roles & 50–950 ramp
primary
#1E1878
secondary
#A6AD3F
accent
#EA3EDF
background
#F6F5FA
surface
#ECE9F3
border
#C7C5CD
text
#07030F
muted
#7A787F