#1E127E#1E127E
#1E127E is a dark, vivid blue. Relative luminance 0.022; OKLCH L 29.9% C 0.166 H 274.5°. Best body text is #FFFFFF at 14.55:1 contrast (WCAG AA passes).
Color values
| HEX | #1E127E |
|---|---|
| RGB | rgb(30, 18, 126) |
| HSL | hsl(247, 75%, 28%) |
| HSV | hsv(247, 86%, 49%) |
| CMYK | cmyk(76.2%, 85.7%, 0%, 50.6%) |
| CIE-LAB | lab(16.57, 40.69, -57.38) |
| CIE-LCH | lch(16.57, 70.35, 305.34°) |
| OKLab | oklab(29.9% 0.0131 -0.1659) |
| OKLCH | oklch(29.9% 0.166 274.5) |
| XYZ | xyz(4.5164, 2.2145, 19.9240) |
| Luminance | 0.0221 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Midnight Blue
#191970
ΔE00 3.13
Navy
#000080
ΔE00 3.24
Royal
#0C1793
ΔE00 3.29
Darkblue
#00008B
ΔE00 3.43
Dark Royal Blue
#02066F
ΔE00 3.50
Deep Blue
#040273
ΔE00 3.51
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#1E127E #727E12
analogous
#123C7E #1E127E #54127E
triadic
#1E127E #7E1E12 #127E1E
tetradic
#1E127E #7E123C #727E12 #127E54
square
#1E127E #7E123C #727E12 #127E54
split-complementary
#1E127E #7E5412 #3C7E12
monochromatic
#06041B #110A48 #1E127E #2B1AB4 #3E2AE1
Accessibility & contrast
On white
14.55
#1E127E on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.44
#1E127E on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #1E127E
14.55:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##1E127E | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##1E127E | 1.00 | 14.55 | 1.44 | 14.55 |
| #FFFFFF | 14.55 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.44 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 14.55 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#002E81
Deuteranopia (green-blind)
#00247C
Tritanopia (blue-blind)
#00354A
Achromatopsia (no color)
#292929
Design tokens & code
CSS
--color: #1e127e; /* rgb */ color: rgb(30, 18, 126); /* oklch */ color: oklch(29.9% 0.166 274.5);
Tailwind
colors: {
custom: {
50: '#6c54a5',
500: '#1e127e',
950: '#000000',
},
}SCSS
$custom: #1e127e; $custom-light: #6c54a5; $custom-dark: #000000;
JSON
{
"hex": "#1e127e",
"rgb": {
"r": 30,
"g": 18,
"b": 126
},
"hsl": {
"h": 246.667,
"s": 75,
"l": 28.235
},
"oklch": {
"l": 0.29899,
"c": 0.16643,
"h": 274.5
},
"luminance": 0.02215
}Semantic roles & 50–950 ramp
primary
#1E127E
secondary
#A6B438
accent
#F236DD
background
#F7F5FA
surface
#EDE9F4
border
#C8C5CE
text
#08030F
muted
#7B787F