#151e7a ≈ Midnight Blue
#151e7a is a color from the blue family, with low lightness and moderate saturation. In the RGB model it is made of 8.24% red, 11.76% green and 47.84% blue; printed in CMYK it uses 82.79% cyan, 75.41% magenta, 0% yellow and 52.16% black. Its hue angle is 234.65°, with 70.63% saturation and 28.04% 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 14.01:1 (WCAG AAA). The closest named color is Midnight Blue (#191970), ΔE 1.98.
Description generated from the measured properties of this color.
| HEX | |
|---|---|
| RGB | |
| RGB percent | |
| CMY | |
| CMYK | |
| HSL | |
| HSV / HSB | |
| Web safe | #003366 |
| CIE-LAB | |
| XYZ | |
| xyY | |
| CIE-LCH | |
| CIE-LUV | |
| Hunter-Lab | |
| OKLab | |
| Binary | |
| Decimal | |
| Relative luminance | 0.0249 |
Shades
#151e7a mixed progressively with black.
Tints
#151e7a mixed progressively with white.
Tones
#151e7a mixed progressively with gray.
Text in this color
Background in this color
Border in this color
.text-151e7a {
color: #151e7a;
}
.bg-151e7a {
background-color: #151e7a;
color: #ffffff;
}
.border-151e7a {
border: 2px solid #151e7a;
}
:root {
--color-primary: #151e7a;
--color-primary-rgb: 21 30 122;
--color-primary-hsl: 235 71% 28%;
}
.gradient-151e7a {
background: linear-gradient(135deg, #151e7a, #3e157a);
}
.shadow-151e7a {
box-shadow: 0 8px 24px rgb(21 30 122 / 0.35);
}
Midnight Blue
#151e7a rgb(21, 30, 122) hsl(235, 71%, 28%) Midnight Blue
#7a7115 rgb(122, 113, 21) hsl(55, 71%, 28%) Olive
#7a151e rgb(122, 21, 30) hsl(355, 71%, 28%) Burgundy
#1e7a15 rgb(30, 122, 21) hsl(115, 71%, 28%) Green