#1E166A#1E166A
#1E166A is a dark, vivid blue. Relative luminance 0.019; OKLCH L 28.0% C 0.138 H 277.0°. Best body text is #FFFFFF at 15.24:1 contrast (WCAG AA passes).
Color values
| HEX | #1E166A |
|---|---|
| RGB | rgb(30, 22, 106) |
| HSL | hsl(246, 66%, 25%) |
| HSV | hsv(246, 79%, 42%) |
| CMYK | cmyk(71.7%, 79.2%, 0%, 58.4%) |
| CIE-LAB | lab(14.90, 31.93, -47.23) |
| CIE-LCH | lch(14.90, 57.01, 304.06°) |
| OKLab | oklab(28.03% 0.0168 -0.1365) |
| OKLCH | oklch(28.03% 0.138 277) |
| XYZ | xyz(3.4230, 1.8901, 13.8173) |
| Luminance | 0.0189 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Midnight Blue
#191970
ΔE00 1.41
Darkblue (survey)
#030764
ΔE00 3.68
Dark Royal Blue
#02066F
ΔE00 3.92
Dark Indigo
#1F0954
ΔE00 4.54
Deep Blue
#040273
ΔE00 4.63
Dark Blue
#00035B
ΔE00 4.90
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#1E166A #626A16
analogous
#16386A #1E166A #48166A
triadic
#1E166A #6A1E16 #166A1E
tetradic
#1E166A #6A1638 #626A16 #166A48
square
#1E166A #6A1638 #626A16 #166A48
split-complementary
#1E166A #6A4816 #386A16
monochromatic
#070519 #100B37 #1E166A #2C219D #3B2BCF
Accessibility & contrast
On white
15.24
#1E166A on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.38
#1E166A on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #1E166A
15.24:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##1E166A | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##1E166A | 1.00 | 15.24 | 1.38 | 15.24 |
| #FFFFFF | 15.24 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.38 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 15.24 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#00296C
Deuteranopia (green-blind)
#002268
Tritanopia (blue-blind)
#002E3F
Achromatopsia (no color)
#252525
Design tokens & code
CSS
--color: #1e166a; /* rgb */ color: rgb(30, 22, 106); /* oklch */ color: oklch(28.0% 0.138 277.0);
Tailwind
colors: {
custom: {
50: '#675596',
500: '#1e166a',
950: '#000000',
},
}SCSS
$custom: #1e166a; $custom-light: #675596; $custom-dark: #000000;
JSON
{
"hex": "#1e166a",
"rgb": {
"r": 30,
"g": 22,
"b": 106
},
"hsl": {
"h": 245.714,
"s": 65.625,
"l": 25.098
},
"oklch": {
"l": 0.28027,
"c": 0.1375,
"h": 277
},
"luminance": 0.0189
}Semantic roles & 50–950 ramp
primary
#1E166A
secondary
#97A03B
accent
#E93FD8
background
#F6F5F9
surface
#EBE9F2
border
#C6C5CC
text
#07030D
muted
#7A787E