#1E1872#1E1872
#1E1872 is a dark, vivid blue. Relative luminance 0.021; OKLCH L 29.2% C 0.146 H 275.4°. Best body text is #FFFFFF at 14.70:1 contrast (WCAG AA passes).
Color values
| HEX | #1E1872 |
|---|---|
| RGB | rgb(30, 24, 114) |
| HSL | hsl(244, 65%, 27%) |
| HSV | hsv(244, 79%, 45%) |
| CMYK | cmyk(73.7%, 78.9%, 0%, 55.3%) |
| CIE-LAB | lab(16.22, 33.53, -50.25) |
| CIE-LCH | lch(16.22, 60.41, 303.71°) |
| OKLab | oklab(29.23% 0.0137 -0.1453) |
| OKLCH | oklch(29.23% 0.146 275.4) |
| XYZ | xyz(3.8983, 2.1438, 16.1247) |
| Luminance | 0.0214 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Midnight Blue
#191970
ΔE00 0.82
Dark Royal Blue
#02066F
ΔE00 3.97
Darkblue (survey)
#030764
ΔE00 4.29
Deep Blue
#040273
ΔE00 4.54
Royal
#0C1793
ΔE00 5.05
Navy
#000080
ΔE00 5.15
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#1E1872 #6C7218
analogous
#183F72 #1E1872 #4B1872
triadic
#1E1872 #721E18 #18721E
tetradic
#1E1872 #72183F #6C7218 #18724B
square
#1E1872 #72183F #6C7218 #18724B
split-complementary
#1E1872 #724B18 #3F7218
monochromatic
#070519 #110D3F #1E1872 #2B23A5 #3C31D4
Accessibility & contrast
On white
14.70
#1E1872 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.43
#1E1872 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #1E1872
14.70:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##1E1872 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##1E1872 | 1.00 | 14.70 | 1.43 | 14.70 |
| #FFFFFF | 14.70 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.43 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 14.70 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#002C75
Deuteranopia (green-blind)
#002470
Tritanopia (blue-blind)
#003244
Achromatopsia (no color)
#282828
Design tokens & code
CSS
--color: #1e1872; /* rgb */ color: rgb(30, 24, 114); /* oklch */ color: oklch(29.2% 0.146 275.4);
Tailwind
colors: {
custom: {
50: '#68579c',
500: '#1e1872',
950: '#000000',
},
}SCSS
$custom: #1e1872; $custom-light: #68579c; $custom-dark: #000000;
JSON
{
"hex": "#1e1872",
"rgb": {
"r": 30,
"g": 24,
"b": 114
},
"hsl": {
"h": 244,
"s": 65.217,
"l": 27.059
},
"oklch": {
"l": 0.29232,
"c": 0.14595,
"h": 275.4
},
"luminance": 0.02144
}Semantic roles & 50–950 ramp
primary
#1E1872
secondary
#A0A73E
accent
#E840DD
background
#F6F5F9
surface
#ECE9F2
border
#C7C5CC
text
#07030E
muted
#7A787E