#0c4058 ≈ Prussian Blue
#0c4058 is a color from the azure family, with very low lightness and moderate saturation. In the RGB model it is made of 4.71% red, 25.1% green and 34.51% blue; printed in CMYK it uses 86.36% cyan, 27.27% magenta, 0% yellow and 65.49% black. Its hue angle is 198.95°, with 76% saturation and 19.61% 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 luxury branding. White text on this color reaches a contrast ratio of 11.11:1 (WCAG AAA). The closest named color is Prussian Blue (#003153), ΔE 7.34.
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.0445 |
Shades
#0c4058 mixed progressively with black.
Tints
#0c4058 mixed progressively with white.
Tones
#0c4058 mixed progressively with gray.
Text in this color
Background in this color
Border in this color
.text-0c4058 {
color: #0c4058;
}
.bg-0c4058 {
background-color: #0c4058;
color: #ffffff;
}
.border-0c4058 {
border: 2px solid #0c4058;
}
:root {
--color-primary: #0c4058;
--color-primary-rgb: 12 64 88;
--color-primary-hsl: 199 76% 20%;
}
.gradient-0c4058 {
background: linear-gradient(135deg, #0c4058, #0c1a58);
}
.shadow-0c4058 {
box-shadow: 0 8px 24px rgb(12 64 88 / 0.35);
}
Prussian Blue
#0c4058 rgb(12, 64, 88) hsl(199, 76%, 20%) Prussian Blue
#58240c rgb(88, 36, 12) hsl(19, 76%, 20%) Caput Mortuum
#580c40 rgb(88, 12, 64) hsl(319, 76%, 20%) Tyrian Purple
#40580c rgb(64, 88, 12) hsl(79, 76%, 20%) Army Green