#04087f ≈ Navy
#04087f 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.8% blue; printed in CMYK it uses 96.85% cyan, 93.7% magenta, 0% yellow and 50.2% black. Its hue angle is 238.05°, with 93.89% saturation and 25.69% 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.6:1 (WCAG AAA). The closest named color is Navy (#000080), ΔE 1.25.
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.0173 |
Shades
#04087f mixed progressively with black.
Tints
#04087f mixed progressively with white.
Tones
#04087f mixed progressively with gray.
Text in this color
Background in this color
Border in this color
.text-04087f {
color: #04087f;
}
.bg-04087f {
background-color: #04087f;
color: #ffffff;
}
.border-04087f {
border: 2px solid #04087f;
}
:root {
--color-primary: #04087f;
--color-primary-rgb: 4 8 127;
--color-primary-hsl: 238 94% 26%;
}
.gradient-04087f {
background: linear-gradient(135deg, #04087f, #3e047f);
}
.shadow-04087f {
box-shadow: 0 8px 24px rgb(4 8 127 / 0.35);
}
Navy
#04087f rgb(4, 8, 127) hsl(238, 94%, 26%) Navy
#7f7b04 rgb(127, 123, 4) hsl(58, 94%, 26%) Olive
#7f0408 rgb(127, 4, 8) hsl(358, 94%, 26%) Maroon
#087f04 rgb(8, 127, 4) hsl(118, 94%, 26%) Green