#1E177B#1E177B
#1E177B is a dark, vivid blue. Relative luminance 0.023; OKLCH L 30.1% C 0.158 H 274.3°. Best body text is #FFFFFF at 14.35:1 contrast (WCAG AA passes).
Color values
| HEX | #1E177B |
|---|---|
| RGB | rgb(30, 23, 123) |
| HSL | hsl(244, 68%, 29%) |
| HSV | hsv(244, 81%, 48%) |
| CMYK | cmyk(75.6%, 81.3%, 0%, 51.8%) |
| CIE-LAB | lab(17.08, 37.17, -54.63) |
| CIE-LCH | lch(17.08, 66.08, 304.23°) |
| OKLab | oklab(30.14% 0.012 -0.158) |
| OKLCH | oklch(30.14% 0.158 274.3) |
| XYZ | xyz(4.4158, 2.3184, 18.9498) |
| Luminance | 0.0232 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Midnight Blue
#191970
ΔE00 2.10
Royal
#0C1793
ΔE00 3.60
Dark Royal Blue
#02066F
ΔE00 3.94
Deep Blue
#040273
ΔE00 4.23
Navy
#000080
ΔE00 4.27
Darkblue
#00008B
ΔE00 4.53
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#1E177B #747B17
analogous
#17427B #1E177B #50177B
triadic
#1E177B #7B1E17 #177B1E
tetradic
#1E177B #7B1742 #747B17 #177B50
square
#1E177B #7B1742 #747B17 #177B50
split-complementary
#1E177B #7B5017 #427B17
monochromatic
#06051A #110D47 #1E177B #2B21AF #3F33D9
Accessibility & contrast
On white
14.35
#1E177B on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.46
#1E177B on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #1E177B
14.35:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##1E177B | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##1E177B | 1.00 | 14.35 | 1.46 | 14.35 |
| #FFFFFF | 14.35 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.46 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 14.35 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#002F7E
Deuteranopia (green-blind)
#002579
Tritanopia (blue-blind)
#003549
Achromatopsia (no color)
#2A2A2A
Design tokens & code
CSS
--color: #1e177b; /* rgb */ color: rgb(30, 23, 123); /* oklch */ color: oklch(30.1% 0.158 274.3);
Tailwind
colors: {
custom: {
50: '#6b57a2',
500: '#1e177b',
950: '#000000',
},
}SCSS
$custom: #1e177b; $custom-light: #6b57a2; $custom-dark: #000000;
JSON
{
"hex": "#1e177b",
"rgb": {
"r": 30,
"g": 23,
"b": 123
},
"hsl": {
"h": 244.2,
"s": 68.493,
"l": 28.627
},
"oklch": {
"l": 0.3014,
"c": 0.15849,
"h": 274.3
},
"luminance": 0.02319
}Semantic roles & 50–950 ramp
primary
#1E177B
secondary
#A8B03E
accent
#EB3CDF
background
#F6F5FA
surface
#ECE9F4
border
#C7C5CE
text
#08030F
muted
#7A787F