#0c4ecc ≈ Sapphire
#0c4ecc is a color from the azure family, with medium lightness and vivid saturation. In the RGB model it is made of 4.71% red, 30.59% green and 80% blue; printed in CMYK it uses 94.12% cyan, 61.76% magenta, 0% yellow and 20% black. Its hue angle is 219.38°, with 88.89% saturation and 42.35% lightness in HSL. It is a cool color, often associated with openness, freedom and calm. Designers typically use it for technology products, finance and banking and call-to-action buttons. White text on this color reaches a contrast ratio of 7.05:1 (WCAG AAA). The closest named color is Sapphire (#0f52ba), ΔE 3.1.
Description generated from the measured properties of this color.
| HEX | |
|---|---|
| RGB | |
| RGB percent | |
| CMY | |
| CMYK | |
| HSL | |
| HSV / HSB | |
| Web safe | #0066cc |
| CIE-LAB | |
| XYZ | |
| xyY | |
| CIE-LCH | |
| CIE-LUV | |
| Hunter-Lab | |
| OKLab | |
| Binary | |
| Decimal | |
| Relative luminance | 0.0989 |
Shades
#0c4ecc mixed progressively with black.
Tints
#0c4ecc mixed progressively with white.
Tones
#0c4ecc mixed progressively with gray.
Text in this color
Background in this color
Border in this color
.text-0c4ecc {
color: #0c4ecc;
}
.bg-0c4ecc {
background-color: #0c4ecc;
color: #ffffff;
}
.border-0c4ecc {
border: 2px solid #0c4ecc;
}
:root {
--color-primary: #0c4ecc;
--color-primary-rgb: 12 78 204;
--color-primary-hsl: 219 89% 42%;
}
.gradient-0c4ecc {
background: linear-gradient(135deg, #0c4ecc, #2a0ccc);
}
.shadow-0c4ecc {
box-shadow: 0 8px 24px rgb(12 78 204 / 0.35);
}
Sapphire
#0c4ecc rgb(12, 78, 204) hsl(219, 89%, 42%) Sapphire
#cc8a0c rgb(204, 138, 12) hsl(39, 89%, 42%) Dark Goldenrod
#cc0c4e rgb(204, 12, 78) hsl(339, 89%, 42%) Ruby
#4ecc0c rgb(78, 204, 12) hsl(99, 89%, 42%) Lime Green