#1E2871#1E2871
#1E2871 is a dark, vivid blue. Relative luminance 0.030; OKLCH L 31.9% C 0.125 H 271.3°. Best body text is #FFFFFF at 13.15:1 contrast (WCAG AA passes).
Color values
| HEX | #1E2871 |
|---|---|
| RGB | rgb(30, 40, 113) |
| HSL | hsl(233, 58%, 28%) |
| HSV | hsv(233, 73%, 44%) |
| CMYK | cmyk(73.5%, 64.6%, 0%, 55.7%) |
| CIE-LAB | lab(19.99, 22.69, -43.43) |
| CIE-LCH | lch(19.99, 49.00, 297.58°) |
| OKLab | oklab(31.92% 0.0029 -0.1253) |
| OKLCH | oklch(31.92% 0.125 271.3) |
| XYZ | xyz(4.2738, 2.9854, 15.9706) |
| Luminance | 0.0299 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Midnight Blue
#191970
ΔE00 4.54
Marine
#042E60
ΔE00 6.30
Royal
#0C1793
ΔE00 7.58
Navy Blue
#1B2A4A
ΔE00 8.24
Darkslateblue
#483D8B
ΔE00 8.38
Darkblue (survey)
#030764
ΔE00 8.53
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#1E2871 #71671E
analogous
#1E5171 #1E2871 #3D1E71
triadic
#1E2871 #711E28 #28711E
tetradic
#1E2871 #711E51 #71671E #1E713D
square
#1E2871 #711E51 #71671E #1E713D
split-complementary
#1E2871 #713D1E #51711E
monochromatic
#060918 #111741 #1E2871 #2B39A1 #3E4FCC
Accessibility & contrast
On white
13.15
#1E2871 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.60
#1E2871 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #1E2871
13.15:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##1E2871 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##1E2871 | 1.00 | 13.15 | 1.60 | 13.15 |
| #FFFFFF | 13.15 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.60 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 13.15 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#003473
Deuteranopia (green-blind)
#002D70
Tritanopia (blue-blind)
#003B48
Achromatopsia (no color)
#303030
Design tokens & code
CSS
--color: #1e2871; /* rgb */ color: rgb(30, 40, 113); /* oklch */ color: oklch(31.9% 0.125 271.3);
Tailwind
colors: {
custom: {
50: '#66619a',
500: '#1e2871',
950: '#000000',
},
}SCSS
$custom: #1e2871; $custom-light: #66619a; $custom-dark: #000000;
JSON
{
"hex": "#1e2871",
"rgb": {
"r": 30,
"g": 40,
"b": 113
},
"hsl": {
"h": 232.771,
"s": 58.042,
"l": 28.039
},
"oklch": {
"l": 0.31919,
"c": 0.12538,
"h": 271.3
},
"luminance": 0.02986
}Semantic roles & 50–950 ramp
primary
#1E2871
secondary
#A59A46
accent
#CF47E1
background
#F6F5F9
surface
#EBEAF2
border
#C6C6CC
text
#07050E
muted
#7A797E