#040064 ≈ Navy
#040064 is a color from the blue family, with very low lightness and moderate saturation. In the RGB model it is made of 1.57% red, 0% green and 39.22% blue; printed in CMYK it uses 96% cyan, 100% magenta, 0% yellow and 60.78% black. Its hue angle is 242.4°, with 100% saturation and 19.61% 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 17.66:1 (WCAG AAA). The closest named color is Navy (#000080), ΔE 4.18.
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.0095 |
Shades
#040064 mixed progressively with black.
Tints
#040064 mixed progressively with white.
Tones
#040064 mixed progressively with gray.
Text in this color
Background in this color
Border in this color
.text-040064 {
color: #040064;
}
.bg-040064 {
background-color: #040064;
color: #ffffff;
}
.border-040064 {
border: 2px solid #040064;
}
:root {
--color-primary: #040064;
--color-primary-rgb: 4 0 100;
--color-primary-hsl: 242 100% 20%;
}
.gradient-040064 {
background: linear-gradient(135deg, #040064, #360064);
}
.shadow-040064 {
box-shadow: 0 8px 24px rgb(4 0 100 / 0.35);
}
Navy
#040064 rgb(4, 0, 100) hsl(242, 100%, 20%) Navy
#606400 rgb(96, 100, 0) hsl(62, 100%, 20%) Dark Olive Green
#640400 rgb(100, 4, 0) hsl(2, 100%, 20%) Rosewood
#006404 rgb(0, 100, 4) hsl(122, 100%, 20%) Dark Green