#151c77 ≈ Midnight Blue
#151c77 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 46.67% blue; printed in CMYK it uses 82.35% cyan, 76.47% magenta, 0% yellow and 53.33% black. Its hue angle is 235.71°, with 70% saturation and 27.45% 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.34:1 (WCAG AAA). The closest named color is Midnight Blue (#191970), ΔE 1.36.
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.0232 |
Shades
#151c77 mixed progressively with black.
Tints
#151c77 mixed progressively with white.
Tones
#151c77 mixed progressively with gray.
Text in this color
Background in this color
Border in this color
.text-151c77 {
color: #151c77;
}
.bg-151c77 {
background-color: #151c77;
color: #ffffff;
}
.border-151c77 {
border: 2px solid #151c77;
}
:root {
--color-primary: #151c77;
--color-primary-rgb: 21 28 119;
--color-primary-hsl: 236 70% 27%;
}
.gradient-151c77 {
background: linear-gradient(135deg, #151c77, #3f1577);
}
.shadow-151c77 {
box-shadow: 0 8px 24px rgb(21 28 119 / 0.35);
}
Midnight Blue
#151c77 rgb(21, 28, 119) hsl(236, 70%, 27%) Midnight Blue
#777015 rgb(119, 112, 21) hsl(56, 70%, 27%) Olive
#77151c rgb(119, 21, 28) hsl(356, 70%, 27%) Falu Red
#1c7715 rgb(28, 119, 21) hsl(116, 70%, 27%) Green