#1E177E#1E177E
#1E177E is a dark, vivid blue. Relative luminance 0.024; OKLCH L 30.5% C 0.162 H 274.0°. Best body text is #FFFFFF at 14.20:1 contrast (WCAG AA passes).
Color values
| HEX | #1E177E |
|---|---|
| RGB | rgb(30, 23, 126) |
| HSL | hsl(244, 69%, 29%) |
| HSV | hsv(244, 82%, 49%) |
| CMYK | cmyk(76.2%, 81.7%, 0%, 50.6%) |
| CIE-LAB | lab(17.44, 38.18, -55.95) |
| CIE-LCH | lch(17.44, 67.74, 304.31°) |
| OKLab | oklab(30.5% 0.0113 -0.1619) |
| OKLCH | oklch(30.5% 0.162 274) |
| XYZ | xyz(4.6065, 2.3947, 19.9541) |
| Luminance | 0.0239 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Midnight Blue
#191970
ΔE00 2.53
Royal
#0C1793
ΔE00 3.16
Dark Royal Blue
#02066F
ΔE00 4.13
Navy
#000080
ΔE00 4.16
Darkblue
#00008B
ΔE00 4.26
Deep Blue
#040273
ΔE00 4.32
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#1E177E #777E17
analogous
#17447E #1E177E #52177E
triadic
#1E177E #7E1E17 #177E1E
tetradic
#1E177E #7E1744 #777E17 #177E52
square
#1E177E #7E1744 #777E17 #177E52
split-complementary
#1E177E #7E5217 #447E17
monochromatic
#06051A #120E4A #1E177E #2A20B2 #4035DA
Accessibility & contrast
On white
14.20
#1E177E on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.48
#1E177E on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #1E177E
14.20:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##1E177E | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##1E177E | 1.00 | 14.20 | 1.48 | 14.20 |
| #FFFFFF | 14.20 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.48 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 14.20 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#002F81
Deuteranopia (green-blind)
#00267C
Tritanopia (blue-blind)
#00374A
Achromatopsia (no color)
#2B2B2B
Design tokens & code
CSS
--color: #1e177e; /* rgb */ color: rgb(30, 23, 126); /* oklch */ color: oklch(30.5% 0.162 274.0);
Tailwind
colors: {
custom: {
50: '#6c57a5',
500: '#1e177e',
950: '#000000',
},
}SCSS
$custom: #1e177e; $custom-light: #6c57a5; $custom-dark: #000000;
JSON
{
"hex": "#1e177e",
"rgb": {
"r": 30,
"g": 23,
"b": 126
},
"hsl": {
"h": 244.078,
"s": 69.128,
"l": 29.216
},
"oklch": {
"l": 0.30496,
"c": 0.16225,
"h": 274
},
"luminance": 0.02395
}Semantic roles & 50–950 ramp
primary
#1E177E
secondary
#ABB33E
accent
#EC3CE0
background
#F7F5FA
surface
#EDE9F4
border
#C8C5CE
text
#08030F
muted
#7B787F