#040c77 ≈ Navy
#040c77 is a color from the blue family, with low lightness and moderate saturation. In the RGB model it is made of 1.57% red, 4.71% green and 46.67% blue; printed in CMYK it uses 96.64% cyan, 89.92% magenta, 0% yellow and 53.33% black. Its hue angle is 235.83°, with 93.5% saturation and 24.12% 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.86:1 (WCAG AAA). The closest named color is Navy (#000080), ΔE 2.33.
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.0162 |
Shades
#040c77 mixed progressively with black.
Tints
#040c77 mixed progressively with white.
Tones
#040c77 mixed progressively with gray.
Text in this color
Background in this color
Border in this color
.text-040c77 {
color: #040c77;
}
.bg-040c77 {
background-color: #040c77;
color: #ffffff;
}
.border-040c77 {
border: 2px solid #040c77;
}
:root {
--color-primary: #040c77;
--color-primary-rgb: 4 12 119;
--color-primary-hsl: 236 94% 24%;
}
.gradient-040c77 {
background: linear-gradient(135deg, #040c77, #360477);
}
.shadow-040c77 {
box-shadow: 0 8px 24px rgb(4 12 119 / 0.35);
}
Navy
#040c77 rgb(4, 12, 119) hsl(236, 94%, 24%) Navy
#776f04 rgb(119, 111, 4) hsl(56, 94%, 24%) Olive
#77040c rgb(119, 4, 12) hsl(356, 94%, 24%) Falu Red
#0c7704 rgb(12, 119, 4) hsl(116, 94%, 24%) Green