#151f87 ≈ Imperial Blue
#151f87 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 52.94% blue; printed in CMYK it uses 84.44% cyan, 77.04% magenta, 0% yellow and 47.06% black. Its hue angle is 234.74°, with 73.08% saturation and 30.59% 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.31:1 (WCAG AAA). The closest named color is Imperial Blue (#002395), ΔE 2.3.
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.0289 |
Shades
#151f87 mixed progressively with black.
Tints
#151f87 mixed progressively with white.
Tones
#151f87 mixed progressively with gray.
Text in this color
Background in this color
Border in this color
.text-151f87 {
color: #151f87;
}
.bg-151f87 {
background-color: #151f87;
color: #ffffff;
}
.border-151f87 {
border: 2px solid #151f87;
}
:root {
--color-primary: #151f87;
--color-primary-rgb: 21 31 135;
--color-primary-hsl: 235 73% 31%;
}
.gradient-151f87 {
background: linear-gradient(135deg, #151f87, #441587);
}
.shadow-151f87 {
box-shadow: 0 8px 24px rgb(21 31 135 / 0.35);
}
Imperial Blue
#151f87 rgb(21, 31, 135) hsl(235, 73%, 31%) Imperial Blue
#877d15 rgb(135, 125, 21) hsl(55, 73%, 31%) Olive
#87151f rgb(135, 21, 31) hsl(355, 73%, 31%) Falu Red
#1f8715 rgb(31, 135, 21) hsl(115, 73%, 31%) India Green