#151c72 ≈ Midnight Blue
#151c72 is a color from the blue family, with low lightness and moderate saturation. In the RGB model it is made of 8.24% red, 10.98% green and 44.71% blue; printed in CMYK it uses 81.58% cyan, 75.44% magenta, 0% yellow and 55.29% black. Its hue angle is 235.48°, with 68.89% saturation and 26.47% 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.57:1 (WCAG AAA). The closest named color is Midnight Blue (#191970), ΔE 1.04.
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.022 |
Shades
#151c72 mixed progressively with black.
Tints
#151c72 mixed progressively with white.
Tones
#151c72 mixed progressively with gray.
Text in this color
Background in this color
Border in this color
.text-151c72 {
color: #151c72;
}
.bg-151c72 {
background-color: #151c72;
color: #ffffff;
}
.border-151c72 {
border: 2px solid #151c72;
}
:root {
--color-primary: #151c72;
--color-primary-rgb: 21 28 114;
--color-primary-hsl: 235 69% 26%;
}
.gradient-151c72 {
background: linear-gradient(135deg, #151c72, #3c1572);
}
.shadow-151c72 {
box-shadow: 0 8px 24px rgb(21 28 114 / 0.35);
}
Midnight Blue
#151c72 rgb(21, 28, 114) hsl(235, 69%, 26%) Midnight Blue
#726b15 rgb(114, 107, 21) hsl(55, 69%, 26%) Olive
#72151c rgb(114, 21, 28) hsl(355, 69%, 26%) Burgundy
#1c7215 rgb(28, 114, 21) hsl(115, 69%, 26%) Pakistan Green