#151f8d ≈ Imperial Blue
#151f8d is a color from the blue family, with low lightness and moderate saturation. In the RGB model it is made of 8.24% red, 12.16% green and 55.29% blue; printed in CMYK it uses 85.11% cyan, 78.01% magenta, 0% yellow and 44.71% black. Its hue angle is 235°, with 74.07% saturation and 31.76% 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 corporate identities. White text on this color reaches a contrast ratio of 13.02:1 (WCAG AAA). The closest named color is Imperial Blue (#002395), ΔE 1.73.
Description generated from the measured properties of this color.
| HEX | |
|---|---|
| RGB | |
| RGB percent | |
| CMY | |
| CMYK | |
| HSL | |
| HSV / HSB | |
| Web safe | #003399 |
| CIE-LAB | |
| XYZ | |
| xyY | |
| CIE-LCH | |
| CIE-LUV | |
| Hunter-Lab | |
| OKLab | |
| Binary | |
| Decimal | |
| Relative luminance | 0.0306 |
Shades
#151f8d mixed progressively with black.
Tints
#151f8d mixed progressively with white.
Tones
#151f8d mixed progressively with gray.
Text in this color
Background in this color
Border in this color
.text-151f8d {
color: #151f8d;
}
.bg-151f8d {
background-color: #151f8d;
color: #ffffff;
}
.border-151f8d {
border: 2px solid #151f8d;
}
:root {
--color-primary: #151f8d;
--color-primary-rgb: 21 31 141;
--color-primary-hsl: 235 74% 32%;
}
.gradient-151f8d {
background: linear-gradient(135deg, #151f8d, #47158d);
}
.shadow-151f8d {
box-shadow: 0 8px 24px rgb(21 31 141 / 0.35);
}
Imperial Blue
#151f8d rgb(21, 31, 141) hsl(235, 74%, 32%) Imperial Blue
#8d8315 rgb(141, 131, 21) hsl(55, 74%, 32%) Olive
#8d151f rgb(141, 21, 31) hsl(355, 74%, 32%) Carmine
#1f8d15 rgb(31, 141, 21) hsl(115, 74%, 32%) Forest Green