#1E2174#1E2174
#1E2174 is a dark, vivid blue. Relative luminance 0.026; OKLCH L 30.9% C 0.139 H 273.3°. Best body text is #FFFFFF at 13.77:1 contrast (WCAG AA passes).
Color values
| HEX | #1E2174 |
|---|---|
| RGB | rgb(30, 33, 116) |
| HSL | hsl(238, 59%, 29%) |
| HSV | hsv(238, 74%, 45%) |
| CMYK | cmyk(74.1%, 71.6%, 0%, 54.5%) |
| CIE-LAB | lab(18.47, 28.61, -47.84) |
| CIE-LCH | lch(18.47, 55.75, 300.88°) |
| OKLab | oklab(30.9% 0.0079 -0.1383) |
| OKLCH | oklch(30.9% 0.139 273.3) |
| XYZ | xyz(4.2306, 2.6243, 16.8032) |
| Luminance | 0.0262 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Midnight Blue
#191970
ΔE00 2.15
Royal
#0C1793
ΔE00 5.64
Dark Royal Blue
#02066F
ΔE00 6.24
Darkblue (survey)
#030764
ΔE00 6.40
Deep Blue
#040273
ΔE00 6.87
Navy
#000080
ΔE00 7.26
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#1E2174 #74711E
analogous
#1E4C74 #1E2174 #461E74
triadic
#1E2174 #741E21 #21741E
tetradic
#1E2174 #741E4C #74711E #1E7446
square
#1E2174 #741E4C #74711E #1E7446
split-complementary
#1E2174 #74461E #4C741E
monochromatic
#060718 #111343 #1E2174 #2B2FA5 #3F44CD
Accessibility & contrast
On white
13.77
#1E2174 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.53
#1E2174 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #1E2174
13.77:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##1E2174 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##1E2174 | 1.00 | 13.77 | 1.53 | 13.77 |
| #FFFFFF | 13.77 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.53 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 13.77 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#003177
Deuteranopia (green-blind)
#002972
Tritanopia (blue-blind)
#003847
Achromatopsia (no color)
#2D2D2D
Design tokens & code
CSS
--color: #1e2174; /* rgb */ color: rgb(30, 33, 116); /* oklch */ color: oklch(30.9% 0.139 273.3);
Tailwind
colors: {
custom: {
50: '#685d9d',
500: '#1e2174',
950: '#000000',
},
}SCSS
$custom: #1e2174; $custom-light: #685d9d; $custom-dark: #000000;
JSON
{
"hex": "#1e2174",
"rgb": {
"r": 30,
"g": 33,
"b": 116
},
"hsl": {
"h": 237.907,
"s": 58.904,
"l": 28.627
},
"oklch": {
"l": 0.30902,
"c": 0.13853,
"h": 273.3
},
"luminance": 0.02625
}Semantic roles & 50–950 ramp
primary
#1E2174
secondary
#A8A546
accent
#DD46E2
background
#F6F5F9
surface
#EBE9F2
border
#C6C5CC
text
#07040E
muted
#7A797E