#1E1788#1E1788
#1E1788 is a dark, vivid blue. Relative luminance 0.027; OKLCH L 31.7% C 0.175 H 272.9°. Best body text is #FFFFFF at 13.70:1 contrast (WCAG AA passes).
Color values
| HEX | #1E1788 |
|---|---|
| RGB | rgb(30, 23, 136) |
| HSL | hsl(244, 71%, 31%) |
| HSV | hsv(244, 83%, 53%) |
| CMYK | cmyk(77.9%, 83.1%, 0%, 46.7%) |
| CIE-LAB | lab(18.65, 41.47, -60.26) |
| CIE-LCH | lch(18.65, 73.15, 304.53°) |
| OKLab | oklab(31.7% 0.0087 -0.1743) |
| OKLCH | oklch(31.7% 0.175 272.9) |
| XYZ | xyz(5.2843, 2.6658, 23.5238) |
| Luminance | 0.0267 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Royal
#0C1793
ΔE00 1.80
Darkblue
#00008B
ΔE00 3.75
Midnight Blue
#191970
ΔE00 3.96
Navy
#000080
ΔE00 4.20
Cobalt Blue
#030AA7
ΔE00 4.47
Indigo (survey)
#380282
ΔE00 4.58
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#1E1788 #818817
analogous
#174888 #1E1788 #561788
triadic
#1E1788 #881E17 #17881E
tetradic
#1E1788 #881748 #818817 #178856
square
#1E1788 #881748 #818817 #178856
split-complementary
#1E1788 #885617 #488817
monochromatic
#07051F #120E54 #1E1788 #2A20BC #463BDE
Accessibility & contrast
On white
13.70
#1E1788 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.53
#1E1788 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #1E1788
13.70:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##1E1788 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##1E1788 | 1.00 | 13.70 | 1.53 | 13.70 |
| #FFFFFF | 13.70 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.53 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 13.70 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#00338B
Deuteranopia (green-blind)
#002886
Tritanopia (blue-blind)
#003B50
Achromatopsia (no color)
#2D2D2D
Design tokens & code
CSS
--color: #1e1788; /* rgb */ color: rgb(30, 23, 136); /* oklch */ color: oklch(31.7% 0.175 272.9);
Tailwind
colors: {
custom: {
50: '#6e57ac',
500: '#1e1788',
950: '#000000',
},
}SCSS
$custom: #1e1788; $custom-light: #6e57ac; $custom-dark: #000000;
JSON
{
"hex": "#1e1788",
"rgb": {
"r": 30,
"g": 23,
"b": 136
},
"hsl": {
"h": 243.717,
"s": 71.069,
"l": 31.176
},
"oklch": {
"l": 0.31697,
"c": 0.17457,
"h": 272.9
},
"luminance": 0.02666
}Semantic roles & 50–950 ramp
primary
#1E1788
secondary
#B4BC3F
accent
#EE3AE3
background
#F7F5FA
surface
#EDE9F4
border
#C8C5CE
text
#090310
muted
#7B787F