#1E168E#1E168E
#1E168E is a dark, vivid blue. Relative luminance 0.028; OKLCH L 32.3% C 0.183 H 272.3°. Best body text is #FFFFFF at 13.46:1 contrast (WCAG AA passes).
Color values
| HEX | #1E168E |
|---|---|
| RGB | rgb(30, 22, 142) |
| HSL | hsl(244, 73%, 32%) |
| HSV | hsv(244, 85%, 56%) |
| CMYK | cmyk(78.9%, 84.5%, 0%, 44.3%) |
| CIE-LAB | lab(19.23, 43.88, -63.05) |
| CIE-LCH | lch(19.23, 76.82, 304.83°) |
| OKLab | oklab(32.32% 0.0074 -0.1824) |
| OKLCH | oklch(32.32% 0.183 272.3) |
| XYZ | xyz(5.7032, 2.8022, 25.8262) |
| Luminance | 0.0280 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Royal
#0C1793
ΔE00 1.25
Darkblue
#00008B
ΔE00 3.57
Cobalt Blue
#030AA7
ΔE00 3.61
Royal Blue (survey)
#0504AA
ΔE00 4.13
Navy
#000080
ΔE00 4.35
Indigo (survey)
#380282
ΔE00 4.58
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#1E168E #868E16
analogous
#164A8E #1E168E #5A168E
triadic
#1E168E #8E1E16 #168E1E
tetradic
#1E168E #8E164A #868E16 #168E5A
square
#1E168E #8E164A #868E16 #168E5A
split-complementary
#1E168E #8E5A16 #4A8E16
monochromatic
#080624 #130E59 #1E168E #291EC3 #483DE1
Accessibility & contrast
On white
13.46
#1E168E on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.56
#1E168E on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #1E168E
13.46:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##1E168E | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##1E168E | 1.00 | 13.46 | 1.56 | 13.46 |
| #FFFFFF | 13.46 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.56 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 13.46 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#003491
Deuteranopia (green-blind)
#00298C
Tritanopia (blue-blind)
#003D54
Achromatopsia (no color)
#2F2F2F
Design tokens & code
CSS
--color: #1e168e; /* rgb */ color: rgb(30, 22, 142); /* oklch */ color: oklch(32.3% 0.183 272.3);
Tailwind
colors: {
custom: {
50: '#7057b0',
500: '#1e168e',
950: '#000000',
},
}SCSS
$custom: #1e168e; $custom-light: #7057b0; $custom-dark: #000000;
JSON
{
"hex": "#1e168e",
"rgb": {
"r": 30,
"g": 22,
"b": 142
},
"hsl": {
"h": 244,
"s": 73.171,
"l": 32.157
},
"oklch": {
"l": 0.32315,
"c": 0.18257,
"h": 272.3
},
"luminance": 0.02803
}Semantic roles & 50–950 ramp
primary
#1E168E
secondary
#B8C13F
accent
#F038E4
background
#F7F5FB
surface
#EDE9F6
border
#C8C5D0
text
#090311
muted
#7B7880