#1E176E#1E176E
#1E176E is a dark, vivid blue. Relative luminance 0.020; OKLCH L 28.6% C 0.142 H 276.2°. Best body text is #FFFFFF at 14.97:1 contrast (WCAG AA passes).
Color values
| HEX | #1E176E |
|---|---|
| RGB | rgb(30, 23, 110) |
| HSL | hsl(245, 65%, 26%) |
| HSV | hsv(245, 79%, 43%) |
| CMYK | cmyk(72.7%, 79.1%, 0%, 56.9%) |
| CIE-LAB | lab(15.56, 32.73, -48.75) |
| CIE-LCH | lch(15.56, 58.72, 303.88°) |
| OKLab | oklab(28.63% 0.0152 -0.1409) |
| OKLCH | oklch(28.63% 0.142 276.2) |
| XYZ | xyz(3.6554, 2.0143, 14.9450) |
| Luminance | 0.0202 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Midnight Blue
#191970
ΔE00 0.93
Dark Royal Blue
#02066F
ΔE00 3.88
Darkblue (survey)
#030764
ΔE00 3.94
Deep Blue
#040273
ΔE00 4.53
Dark Indigo
#1F0954
ΔE00 5.17
Dark Blue
#00035B
ΔE00 5.29
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#1E176E #676E17
analogous
#173B6E #1E176E #49176E
triadic
#1E176E #6E1E17 #176E1E
tetradic
#1E176E #6E173B #676E17 #176E49
square
#1E176E #6E173B #676E17 #176E49
split-complementary
#1E176E #6E4917 #3B6E17
monochromatic
#070519 #100C3B #1E176E #2C22A1 #3A2CD3
Accessibility & contrast
On white
14.97
#1E176E on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.40
#1E176E on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #1E176E
14.97:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##1E176E | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##1E176E | 1.00 | 14.97 | 1.40 | 14.97 |
| #FFFFFF | 14.97 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.40 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 14.97 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#002B70
Deuteranopia (green-blind)
#00236C
Tritanopia (blue-blind)
#003041
Achromatopsia (no color)
#272727
Design tokens & code
CSS
--color: #1e176e; /* rgb */ color: rgb(30, 23, 110); /* oklch */ color: oklch(28.6% 0.142 276.2);
Tailwind
colors: {
custom: {
50: '#675699',
500: '#1e176e',
950: '#000000',
},
}SCSS
$custom: #1e176e; $custom-light: #675699; $custom-dark: #000000;
JSON
{
"hex": "#1e176e",
"rgb": {
"r": 30,
"g": 23,
"b": 110
},
"hsl": {
"h": 244.828,
"s": 65.414,
"l": 26.078
},
"oklch": {
"l": 0.28629,
"c": 0.14173,
"h": 276.2
},
"luminance": 0.02015
}Semantic roles & 50–950 ramp
primary
#1E176E
secondary
#9CA43D
accent
#E83FDB
background
#F6F5F9
surface
#EBE9F2
border
#C6C5CC
text
#07030E
muted
#7A787E