#1E1871#1E1871
#1E1871 is a dark, vivid blue. Relative luminance 0.021; OKLCH L 29.1% C 0.145 H 275.5°. Best body text is #FFFFFF at 14.74:1 contrast (WCAG AA passes).
Color values
| HEX | #1E1871 |
|---|---|
| RGB | rgb(30, 24, 113) |
| HSL | hsl(244, 65%, 27%) |
| HSV | hsv(244, 79%, 44%) |
| CMYK | cmyk(73.5%, 78.8%, 0%, 55.7%) |
| CIE-LAB | lab(16.11, 33.18, -49.79) |
| CIE-LCH | lch(16.11, 59.84, 303.68°) |
| OKLab | oklab(29.12% 0.014 -0.144) |
| OKLCH | oklch(29.12% 0.145 275.5) |
| XYZ | xyz(3.8417, 2.1212, 15.8266) |
| Luminance | 0.0212 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Midnight Blue
#191970
ΔE00 0.75
Dark Royal Blue
#02066F
ΔE00 3.99
Darkblue (survey)
#030764
ΔE00 4.24
Deep Blue
#040273
ΔE00 4.59
Royal
#0C1793
ΔE00 5.21
Navy
#000080
ΔE00 5.25
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#1E1871 #6B7118
analogous
#183F71 #1E1871 #4B1871
triadic
#1E1871 #711E18 #18711E
tetradic
#1E1871 #71183F #6B7118 #18714B
square
#1E1871 #71183F #6B7118 #18714B
split-complementary
#1E1871 #714B18 #3F7118
monochromatic
#070519 #110D3F #1E1871 #2B23A3 #3B30D3
Accessibility & contrast
On white
14.74
#1E1871 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.42
#1E1871 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #1E1871
14.74:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##1E1871 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##1E1871 | 1.00 | 14.74 | 1.42 | 14.74 |
| #FFFFFF | 14.74 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.42 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 14.74 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#002C74
Deuteranopia (green-blind)
#00246F
Tritanopia (blue-blind)
#003243
Achromatopsia (no color)
#282828
Design tokens & code
CSS
--color: #1e1871; /* rgb */ color: rgb(30, 24, 113); /* oklch */ color: oklch(29.1% 0.145 275.5);
Tailwind
colors: {
custom: {
50: '#68569b',
500: '#1e1871',
950: '#000000',
},
}SCSS
$custom: #1e1871; $custom-light: #68569b; $custom-dark: #000000;
JSON
{
"hex": "#1e1871",
"rgb": {
"r": 30,
"g": 24,
"b": 113
},
"hsl": {
"h": 244.045,
"s": 64.964,
"l": 26.863
},
"oklch": {
"l": 0.29118,
"c": 0.14464,
"h": 275.5
},
"luminance": 0.02122
}Semantic roles & 50–950 ramp
primary
#1E1871
secondary
#9FA63E
accent
#E840DD
background
#F6F5F9
surface
#ECE9F2
border
#C7C5CC
text
#07030E
muted
#7A787E