#1E167F#1E167F
#1E167F is a dark, vivid blue. Relative luminance 0.024; OKLCH L 30.5% C 0.164 H 274.0°. Best body text is #FFFFFF at 14.22:1 contrast (WCAG AA passes).
Color values
| HEX | #1E167F |
|---|---|
| RGB | rgb(30, 22, 127) |
| HSL | hsl(245, 70%, 29%) |
| HSV | hsv(245, 83%, 50%) |
| CMYK | cmyk(76.4%, 82.7%, 0%, 50.2%) |
| CIE-LAB | lab(17.37, 39.04, -56.69) |
| CIE-LCH | lch(17.37, 68.83, 304.55°) |
| OKLab | oklab(30.49% 0.0114 -0.164) |
| OKLCH | oklch(30.49% 0.164 274) |
| XYZ | xyz(4.6518, 2.3817, 20.2891) |
| Luminance | 0.0238 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Midnight Blue
#191970
ΔE00 2.77
Royal
#0C1793
ΔE00 3.01
Navy
#000080
ΔE00 3.94
Darkblue
#00008B
ΔE00 4.00
Dark Royal Blue
#02066F
ΔE00 4.06
Deep Blue
#040273
ΔE00 4.19
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#1E167F #777F16
analogous
#16437F #1E167F #53167F
triadic
#1E167F #7F1E16 #167F1E
tetradic
#1E167F #7F1643 #777F16 #167F53
square
#1E167F #7F1643 #777F16 #167F53
split-complementary
#1E167F #7F5316 #437F16
monochromatic
#06051A #120D4B #1E167F #2A1FB3 #4034DC
Accessibility & contrast
On white
14.22
#1E167F on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.48
#1E167F on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #1E167F
14.22:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##1E167F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##1E167F | 1.00 | 14.22 | 1.48 | 14.22 |
| #FFFFFF | 14.22 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.48 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 14.22 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#002F82
Deuteranopia (green-blind)
#00267D
Tritanopia (blue-blind)
#00374B
Achromatopsia (no color)
#2B2B2B
Design tokens & code
CSS
--color: #1e167f; /* rgb */ color: rgb(30, 22, 127); /* oklch */ color: oklch(30.5% 0.164 274.0);
Tailwind
colors: {
custom: {
50: '#6c56a5',
500: '#1e167f',
950: '#000000',
},
}SCSS
$custom: #1e167f; $custom-light: #6c56a5; $custom-dark: #000000;
JSON
{
"hex": "#1e167f",
"rgb": {
"r": 30,
"g": 22,
"b": 127
},
"hsl": {
"h": 244.571,
"s": 70.47,
"l": 29.216
},
"oklch": {
"l": 0.30489,
"c": 0.16437,
"h": 274
},
"luminance": 0.02382
}Semantic roles & 50–950 ramp
primary
#1E167F
secondary
#ABB43D
accent
#ED3BE0
background
#F7F5FA
surface
#EDE9F4
border
#C8C5CE
text
#08030F
muted
#7B787F