#1f2c8b ≈ Imperial Blue
#1f2c8b is a color from the blue family, with low lightness and moderate saturation. In the RGB model it is made of 12.16% red, 17.25% green and 54.51% blue; printed in CMYK it uses 77.7% cyan, 68.35% magenta, 0% yellow and 45.49% black. Its hue angle is 232.78°, with 63.53% saturation and 33.33% 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 11.72:1 (WCAG AAA). The closest named color is Imperial Blue (#002395), ΔE 3.15.
Description generated from the measured properties of this color.
| HEX | |
|---|---|
| RGB | |
| RGB percent | |
| CMY | |
| CMYK | |
| HSL | |
| HSV / HSB | |
| Web safe | #333399 |
| CIE-LAB | |
| XYZ | |
| xyY | |
| CIE-LCH | |
| CIE-LUV | |
| Hunter-Lab | |
| OKLab | |
| Binary | |
| Decimal | |
| Relative luminance | 0.0396 |
Shades
#1f2c8b mixed progressively with black.
Tints
#1f2c8b mixed progressively with white.
Tones
#1f2c8b mixed progressively with gray.
Text in this color
Background in this color
Border in this color
.text-1f2c8b {
color: #1f2c8b;
}
.bg-1f2c8b {
background-color: #1f2c8b;
color: #ffffff;
}
.border-1f2c8b {
border: 2px solid #1f2c8b;
}
:root {
--color-primary: #1f2c8b;
--color-primary-rgb: 31 44 139;
--color-primary-hsl: 233 64% 33%;
}
.gradient-1f2c8b {
background: linear-gradient(135deg, #1f2c8b, #481f8b);
}
.shadow-1f2c8b {
box-shadow: 0 8px 24px rgb(31 44 139 / 0.35);
}
Imperial Blue
#1f2c8b rgb(31, 44, 139) hsl(233, 64%, 33%) Imperial Blue
#8b7e1f rgb(139, 126, 31) hsl(53, 64%, 33%) Olive
#8b1f2c rgb(139, 31, 44) hsl(353, 64%, 33%) Burgundy
#2c8b1f rgb(44, 139, 31) hsl(113, 64%, 33%) Forest Green