#1E2178#1E2178
#1E2178 is a dark, vivid blue. Relative luminance 0.027; OKLCH L 31.3% C 0.144 H 272.9°. Best body text is #FFFFFF at 13.60:1 contrast (WCAG AA passes).
Color values
| HEX | #1E2178 |
|---|---|
| RGB | rgb(30, 33, 120) |
| HSL | hsl(238, 60%, 29%) |
| HSV | hsv(238, 75%, 47%) |
| CMYK | cmyk(75%, 72.5%, 0%, 52.9%) |
| CIE-LAB | lab(18.88, 30.10, -49.73) |
| CIE-LCH | lch(18.88, 58.13, 301.18°) |
| OKLab | oklab(31.32% 0.0073 -0.1438) |
| OKLCH | oklch(31.32% 0.144 272.9) |
| XYZ | xyz(4.4683, 2.7194, 18.0551) |
| Luminance | 0.0272 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Midnight Blue
#191970
ΔE00 2.26
Royal
#0C1793
ΔE00 5.01
Dark Royal Blue
#02066F
ΔE00 6.15
Darkblue (survey)
#030764
ΔE00 6.50
Deep Blue
#040273
ΔE00 6.71
Navy
#000080
ΔE00 6.94
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#1E2178 #78751E
analogous
#1E4E78 #1E2178 #481E78
triadic
#1E2178 #781E21 #21781E
tetradic
#1E2178 #781E4E #78751E #1E7848
square
#1E2178 #781E4E #78751E #1E7848
split-complementary
#1E2178 #78481E #4E781E
monochromatic
#060718 #121447 #1E2178 #2A2EA9 #4146CF
Accessibility & contrast
On white
13.60
#1E2178 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.54
#1E2178 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #1E2178
13.60:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##1E2178 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##1E2178 | 1.00 | 13.60 | 1.54 | 13.60 |
| #FFFFFF | 13.60 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.54 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 13.60 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#00327B
Deuteranopia (green-blind)
#002A76
Tritanopia (blue-blind)
#00394A
Achromatopsia (no color)
#2E2E2E
Design tokens & code
CSS
--color: #1e2178; /* rgb */ color: rgb(30, 33, 120); /* oklch */ color: oklch(31.3% 0.144 272.9);
Tailwind
colors: {
custom: {
50: '#695da0',
500: '#1e2178',
950: '#000000',
},
}SCSS
$custom: #1e2178; $custom-light: #695da0; $custom-dark: #000000;
JSON
{
"hex": "#1e2178",
"rgb": {
"r": 30,
"g": 33,
"b": 120
},
"hsl": {
"h": 238,
"s": 60,
"l": 29.412
},
"oklch": {
"l": 0.31323,
"c": 0.14402,
"h": 272.9
},
"luminance": 0.0272
}Semantic roles & 50–950 ramp
primary
#1E2178
secondary
#ACA846
accent
#DE45E3
background
#F6F5F9
surface
#ECE9F2
border
#C7C5CC
text
#07040F
muted
#7A797E