#151f9e ≈ Imperial Blue
#151f9e is a color from the blue family, with low lightness and strong saturation. In the RGB model it is made of 8.24% red, 12.16% green and 61.96% blue; printed in CMYK it uses 86.71% cyan, 80.38% magenta, 0% yellow and 38.04% black. Its hue angle is 235.62°, with 76.54% saturation and 35.1% 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 brand accents. White text on this color reaches a contrast ratio of 12.2:1 (WCAG AAA). The closest named color is Imperial Blue (#002395), ΔE 2.16.
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.0361 |
Shades
#151f9e mixed progressively with black.
Tints
#151f9e mixed progressively with white.
Tones
#151f9e mixed progressively with gray.
Text in this color
Background in this color
Border in this color
.text-151f9e {
color: #151f9e;
}
.bg-151f9e {
background-color: #151f9e;
color: #ffffff;
}
.border-151f9e {
border: 2px solid #151f9e;
}
:root {
--color-primary: #151f9e;
--color-primary-rgb: 21 31 158;
--color-primary-hsl: 236 77% 35%;
}
.gradient-151f9e {
background: linear-gradient(135deg, #151f9e, #50159e);
}
.shadow-151f9e {
box-shadow: 0 8px 24px rgb(21 31 158 / 0.35);
}
Imperial Blue
#151f9e rgb(21, 31, 158) hsl(236, 77%, 35%) Imperial Blue
#9e9415 rgb(158, 148, 21) hsl(56, 77%, 35%) Brass
#9e151f rgb(158, 21, 31) hsl(356, 77%, 35%) Carmine
#1f9e15 rgb(31, 158, 21) hsl(116, 77%, 35%) Islamic Green