#1E2971#1E2971
#1E2971 is a dark, vivid blue. Relative luminance 0.031; OKLCH L 32.1% C 0.124 H 271.0°. Best body text is #FFFFFF at 13.04:1 contrast (WCAG AA passes).
Color values
| HEX | #1E2971 |
|---|---|
| RGB | rgb(30, 41, 113) |
| HSL | hsl(232, 58%, 28%) |
| HSV | hsv(232, 73%, 44%) |
| CMYK | cmyk(73.5%, 63.7%, 0%, 55.7%) |
| CIE-LAB | lab(20.26, 21.99, -42.99) |
| CIE-LCH | lch(20.26, 48.28, 297.09°) |
| OKLab | oklab(32.12% 0.0021 -0.124) |
| OKLCH | oklch(32.12% 0.124 271) |
| XYZ | xyz(4.3080, 3.0537, 15.9820) |
| Luminance | 0.0305 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Midnight Blue
#191970
ΔE00 4.89
Marine
#042E60
ΔE00 6.03
Royal
#0C1793
ΔE00 7.83
Navy Blue
#1B2A4A
ΔE00 8.08
Marine Blue
#01386A
ΔE00 8.24
Darkslateblue
#483D8B
ΔE00 8.29
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#1E2971 #71661E
analogous
#1E5271 #1E2971 #3C1E71
triadic
#1E2971 #711E29 #29711E
tetradic
#1E2971 #711E52 #71661E #1E713C
square
#1E2971 #711E52 #71661E #1E713C
split-complementary
#1E2971 #713C1E #52711E
monochromatic
#060918 #111741 #1E2971 #2B3BA1 #3E51CC
Accessibility & contrast
On white
13.04
#1E2971 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.61
#1E2971 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #1E2971
13.04:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##1E2971 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##1E2971 | 1.00 | 13.04 | 1.61 | 13.04 |
| #FFFFFF | 13.04 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.61 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 13.04 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#003573
Deuteranopia (green-blind)
#002D70
Tritanopia (blue-blind)
#003B48
Achromatopsia (no color)
#313131
Design tokens & code
CSS
--color: #1e2971; /* rgb */ color: rgb(30, 41, 113); /* oklch */ color: oklch(32.1% 0.124 271.0);
Tailwind
colors: {
custom: {
50: '#66629a',
500: '#1e2971',
950: '#000000',
},
}SCSS
$custom: #1e2971; $custom-light: #66629a; $custom-dark: #000000;
JSON
{
"hex": "#1e2971",
"rgb": {
"r": 30,
"g": 41,
"b": 113
},
"hsl": {
"h": 232.048,
"s": 58.042,
"l": 28.039
},
"oklch": {
"l": 0.3212,
"c": 0.12405,
"h": 271
},
"luminance": 0.03054
}Semantic roles & 50–950 ramp
primary
#1E2971
secondary
#A59846
accent
#CD47E1
background
#F6F5F9
surface
#EBEAF2
border
#C6C6CC
text
#07050E
muted
#7A797E