#1E117E#1E117E
#1E117E is a dark, vivid blue. Relative luminance 0.022; OKLCH L 29.8% C 0.167 H 274.6°. Best body text is #FFFFFF at 14.62:1 contrast (WCAG AA passes).
Color values
| HEX | #1E117E |
|---|---|
| RGB | rgb(30, 17, 126) |
| HSL | hsl(247, 76%, 28%) |
| HSV | hsv(247, 87%, 49%) |
| CMYK | cmyk(76.2%, 86.5%, 0%, 50.6%) |
| CIE-LAB | lab(16.42, 41.15, -57.64) |
| CIE-LCH | lch(16.42, 70.82, 305.52°) |
| OKLab | oklab(29.79% 0.0134 -0.1666) |
| OKLCH | oklch(29.79% 0.167 274.6) |
| XYZ | xyz(4.5005, 2.1828, 19.9188) |
| Luminance | 0.0218 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Navy
#000080
ΔE00 3.08
Midnight Blue
#191970
ΔE00 3.26
Darkblue
#00008B
ΔE00 3.30
Royal
#0C1793
ΔE00 3.35
Deep Blue
#040273
ΔE00 3.37
Dark Royal Blue
#02066F
ΔE00 3.41
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#1E117E #717E11
analogous
#113A7E #1E117E #54117E
triadic
#1E117E #7E1E11 #117E1E
tetradic
#1E117E #7E113A #717E11 #117E54
square
#1E117E #7E113A #717E11 #117E54
split-complementary
#1E117E #7E5411 #3A7E11
monochromatic
#06041B #110A48 #1E117E #2B18B4 #3E27E2
Accessibility & contrast
On white
14.62
#1E117E on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.44
#1E117E on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #1E117E
14.62:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##1E117E | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##1E117E | 1.00 | 14.62 | 1.44 | 14.62 |
| #FFFFFF | 14.62 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.44 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 14.62 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#002D81
Deuteranopia (green-blind)
#00247C
Tritanopia (blue-blind)
#003549
Achromatopsia (no color)
#292929
Design tokens & code
CSS
--color: #1e117e; /* rgb */ color: rgb(30, 17, 126); /* oklch */ color: oklch(29.8% 0.167 274.6);
Tailwind
colors: {
custom: {
50: '#6c54a5',
500: '#1e117e',
950: '#000000',
},
}SCSS
$custom: #1e117e; $custom-light: #6c54a5; $custom-dark: #000000;
JSON
{
"hex": "#1e117e",
"rgb": {
"r": 30,
"g": 17,
"b": 126
},
"hsl": {
"h": 247.156,
"s": 76.224,
"l": 28.039
},
"oklch": {
"l": 0.29791,
"c": 0.16718,
"h": 274.6
},
"luminance": 0.02183
}Semantic roles & 50–950 ramp
primary
#1E117E
secondary
#A5B437
accent
#F335DC
background
#F7F5FA
surface
#EDE8F4
border
#C8C4CE
text
#08030F
muted
#7B787F