#1E1671#1E1671
#1E1671 is a dark, vivid blue. Relative luminance 0.020; OKLCH L 28.8% C 0.147 H 275.9°. Best body text is #FFFFFF at 14.91:1 contrast (WCAG AA passes).
Color values
| HEX | #1E1671 |
|---|---|
| RGB | rgb(30, 22, 113) |
| HSL | hsl(245, 67%, 26%) |
| HSV | hsv(245, 81%, 44%) |
| CMYK | cmyk(73.5%, 80.5%, 0%, 55.7%) |
| CIE-LAB | lab(15.70, 34.34, -50.46) |
| CIE-LCH | lch(15.70, 61.04, 304.24°) |
| OKLab | oklab(28.83% 0.0151 -0.1459) |
| OKLCH | oklch(28.83% 0.147 275.9) |
| XYZ | xyz(3.8020, 2.0417, 15.8133) |
| Luminance | 0.0204 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Midnight Blue
#191970
ΔE00 1.15
Dark Royal Blue
#02066F
ΔE00 3.57
Darkblue (survey)
#030764
ΔE00 3.89
Deep Blue
#040273
ΔE00 4.13
Navy
#000080
ΔE00 4.83
Royal
#0C1793
ΔE00 5.16
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#1E1671 #697116
analogous
#163C71 #1E1671 #4C1671
triadic
#1E1671 #711E16 #16711E
tetradic
#1E1671 #71163C #697116 #16714C
square
#1E1671 #71163C #697116 #16714C
split-complementary
#1E1671 #714C16 #3C7116
monochromatic
#07051A #100C3E #1E1671 #2C20A4 #3B2CD6
Accessibility & contrast
On white
14.91
#1E1671 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.41
#1E1671 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #1E1671
14.91:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##1E1671 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##1E1671 | 1.00 | 14.91 | 1.41 | 14.91 |
| #FFFFFF | 14.91 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.41 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 14.91 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#002B74
Deuteranopia (green-blind)
#00236F
Tritanopia (blue-blind)
#003143
Achromatopsia (no color)
#272727
Design tokens & code
CSS
--color: #1e1671; /* rgb */ color: rgb(30, 22, 113); /* oklch */ color: oklch(28.8% 0.147 275.9);
Tailwind
colors: {
custom: {
50: '#68559b',
500: '#1e1671',
950: '#000000',
},
}SCSS
$custom: #1e1671; $custom-light: #68559b; $custom-dark: #000000;
JSON
{
"hex": "#1e1671",
"rgb": {
"r": 30,
"g": 22,
"b": 113
},
"hsl": {
"h": 245.275,
"s": 67.407,
"l": 26.471
},
"oklch": {
"l": 0.28832,
"c": 0.14666,
"h": 275.9
},
"luminance": 0.02042
}Semantic roles & 50–950 ramp
primary
#1E1671
secondary
#9EA73C
accent
#EA3EDB
background
#F6F5F9
surface
#ECE9F2
border
#C7C5CC
text
#07030E
muted
#7A787E