#151c58 ≈ Midnight Blue
#151c58 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 34.51% blue; printed in CMYK it uses 76.14% cyan, 68.18% magenta, 0% yellow and 65.49% black. Its hue angle is 233.73°, with 61.47% saturation and 21.37% 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.68:1 (WCAG AAA). The closest named color is Midnight Blue (#191970), ΔE 5.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.0169 |
Shades
#151c58 mixed progressively with black.
Tints
#151c58 mixed progressively with white.
Tones
#151c58 mixed progressively with gray.
Text in this color
Background in this color
Border in this color
.text-151c58 {
color: #151c58;
}
.bg-151c58 {
background-color: #151c58;
color: #ffffff;
}
.border-151c58 {
border: 2px solid #151c58;
}
:root {
--color-primary: #151c58;
--color-primary-rgb: 21 28 88;
--color-primary-hsl: 234 61% 21%;
}
.gradient-151c58 {
background: linear-gradient(135deg, #151c58, #2f1558);
}
.shadow-151c58 {
box-shadow: 0 8px 24px rgb(21 28 88 / 0.35);
}
Midnight Blue
#151c58 rgb(21, 28, 88) hsl(234, 61%, 21%) Midnight Blue
#585115 rgb(88, 81, 21) hsl(54, 61%, 21%) Army Green
#58151c rgb(88, 21, 28) hsl(354, 61%, 21%) Caput Mortuum
#1c5815 rgb(28, 88, 21) hsl(114, 61%, 21%) Lincoln Green