#151b74 ≈ Midnight Blue
#151b74 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.59% green and 45.49% blue; printed in CMYK it uses 81.9% cyan, 76.72% magenta, 0% yellow and 54.51% black. Its hue angle is 236.21°, with 69.34% saturation and 26.86% 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 0.92.
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
#151b74 mixed progressively with black.
Tints
#151b74 mixed progressively with white.
Tones
#151b74 mixed progressively with gray.
Text in this color
Background in this color
Border in this color
.text-151b74 {
color: #151b74;
}
.bg-151b74 {
background-color: #151b74;
color: #ffffff;
}
.border-151b74 {
border: 2px solid #151b74;
}
:root {
--color-primary: #151b74;
--color-primary-rgb: 21 27 116;
--color-primary-hsl: 236 69% 27%;
}
.gradient-151b74 {
background: linear-gradient(135deg, #151b74, #3e1574);
}
.shadow-151b74 {
box-shadow: 0 8px 24px rgb(21 27 116 / 0.35);
}
Midnight Blue
#151b74 rgb(21, 27, 116) hsl(236, 69%, 27%) Midnight Blue
#746e15 rgb(116, 110, 21) hsl(56, 69%, 27%) Olive
#74151b rgb(116, 21, 27) hsl(356, 69%, 27%) Falu Red
#1b7415 rgb(27, 116, 21) hsl(116, 69%, 27%) Green