#1E187E#1E187E
#1E187E is a dark, vivid blue. Relative luminance 0.024; OKLCH L 30.6% C 0.161 H 273.9°. Best body text is #FFFFFF at 14.12:1 contrast (WCAG AA passes).
Color values
| HEX | #1E187E |
|---|---|
| RGB | rgb(30, 24, 126) |
| HSL | hsl(244, 68%, 29%) |
| HSV | hsv(244, 81%, 49%) |
| CMYK | cmyk(76.2%, 81%, 0%, 50.6%) |
| CIE-LAB | lab(17.62, 37.64, -55.64) |
| CIE-LCH | lch(17.62, 67.18, 304.07°) |
| OKLab | oklab(30.63% 0.0108 -0.161) |
| OKLCH | oklch(30.63% 0.161 273.9) |
| XYZ | xyz(4.6267, 2.4352, 19.9608) |
| Luminance | 0.0244 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Midnight Blue
#191970
ΔE00 2.44
Royal
#0C1793
ΔE00 3.17
Dark Royal Blue
#02066F
ΔE00 4.29
Navy
#000080
ΔE00 4.37
Darkblue
#00008B
ΔE00 4.46
Deep Blue
#040273
ΔE00 4.52
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#1E187E #787E18
analogous
#18457E #1E187E #51187E
triadic
#1E187E #7E1E18 #187E1E
tetradic
#1E187E #7E1845 #787E18 #187E51
square
#1E187E #7E1845 #787E18 #187E51
split-complementary
#1E187E #7E5118 #457E18
monochromatic
#06051A #120E4B #1E187E #2A22B1 #4137D9
Accessibility & contrast
On white
14.12
#1E187E on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.49
#1E187E on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #1E187E
14.12:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##1E187E | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##1E187E | 1.00 | 14.12 | 1.49 | 14.12 |
| #FFFFFF | 14.12 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.49 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 14.12 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#003081
Deuteranopia (green-blind)
#00267C
Tritanopia (blue-blind)
#00374B
Achromatopsia (no color)
#2B2B2B
Design tokens & code
CSS
--color: #1e187e; /* rgb */ color: rgb(30, 24, 126); /* oklch */ color: oklch(30.6% 0.161 273.9);
Tailwind
colors: {
custom: {
50: '#6b57a5',
500: '#1e187e',
950: '#000000',
},
}SCSS
$custom: #1e187e; $custom-light: #6b57a5; $custom-dark: #000000;
JSON
{
"hex": "#1e187e",
"rgb": {
"r": 30,
"g": 24,
"b": 126
},
"hsl": {
"h": 243.529,
"s": 68,
"l": 29.412
},
"oklch": {
"l": 0.30627,
"c": 0.16133,
"h": 273.9
},
"luminance": 0.02436
}Semantic roles & 50–950 ramp
primary
#1E187E
secondary
#ACB23F
accent
#EB3DE1
background
#F7F5FA
surface
#EDE9F4
border
#C8C5CE
text
#08030F
muted
#7B787F