#0c2fac ≈ Egyptian Blue
#0c2fac is a color from the blue family, with low lightness and strong saturation. In the RGB model it is made of 4.71% red, 18.43% green and 67.45% blue; printed in CMYK it uses 93.02% cyan, 72.67% magenta, 0% yellow and 32.55% black. Its hue angle is 226.88°, with 86.96% saturation and 36.08% 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 call-to-action buttons. White text on this color reaches a contrast ratio of 10.41:1 (WCAG AAA). The closest named color is Egyptian Blue (#1034a6), ΔE 1.75.
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.0509 |
Shades
#0c2fac mixed progressively with black.
Tints
#0c2fac mixed progressively with white.
Tones
#0c2fac mixed progressively with gray.
Text in this color
Background in this color
Border in this color
.text-0c2fac {
color: #0c2fac;
}
.bg-0c2fac {
background-color: #0c2fac;
color: #ffffff;
}
.border-0c2fac {
border: 2px solid #0c2fac;
}
:root {
--color-primary: #0c2fac;
--color-primary-rgb: 12 47 172;
--color-primary-hsl: 227 87% 36%;
}
.gradient-0c2fac {
background: linear-gradient(135deg, #0c2fac, #390cac);
}
.shadow-0c2fac {
box-shadow: 0 8px 24px rgb(12 47 172 / 0.35);
}
Egyptian Blue
#0c2fac rgb(12, 47, 172) hsl(227, 87%, 36%) Egyptian Blue
#ac890c rgb(172, 137, 12) hsl(47, 87%, 36%) Dark Goldenrod
#ac0c2f rgb(172, 12, 47) hsl(347, 87%, 36%) Vivid Burgundy
#2fac0c rgb(47, 172, 12) hsl(107, 87%, 36%) Kelly Green