#1E147E#1E147E
#1E147E is a dark, vivid blue. Relative luminance 0.023; OKLCH L 30.1% C 0.165 H 274.3°. Best body text is #FFFFFF at 14.42:1 contrast (WCAG AA passes).
Color values
| HEX | #1E147E |
|---|---|
| RGB | rgb(30, 20, 126) |
| HSL | hsl(246, 73%, 29%) |
| HSV | hsv(246, 84%, 49%) |
| CMYK | cmyk(76.2%, 84.1%, 0%, 50.6%) |
| CIE-LAB | lab(16.90, 39.73, -56.84) |
| CIE-LCH | lch(16.90, 69.34, 304.95°) |
| OKLab | oklab(30.13% 0.0124 -0.1644) |
| OKLCH | oklch(30.13% 0.165 274.3) |
| XYZ | xyz(4.5502, 2.2822, 19.9353) |
| Luminance | 0.0228 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Midnight Blue
#191970
ΔE00 2.87
Royal
#0C1793
ΔE00 3.20
Navy
#000080
ΔE00 3.58
Dark Royal Blue
#02066F
ΔE00 3.72
Darkblue
#00008B
ΔE00 3.74
Deep Blue
#040273
ΔE00 3.80
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#1E147E #747E14
analogous
#143F7E #1E147E #53147E
triadic
#1E147E #7E1E14 #147E1E
tetradic
#1E147E #7E143F #747E14 #147E53
square
#1E147E #7E143F #747E14 #147E53
split-complementary
#1E147E #7E5314 #3F7E14
monochromatic
#06041A #110C49 #1E147E #2B1CB3 #3F2EDE
Accessibility & contrast
On white
14.42
#1E147E on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.46
#1E147E on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #1E147E
14.42:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##1E147E | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##1E147E | 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)
#002E81
Deuteranopia (green-blind)
#00257C
Tritanopia (blue-blind)
#00364A
Achromatopsia (no color)
#2A2A2A
Design tokens & code
CSS
--color: #1e147e; /* rgb */ color: rgb(30, 20, 126); /* oklch */ color: oklch(30.1% 0.165 274.3);
Tailwind
colors: {
custom: {
50: '#6c55a5',
500: '#1e147e',
950: '#000000',
},
}SCSS
$custom: #1e147e; $custom-light: #6c55a5; $custom-dark: #000000;
JSON
{
"hex": "#1e147e",
"rgb": {
"r": 30,
"g": 20,
"b": 126
},
"hsl": {
"h": 245.66,
"s": 72.603,
"l": 28.627
},
"oklch": {
"l": 0.30126,
"c": 0.16484,
"h": 274.3
},
"luminance": 0.02283
}Semantic roles & 50–950 ramp
primary
#1E147E
secondary
#A8B33A
accent
#EF38DE
background
#F7F5FA
surface
#EDE9F4
border
#C8C5CE
text
#08030F
muted
#7B787F