#1E167B#1E167B
#1E167B is a dark, vivid blue. Relative luminance 0.023; OKLCH L 30.0% C 0.159 H 274.5°. Best body text is #FFFFFF at 14.42:1 contrast (WCAG AA passes).
Color values
| HEX | #1E167B |
|---|---|
| RGB | rgb(30, 22, 123) |
| HSL | hsl(245, 70%, 28%) |
| HSV | hsv(245, 82%, 48%) |
| CMYK | cmyk(75.6%, 82.1%, 0%, 51.8%) |
| CIE-LAB | lab(16.89, 37.71, -54.94) |
| CIE-LCH | lch(16.89, 66.64, 304.46°) |
| OKLab | oklab(30.01% 0.0124 -0.1589) |
| OKLCH | oklch(30.01% 0.159 274.5) |
| XYZ | xyz(4.3963, 2.2795, 18.9433) |
| Luminance | 0.0228 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Midnight Blue
#191970
ΔE00 2.22
Royal
#0C1793
ΔE00 3.60
Dark Royal Blue
#02066F
ΔE00 3.78
Deep Blue
#040273
ΔE00 4.03
Navy
#000080
ΔE00 4.07
Darkblue
#00008B
ΔE00 4.35
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#1E167B #737B16
analogous
#16407B #1E167B #50167B
triadic
#1E167B #7B1E16 #167B1E
tetradic
#1E167B #7B1640 #737B16 #167B50
square
#1E167B #7B1640 #737B16 #167B50
split-complementary
#1E167B #7B5016 #407B16
monochromatic
#06051A #110D47 #1E167B #2B1FAF #3F31DA
Accessibility & contrast
On white
14.42
#1E167B on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.46
#1E167B on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #1E167B
14.42:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##1E167B | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##1E167B | 1.00 | 14.42 | 1.46 | 14.42 |
| #FFFFFF | 14.42 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.46 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 14.42 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#002E7E
Deuteranopia (green-blind)
#002579
Tritanopia (blue-blind)
#003549
Achromatopsia (no color)
#2A2A2A
Design tokens & code
CSS
--color: #1e167b; /* rgb */ color: rgb(30, 22, 123); /* oklch */ color: oklch(30.0% 0.159 274.5);
Tailwind
colors: {
custom: {
50: '#6b56a2',
500: '#1e167b',
950: '#000000',
},
}SCSS
$custom: #1e167b; $custom-light: #6b56a2; $custom-dark: #000000;
JSON
{
"hex": "#1e167b",
"rgb": {
"r": 30,
"g": 22,
"b": 123
},
"hsl": {
"h": 244.752,
"s": 69.655,
"l": 28.431
},
"oklch": {
"l": 0.3001,
"c": 0.1594,
"h": 274.5
},
"luminance": 0.0228
}Semantic roles & 50–950 ramp
primary
#1E167B
secondary
#A7B03D
accent
#EC3BDE
background
#F6F5FA
surface
#ECE9F4
border
#C7C5CE
text
#08030F
muted
#7A787F