#151a58 ≈ Midnight Blue
#151a58 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.2% green and 34.51% blue; printed in CMYK it uses 76.14% cyan, 70.45% magenta, 0% yellow and 65.49% black. Its hue angle is 235.52°, 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.9:1 (WCAG AAA). The closest named color is Midnight Blue (#191970), ΔE 4.67.
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.016 |
Shades
#151a58 mixed progressively with black.
Tints
#151a58 mixed progressively with white.
Tones
#151a58 mixed progressively with gray.
Text in this color
Background in this color
Border in this color
.text-151a58 {
color: #151a58;
}
.bg-151a58 {
background-color: #151a58;
color: #ffffff;
}
.border-151a58 {
border: 2px solid #151a58;
}
:root {
--color-primary: #151a58;
--color-primary-rgb: 21 26 88;
--color-primary-hsl: 236 61% 21%;
}
.gradient-151a58 {
background: linear-gradient(135deg, #151a58, #311558);
}
.shadow-151a58 {
box-shadow: 0 8px 24px rgb(21 26 88 / 0.35);
}
Midnight Blue
#151a58 rgb(21, 26, 88) hsl(236, 61%, 21%) Midnight Blue
#585315 rgb(88, 83, 21) hsl(56, 61%, 21%) Army Green
#58151a rgb(88, 21, 26) hsl(356, 61%, 21%) Caput Mortuum
#1a5815 rgb(26, 88, 21) hsl(116, 61%, 21%) Lincoln Green