#1E2972#1E2972
#1E2972 is a dark, vivid blue. Relative luminance 0.031; OKLCH L 32.2% C 0.126 H 270.9°. Best body text is #FFFFFF at 13.00:1 contrast (WCAG AA passes).
Color values
| HEX | #1E2972 |
|---|---|
| RGB | rgb(30, 41, 114) |
| HSL | hsl(232, 58%, 28%) |
| HSV | hsv(232, 74%, 45%) |
| CMYK | cmyk(73.7%, 64%, 0%, 55.3%) |
| CIE-LAB | lab(20.35, 22.38, -43.48) |
| CIE-LCH | lch(20.35, 48.91, 297.23°) |
| OKLab | oklab(32.21% 0.0021 -0.1255) |
| OKLCH | oklch(32.21% 0.126 270.9) |
| XYZ | xyz(4.3646, 3.0764, 16.2801) |
| Luminance | 0.0308 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Midnight Blue
#191970
ΔE00 4.82
Marine
#042E60
ΔE00 6.13
Royal
#0C1793
ΔE00 7.67
Darkslateblue
#483D8B
ΔE00 8.22
Navy Blue
#1B2A4A
ΔE00 8.23
Marine Blue
#01386A
ΔE00 8.29
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#1E2972 #72671E
analogous
#1E5372 #1E2972 #3D1E72
triadic
#1E2972 #721E29 #29721E
tetradic
#1E2972 #721E53 #72671E #1E723D
square
#1E2972 #721E53 #72671E #1E723D
split-complementary
#1E2972 #723D1E #53721E
monochromatic
#060918 #111842 #1E2972 #2B3AA2 #3E51CC
Accessibility & contrast
On white
13.00
#1E2972 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.62
#1E2972 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #1E2972
13.00:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##1E2972 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##1E2972 | 1.00 | 13.00 | 1.62 | 13.00 |
| #FFFFFF | 13.00 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.62 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 13.00 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#003574
Deuteranopia (green-blind)
#002D71
Tritanopia (blue-blind)
#003C49
Achromatopsia (no color)
#313131
Design tokens & code
CSS
--color: #1e2972; /* rgb */ color: rgb(30, 41, 114); /* oklch */ color: oklch(32.2% 0.126 270.9);
Tailwind
colors: {
custom: {
50: '#67629b',
500: '#1e2972',
950: '#000000',
},
}SCSS
$custom: #1e2972; $custom-light: #67629b; $custom-dark: #000000;
JSON
{
"hex": "#1e2972",
"rgb": {
"r": 30,
"g": 41,
"b": 114
},
"hsl": {
"h": 232.143,
"s": 58.333,
"l": 28.235
},
"oklch": {
"l": 0.32214,
"c": 0.12551,
"h": 270.9
},
"luminance": 0.03077
}Semantic roles & 50–950 ramp
primary
#1E2972
secondary
#A69946
accent
#CD46E2
background
#F6F5F9
surface
#EBEAF2
border
#C6C6CC
text
#07050E
muted
#7A797E