#1E1571#1E1571
#1E1571 is a dark, vivid blue. Relative luminance 0.020; OKLCH L 28.7% C 0.148 H 276.0°. Best body text is #FFFFFF at 14.99:1 contrast (WCAG AA passes).
Color values
| HEX | #1E1571 |
|---|---|
| RGB | rgb(30, 21, 113) |
| HSL | hsl(246, 69%, 26%) |
| HSV | hsv(246, 81%, 44%) |
| CMYK | cmyk(73.5%, 81.4%, 0%, 55.7%) |
| CIE-LAB | lab(15.51, 34.90, -50.79) |
| CIE-LCH | lch(15.51, 61.62, 304.50°) |
| OKLab | oklab(28.69% 0.0156 -0.1468) |
| OKLCH | oklch(28.69% 0.148 276) |
| XYZ | xyz(3.7832, 2.0043, 15.8071) |
| Luminance | 0.0200 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Midnight Blue
#191970
ΔE00 1.36
Dark Royal Blue
#02066F
ΔE00 3.37
Darkblue (survey)
#030764
ΔE00 3.74
Deep Blue
#040273
ΔE00 3.91
Navy
#000080
ΔE00 4.64
Royal
#0C1793
ΔE00 5.15
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#1E1571 #687115
analogous
#153A71 #1E1571 #4C1571
triadic
#1E1571 #711E15 #15711E
tetradic
#1E1571 #71153A #687115 #15714C
square
#1E1571 #71153A #687115 #15714C
split-complementary
#1E1571 #714C15 #3A7115
monochromatic
#07051A #100B3D #1E1571 #2C1FA5 #3A29D7
Accessibility & contrast
On white
14.99
#1E1571 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.40
#1E1571 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #1E1571
14.99:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##1E1571 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##1E1571 | 1.00 | 14.99 | 1.40 | 14.99 |
| #FFFFFF | 14.99 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.40 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 14.99 | 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: #1e1571; /* rgb */ color: rgb(30, 21, 113); /* oklch */ color: oklch(28.7% 0.148 276.0);
Tailwind
colors: {
custom: {
50: '#68559b',
500: '#1e1571',
950: '#000000',
},
}SCSS
$custom: #1e1571; $custom-light: #68559b; $custom-dark: #000000;
JSON
{
"hex": "#1e1571",
"rgb": {
"r": 30,
"g": 21,
"b": 113
},
"hsl": {
"h": 245.87,
"s": 68.657,
"l": 26.275
},
"oklch": {
"l": 0.28695,
"c": 0.14764,
"h": 276
},
"luminance": 0.02005
}Semantic roles & 50–950 ramp
primary
#1E1571
secondary
#9DA73B
accent
#EB3CDA
background
#F6F5F9
surface
#ECE9F2
border
#C7C5CC
text
#07030E
muted
#7A787E