#1E177F#1E177F
#1E177F is a dark, vivid blue. Relative luminance 0.024; OKLCH L 30.6% C 0.164 H 273.9°. Best body text is #FFFFFF at 14.15:1 contrast (WCAG AA passes).
Color values
| HEX | #1E177F |
|---|---|
| RGB | rgb(30, 23, 127) |
| HSL | hsl(244, 69%, 29%) |
| HSV | hsv(244, 82%, 50%) |
| CMYK | cmyk(76.4%, 81.9%, 0%, 50.2%) |
| CIE-LAB | lab(17.56, 38.51, -56.39) |
| CIE-LCH | lch(17.56, 68.29, 304.33°) |
| OKLab | oklab(30.62% 0.011 -0.1631) |
| OKLCH | oklch(30.62% 0.164 273.9) |
| XYZ | xyz(4.6713, 2.4206, 20.2956) |
| Luminance | 0.0242 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Midnight Blue
#191970
ΔE00 2.67
Royal
#0C1793
ΔE00 3.01
Navy
#000080
ΔE00 4.14
Darkblue
#00008B
ΔE00 4.19
Dark Royal Blue
#02066F
ΔE00 4.20
Deep Blue
#040273
ΔE00 4.37
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#1E177F #787F17
analogous
#17447F #1E177F #52177F
triadic
#1E177F #7F1E17 #177F1E
tetradic
#1E177F #7F1744 #787F17 #177F52
square
#1E177F #7F1744 #787F17 #177F52
split-complementary
#1E177F #7F5217 #447F17
monochromatic
#06051A #120E4B #1E177F #2A20B3 #4136DB
Accessibility & contrast
On white
14.15
#1E177F on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.48
#1E177F on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #1E177F
14.15:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##1E177F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##1E177F | 1.00 | 14.15 | 1.48 | 14.15 |
| #FFFFFF | 14.15 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.48 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 14.15 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#003082
Deuteranopia (green-blind)
#00267D
Tritanopia (blue-blind)
#00374B
Achromatopsia (no color)
#2B2B2B
Design tokens & code
CSS
--color: #1e177f; /* rgb */ color: rgb(30, 23, 127); /* oklch */ color: oklch(30.6% 0.164 273.9);
Tailwind
colors: {
custom: {
50: '#6c57a5',
500: '#1e177f',
950: '#000000',
},
}SCSS
$custom: #1e177f; $custom-light: #6c57a5; $custom-dark: #000000;
JSON
{
"hex": "#1e177f",
"rgb": {
"r": 30,
"g": 23,
"b": 127
},
"hsl": {
"h": 244.038,
"s": 69.333,
"l": 29.412
},
"oklch": {
"l": 0.30615,
"c": 0.1635,
"h": 273.9
},
"luminance": 0.02421
}Semantic roles & 50–950 ramp
primary
#1E177F
secondary
#ACB43E
accent
#EC3CE0
background
#F7F5FA
surface
#EDE9F4
border
#C8C5CE
text
#08030F
muted
#7B787F