#0c047e ≈ Navy
#0c047e is a color from the blue family, with low lightness and moderate saturation. In the RGB model it is made of 4.71% red, 1.57% green and 49.41% blue; printed in CMYK it uses 90.48% cyan, 96.83% magenta, 0% yellow and 50.59% black. Its hue angle is 243.93°, with 93.85% saturation and 25.49% 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 15.74:1 (WCAG AAA). The closest named color is Navy (#000080), ΔE 0.81.
Description generated from the measured properties of this color.
| HEX | |
|---|---|
| RGB | |
| RGB percent | |
| CMY | |
| CMYK | |
| HSL | |
| HSV / HSB | |
| Web safe | #000066 |
| CIE-LAB | |
| XYZ | |
| xyY | |
| CIE-LCH | |
| CIE-LUV | |
| Hunter-Lab | |
| OKLab | |
| Binary | |
| Decimal | |
| Relative luminance | 0.0167 |
Shades
#0c047e mixed progressively with black.
Tints
#0c047e mixed progressively with white.
Tones
#0c047e mixed progressively with gray.
Text in this color
Background in this color
Border in this color
.text-0c047e {
color: #0c047e;
}
.bg-0c047e {
background-color: #0c047e;
color: #ffffff;
}
.border-0c047e {
border: 2px solid #0c047e;
}
:root {
--color-primary: #0c047e;
--color-primary-rgb: 12 4 126;
--color-primary-hsl: 244 94% 25%;
}
.gradient-0c047e {
background: linear-gradient(135deg, #0c047e, #49047e);
}
.shadow-0c047e {
box-shadow: 0 8px 24px rgb(12 4 126 / 0.35);
}
Navy
#0c047e rgb(12, 4, 126) hsl(244, 94%, 25%) Navy
#767e04 rgb(118, 126, 4) hsl(64, 94%, 25%) Olive
#7e0c04 rgb(126, 12, 4) hsl(4, 94%, 25%) Maroon
#047e0c rgb(4, 126, 12) hsl(124, 94%, 25%) Green