#1E1877#1E1877
#1E1877 is a dark, vivid blue. Relative luminance 0.023; OKLCH L 29.8% C 0.152 H 274.7°. Best body text is #FFFFFF at 14.46:1 contrast (WCAG AA passes).
Color values
| HEX | #1E1877 |
|---|---|
| RGB | rgb(30, 24, 119) |
| HSL | hsl(244, 66%, 28%) |
| HSV | hsv(244, 80%, 47%) |
| CMYK | cmyk(74.8%, 79.8%, 0%, 53.3%) |
| CIE-LAB | lab(16.80, 35.26, -52.53) |
| CIE-LCH | lch(16.80, 63.26, 303.87°) |
| OKLab | oklab(29.81% 0.0125 -0.1519) |
| OKLCH | oklch(29.81% 0.152 274.7) |
| XYZ | xyz(4.1907, 2.2608, 17.6647) |
| Luminance | 0.0226 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Midnight Blue
#191970
ΔE00 1.41
Dark Royal Blue
#02066F
ΔE00 3.98
Royal
#0C1793
ΔE00 4.24
Deep Blue
#040273
ΔE00 4.41
Darkblue (survey)
#030764
ΔE00 4.62
Navy
#000080
ΔE00 4.72
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#1E1877 #717718
analogous
#184277 #1E1877 #4D1877
triadic
#1E1877 #771E18 #18771E
tetradic
#1E1877 #771842 #717718 #18774D
square
#1E1877 #771842 #717718 #18774D
split-complementary
#1E1877 #774D18 #427718
monochromatic
#060519 #110E44 #1E1877 #2B22AA #3E33D6
Accessibility & contrast
On white
14.46
#1E1877 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.45
#1E1877 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #1E1877
14.46:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##1E1877 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##1E1877 | 1.00 | 14.46 | 1.45 | 14.46 |
| #FFFFFF | 14.46 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.45 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 14.46 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#002E7A
Deuteranopia (green-blind)
#002575
Tritanopia (blue-blind)
#003447
Achromatopsia (no color)
#292929
Design tokens & code
CSS
--color: #1e1877; /* rgb */ color: rgb(30, 24, 119); /* oklch */ color: oklch(29.8% 0.152 274.7);
Tailwind
colors: {
custom: {
50: '#6a579f',
500: '#1e1877',
950: '#000000',
},
}SCSS
$custom: #1e1877; $custom-light: #6a579f; $custom-dark: #000000;
JSON
{
"hex": "#1e1877",
"rgb": {
"r": 30,
"g": 24,
"b": 119
},
"hsl": {
"h": 243.789,
"s": 66.434,
"l": 28.039
},
"oklch": {
"l": 0.29808,
"c": 0.15244,
"h": 274.7
},
"luminance": 0.02261
}Semantic roles & 50–950 ramp
primary
#1E1877
secondary
#A5AC3F
accent
#E93EDF
background
#F6F5F9
surface
#ECE9F2
border
#C7C5CC
text
#07030F
muted
#7A787E