#0c4ec9 ≈ Sapphire
#0c4ec9 is a color from the azure family, with medium lightness and strong saturation. In the RGB model it is made of 4.71% red, 30.59% green and 78.82% blue; printed in CMYK it uses 94.03% cyan, 61.19% magenta, 0% yellow and 21.18% black. Its hue angle is 219.05°, with 88.73% saturation and 41.76% 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.12:1 (WCAG AAA). The closest named color is Sapphire (#0f52ba), ΔE 2.74.
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.0974 |
Shades
#0c4ec9 mixed progressively with black.
Tints
#0c4ec9 mixed progressively with white.
Tones
#0c4ec9 mixed progressively with gray.
Text in this color
Background in this color
Border in this color
.text-0c4ec9 {
color: #0c4ec9;
}
.bg-0c4ec9 {
background-color: #0c4ec9;
color: #ffffff;
}
.border-0c4ec9 {
border: 2px solid #0c4ec9;
}
:root {
--color-primary: #0c4ec9;
--color-primary-rgb: 12 78 201;
--color-primary-hsl: 219 89% 42%;
}
.gradient-0c4ec9 {
background: linear-gradient(135deg, #0c4ec9, #290cc9);
}
.shadow-0c4ec9 {
box-shadow: 0 8px 24px rgb(12 78 201 / 0.35);
}
Sapphire
#0c4ec9 rgb(12, 78, 201) hsl(219, 89%, 42%) Sapphire
#c9870c rgb(201, 135, 12) hsl(39, 89%, 42%) Dark Goldenrod
#c90c4e rgb(201, 12, 78) hsl(339, 89%, 42%) Ruby
#4ec90c rgb(78, 201, 12) hsl(99, 89%, 42%) Lime Green