#1e166b ≈ Midnight Blue
#1e166b is a color from the blue family, with low lightness and moderate saturation. In the RGB model it is made of 11.76% red, 8.63% green and 41.96% blue; printed in CMYK it uses 71.96% cyan, 79.44% magenta, 0% yellow and 58.04% black. Its hue angle is 245.65°, with 65.89% saturation and 25.29% lightness in HSL. It is a cool color, often associated with trust, stability and focus. Designers typically use it for technology products, finance and banking and luxury branding. White text on this color reaches a contrast ratio of 15.19:1 (WCAG AAA). The closest named color is Midnight Blue (#191970), ΔE 1.31.
Description generated from the measured properties of this color.
| HEX | |
|---|---|
| RGB | |
| RGB percent | |
| CMY | |
| CMYK | |
| HSL | |
| HSV / HSB | |
| Web safe | #330066 |
| CIE-LAB | |
| XYZ | |
| xyY | |
| CIE-LCH | |
| CIE-LUV | |
| Hunter-Lab | |
| OKLab | |
| Binary | |
| Decimal | |
| Relative luminance | 0.0191 |
Shades
#1e166b mixed progressively with black.
Tints
#1e166b mixed progressively with white.
Tones
#1e166b mixed progressively with gray.
Text in this color
Background in this color
Border in this color
.text-1e166b {
color: #1e166b;
}
.bg-1e166b {
background-color: #1e166b;
color: #ffffff;
}
.border-1e166b {
border: 2px solid #1e166b;
}
:root {
--color-primary: #1e166b;
--color-primary-rgb: 30 22 107;
--color-primary-hsl: 246 66% 25%;
}
.gradient-1e166b {
background: linear-gradient(135deg, #1e166b, #48166b);
}
.shadow-1e166b {
box-shadow: 0 8px 24px rgb(30 22 107 / 0.35);
}
Midnight Blue
#1e166b rgb(30, 22, 107) hsl(246, 66%, 25%) Midnight Blue
#636b16 rgb(99, 107, 22) hsl(66, 66%, 25%) Dark Olive Green
#6b1e16 rgb(107, 30, 22) hsl(6, 66%, 25%) Falu Red
#166b1e rgb(22, 107, 30) hsl(126, 66%, 25%) Pakistan Green