#0c1c8a ≈ Imperial Blue
#0c1c8a is a color from the blue family, with low lightness and moderate saturation. In the RGB model it is made of 4.71% red, 10.98% green and 54.12% blue; printed in CMYK it uses 91.3% cyan, 79.71% magenta, 0% yellow and 45.88% black. Its hue angle is 232.38°, with 84% saturation and 29.41% 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 13.56:1 (WCAG AAA). The closest named color is Imperial Blue (#002395), ΔE 2.28.
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.0274 |
Shades
#0c1c8a mixed progressively with black.
Tints
#0c1c8a mixed progressively with white.
Tones
#0c1c8a mixed progressively with gray.
Text in this color
Background in this color
Border in this color
.text-0c1c8a {
color: #0c1c8a;
}
.bg-0c1c8a {
background-color: #0c1c8a;
color: #ffffff;
}
.border-0c1c8a {
border: 2px solid #0c1c8a;
}
:root {
--color-primary: #0c1c8a;
--color-primary-rgb: 12 28 138;
--color-primary-hsl: 232 84% 29%;
}
.gradient-0c1c8a {
background: linear-gradient(135deg, #0c1c8a, #3b0c8a);
}
.shadow-0c1c8a {
box-shadow: 0 8px 24px rgb(12 28 138 / 0.35);
}
Imperial Blue
#0c1c8a rgb(12, 28, 138) hsl(232, 84%, 29%) Imperial Blue
#8a7a0c rgb(138, 122, 12) hsl(52, 84%, 29%) Olive
#8a0c1c rgb(138, 12, 28) hsl(352, 84%, 29%) Carmine
#1c8a0c rgb(28, 138, 12) hsl(112, 84%, 29%) India Green