#1E117F#1E117F
#1E117F is a dark, vivid blue. Relative luminance 0.022; OKLCH L 29.9% C 0.168 H 274.5°. Best body text is #FFFFFF at 14.57:1 contrast (WCAG AA passes).
Color values
| HEX | #1E117F |
|---|---|
| RGB | rgb(30, 17, 127) |
| HSL | hsl(247, 76%, 28%) |
| HSV | hsv(247, 87%, 50%) |
| CMYK | cmyk(76.4%, 86.6%, 0%, 50.2%) |
| CIE-LAB | lab(16.55, 41.47, -58.07) |
| CIE-LCH | lch(16.55, 71.35, 305.53°) |
| OKLab | oklab(29.92% 0.0131 -0.1679) |
| OKLCH | oklch(29.92% 0.168 274.5) |
| XYZ | xyz(4.5654, 2.2088, 20.2603) |
| Luminance | 0.0221 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Navy
#000080
ΔE00 3.07
Darkblue
#00008B
ΔE00 3.21
Royal
#0C1793
ΔE00 3.22
Midnight Blue
#191970
ΔE00 3.37
Deep Blue
#040273
ΔE00 3.44
Dark Royal Blue
#02066F
ΔE00 3.50
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#1E117F #727F11
analogous
#113B7F #1E117F #55117F
triadic
#1E117F #7F1E11 #117F1E
tetradic
#1E117F #7F113B #727F11 #117F55
square
#1E117F #7F113B #727F11 #117F55
split-complementary
#1E117F #7F5511 #3B7F11
monochromatic
#06041B #110A49 #1E117F #2B18B5 #3E28E2
Accessibility & contrast
On white
14.57
#1E117F on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.44
#1E117F on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #1E117F
14.57:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##1E117F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##1E117F | 1.00 | 14.57 | 1.44 | 14.57 |
| #FFFFFF | 14.57 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.44 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 14.57 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#002E82
Deuteranopia (green-blind)
#00247D
Tritanopia (blue-blind)
#00354A
Achromatopsia (no color)
#292929
Design tokens & code
CSS
--color: #1e117f; /* rgb */ color: rgb(30, 17, 127); /* oklch */ color: oklch(29.9% 0.168 274.5);
Tailwind
colors: {
custom: {
50: '#6c54a5',
500: '#1e117f',
950: '#000000',
},
}SCSS
$custom: #1e117f; $custom-light: #6c54a5; $custom-dark: #000000;
JSON
{
"hex": "#1e117f",
"rgb": {
"r": 30,
"g": 17,
"b": 127
},
"hsl": {
"h": 247.091,
"s": 76.389,
"l": 28.235
},
"oklch": {
"l": 0.29916,
"c": 0.16838,
"h": 274.5
},
"luminance": 0.02209
}Semantic roles & 50–950 ramp
primary
#1E117F
secondary
#A6B537
accent
#F335DC
background
#F7F5FA
surface
#EDE8F4
border
#C8C4CE
text
#08030F
muted
#7B787F