#0c287c ≈ Imperial Blue
#0c287c is a color from the blue family, with low lightness and moderate saturation. In the RGB model it is made of 4.71% red, 15.69% green and 48.63% blue; printed in CMYK it uses 90.32% cyan, 67.74% magenta, 0% yellow and 51.37% black. Its hue angle is 225°, with 82.35% saturation and 26.67% 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.04:1 (WCAG AAA). The closest named color is Imperial Blue (#002395), ΔE 4.43.
Description generated from the measured properties of this color.
| HEX | |
|---|---|
| RGB | |
| RGB percent | |
| CMY | |
| CMYK | |
| HSL | |
| HSV / HSB | |
| Web safe | #003366 |
| CIE-LAB | |
| XYZ | |
| xyY | |
| CIE-LCH | |
| CIE-LUV | |
| Hunter-Lab | |
| OKLab | |
| Binary | |
| Decimal | |
| Relative luminance | 0.0305 |
Shades
#0c287c mixed progressively with black.
Tints
#0c287c mixed progressively with white.
Tones
#0c287c mixed progressively with gray.
Text in this color
Background in this color
Border in this color
.text-0c287c {
color: #0c287c;
}
.bg-0c287c {
background-color: #0c287c;
color: #ffffff;
}
.border-0c287c {
border: 2px solid #0c287c;
}
:root {
--color-primary: #0c287c;
--color-primary-rgb: 12 40 124;
--color-primary-hsl: 225 82% 27%;
}
.gradient-0c287c {
background: linear-gradient(135deg, #0c287c, #280c7c);
}
.shadow-0c287c {
box-shadow: 0 8px 24px rgb(12 40 124 / 0.35);
}
Imperial Blue
#0c287c rgb(12, 40, 124) hsl(225, 82%, 27%) Imperial Blue
#7c600c rgb(124, 96, 12) hsl(45, 82%, 27%) Field Drab
#7c0c28 rgb(124, 12, 40) hsl(345, 82%, 27%) Burgundy
#287c0c rgb(40, 124, 12) hsl(105, 82%, 27%) Green