#04087e ≈ Navy
#04087e is a color from the blue family, with low lightness and moderate saturation. In the RGB model it is made of 1.57% red, 3.14% green and 49.41% blue; printed in CMYK it uses 96.83% cyan, 93.65% magenta, 0% yellow and 50.59% black. Its hue angle is 238.03°, 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.66:1 (WCAG AAA). The closest named color is Navy (#000080), ΔE 1.27.
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.0171 |
Shades
#04087e mixed progressively with black.
Tints
#04087e mixed progressively with white.
Tones
#04087e mixed progressively with gray.
Text in this color
Background in this color
Border in this color
.text-04087e {
color: #04087e;
}
.bg-04087e {
background-color: #04087e;
color: #ffffff;
}
.border-04087e {
border: 2px solid #04087e;
}
:root {
--color-primary: #04087e;
--color-primary-rgb: 4 8 126;
--color-primary-hsl: 238 94% 25%;
}
.gradient-04087e {
background: linear-gradient(135deg, #04087e, #3d047e);
}
.shadow-04087e {
box-shadow: 0 8px 24px rgb(4 8 126 / 0.35);
}
Navy
#04087e rgb(4, 8, 126) hsl(238, 94%, 25%) Navy
#7e7a04 rgb(126, 122, 4) hsl(58, 94%, 25%) Olive
#7e0408 rgb(126, 4, 8) hsl(358, 94%, 25%) Maroon
#087e04 rgb(8, 126, 4) hsl(118, 94%, 25%) Green