#1E1771#1E1771
#1E1771 is a dark, vivid blue. Relative luminance 0.021; OKLCH L 29.0% C 0.146 H 275.7°. Best body text is #FFFFFF at 14.83:1 contrast (WCAG AA passes).
Color values
| HEX | #1E1771 |
|---|---|
| RGB | rgb(30, 23, 113) |
| HSL | hsl(245, 66%, 27%) |
| HSV | hsv(245, 80%, 44%) |
| CMYK | cmyk(73.5%, 79.6%, 0%, 55.7%) |
| CIE-LAB | lab(15.91, 33.77, -50.13) |
| CIE-LCH | lch(15.91, 60.45, 303.96°) |
| OKLab | oklab(28.97% 0.0145 -0.1449) |
| OKLCH | oklch(28.97% 0.146 275.7) |
| XYZ | xyz(3.8215, 2.0807, 15.8198) |
| Luminance | 0.0208 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Midnight Blue
#191970
ΔE00 0.94
Dark Royal Blue
#02066F
ΔE00 3.77
Darkblue (survey)
#030764
ΔE00 4.06
Deep Blue
#040273
ΔE00 4.35
Navy
#000080
ΔE00 5.04
Royal
#0C1793
ΔE00 5.18
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#1E1771 #6A7117
analogous
#173D71 #1E1771 #4B1771
triadic
#1E1771 #711E17 #17711E
tetradic
#1E1771 #71173D #6A7117 #17714B
square
#1E1771 #71173D #6A7117 #17714B
split-complementary
#1E1771 #714B17 #3D7117
monochromatic
#070519 #110D3E #1E1771 #2C21A4 #3B2ED4
Accessibility & contrast
On white
14.83
#1E1771 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.42
#1E1771 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #1E1771
14.83:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##1E1771 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##1E1771 | 1.00 | 14.83 | 1.42 | 14.83 |
| #FFFFFF | 14.83 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.42 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 14.83 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#002B74
Deuteranopia (green-blind)
#00246F
Tritanopia (blue-blind)
#003243
Achromatopsia (no color)
#282828
Design tokens & code
CSS
--color: #1e1771; /* rgb */ color: rgb(30, 23, 113); /* oklch */ color: oklch(29.0% 0.146 275.7);
Tailwind
colors: {
custom: {
50: '#68569b',
500: '#1e1771',
950: '#000000',
},
}SCSS
$custom: #1e1771; $custom-light: #68569b; $custom-dark: #000000;
JSON
{
"hex": "#1e1771",
"rgb": {
"r": 30,
"g": 23,
"b": 113
},
"hsl": {
"h": 244.667,
"s": 66.176,
"l": 26.667
},
"oklch": {
"l": 0.28973,
"c": 0.14566,
"h": 275.7
},
"luminance": 0.02081
}Semantic roles & 50–950 ramp
primary
#1E1771
secondary
#9EA73D
accent
#E93FDC
background
#F6F5F9
surface
#ECE9F2
border
#C7C5CC
text
#07030E
muted
#7A787E