#1E2177#1E2177
#1E2177 is a dark, vivid blue. Relative luminance 0.027; OKLCH L 31.2% C 0.143 H 273.0°. Best body text is #FFFFFF at 13.64:1 contrast (WCAG AA passes).
Color values
| HEX | #1E2177 |
|---|---|
| RGB | rgb(30, 33, 119) |
| HSL | hsl(238, 60%, 29%) |
| HSV | hsv(238, 75%, 47%) |
| CMYK | cmyk(74.8%, 72.3%, 0%, 53.3%) |
| CIE-LAB | lab(18.78, 29.73, -49.26) |
| CIE-LCH | lch(18.78, 57.54, 301.11°) |
| OKLab | oklab(31.22% 0.0075 -0.1425) |
| OKLCH | oklch(31.22% 0.143 273) |
| XYZ | xyz(4.4079, 2.6952, 17.7371) |
| Luminance | 0.0270 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Midnight Blue
#191970
ΔE00 2.21
Royal
#0C1793
ΔE00 5.16
Dark Royal Blue
#02066F
ΔE00 6.17
Darkblue (survey)
#030764
ΔE00 6.47
Deep Blue
#040273
ΔE00 6.74
Navy
#000080
ΔE00 7.01
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#1E2177 #77741E
analogous
#1E4E77 #1E2177 #481E77
triadic
#1E2177 #771E21 #21771E
tetradic
#1E2177 #771E4E #77741E #1E7748
square
#1E2177 #771E4E #77741E #1E7748
split-complementary
#1E2177 #77481E #4E771E
monochromatic
#060718 #121346 #1E2177 #2A2FA8 #4045CF
Accessibility & contrast
On white
13.64
#1E2177 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.54
#1E2177 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #1E2177
13.64:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##1E2177 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##1E2177 | 1.00 | 13.64 | 1.54 | 13.64 |
| #FFFFFF | 13.64 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.54 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 13.64 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#00327A
Deuteranopia (green-blind)
#002975
Tritanopia (blue-blind)
#003949
Achromatopsia (no color)
#2E2E2E
Design tokens & code
CSS
--color: #1e2177; /* rgb */ color: rgb(30, 33, 119); /* oklch */ color: oklch(31.2% 0.143 273.0);
Tailwind
colors: {
custom: {
50: '#695d9f',
500: '#1e2177',
950: '#000000',
},
}SCSS
$custom: #1e2177; $custom-light: #695d9f; $custom-dark: #000000;
JSON
{
"hex": "#1e2177",
"rgb": {
"r": 30,
"g": 33,
"b": 119
},
"hsl": {
"h": 237.978,
"s": 59.732,
"l": 29.216
},
"oklch": {
"l": 0.31217,
"c": 0.14266,
"h": 273
},
"luminance": 0.02696
}Semantic roles & 50–950 ramp
primary
#1E2177
secondary
#ABA746
accent
#DE45E3
background
#F6F5F9
surface
#ECE9F2
border
#C7C5CC
text
#07040F
muted
#7A797E