#151c5e ≈ Midnight Blue
#151c5e 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 36.86% blue; printed in CMYK it uses 77.66% cyan, 70.21% magenta, 0% yellow and 63.14% black. Its hue angle is 234.25°, with 63.48% saturation and 22.55% 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.45:1 (WCAG AAA). The closest named color is Midnight Blue (#191970), ΔE 3.84.
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.018 |
Shades
#151c5e mixed progressively with black.
Tints
#151c5e mixed progressively with white.
Tones
#151c5e mixed progressively with gray.
Text in this color
Background in this color
Border in this color
.text-151c5e {
color: #151c5e;
}
.bg-151c5e {
background-color: #151c5e;
color: #ffffff;
}
.border-151c5e {
border: 2px solid #151c5e;
}
:root {
--color-primary: #151c5e;
--color-primary-rgb: 21 28 94;
--color-primary-hsl: 234 63% 23%;
}
.gradient-151c5e {
background: linear-gradient(135deg, #151c5e, #33155e);
}
.shadow-151c5e {
box-shadow: 0 8px 24px rgb(21 28 94 / 0.35);
}
Midnight Blue
#151c5e rgb(21, 28, 94) hsl(234, 63%, 23%) Midnight Blue
#5e5715 rgb(94, 87, 21) hsl(54, 63%, 23%) Army Green
#5e151c rgb(94, 21, 28) hsl(354, 63%, 23%) Rosewood
#1c5e15 rgb(28, 94, 21) hsl(114, 63%, 23%) Lincoln Green