#12287c ≈ Imperial Blue
#12287c is a color from the blue family, with low lightness and moderate saturation. In the RGB model it is made of 7.06% red, 15.69% green and 48.63% blue; printed in CMYK it uses 85.48% cyan, 67.74% magenta, 0% yellow and 51.37% black. Its hue angle is 227.55°, with 74.65% saturation and 27.84% 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 12.96:1 (WCAG AAA). The closest named color is Imperial Blue (#002395), ΔE 4.35.
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.031 |
Shades
#12287c mixed progressively with black.
Tints
#12287c mixed progressively with white.
Tones
#12287c mixed progressively with gray.
Text in this color
Background in this color
Border in this color
.text-12287c {
color: #12287c;
}
.bg-12287c {
background-color: #12287c;
color: #ffffff;
}
.border-12287c {
border: 2px solid #12287c;
}
:root {
--color-primary: #12287c;
--color-primary-rgb: 18 40 124;
--color-primary-hsl: 228 75% 28%;
}
.gradient-12287c {
background: linear-gradient(135deg, #12287c, #31127c);
}
.shadow-12287c {
box-shadow: 0 8px 24px rgb(18 40 124 / 0.35);
}
Imperial Blue
#12287c rgb(18, 40, 124) hsl(228, 75%, 28%) Imperial Blue
#7c6612 rgb(124, 102, 18) hsl(48, 75%, 28%) Field Drab
#7c1228 rgb(124, 18, 40) hsl(348, 75%, 28%) Burgundy
#287c12 rgb(40, 124, 18) hsl(108, 75%, 28%) Green