#040588 ≈ Dark Blue
#040588 is a color from the blue family, with low lightness and strong saturation. In the RGB model it is made of 1.57% red, 1.96% green and 53.33% blue; printed in CMYK it uses 97.06% cyan, 96.32% magenta, 0% yellow and 46.67% black. Its hue angle is 239.55°, with 94.29% saturation and 27.45% 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.19:1 (WCAG AAA). The closest named color is Dark Blue (#00008b), ΔE 0.77.
Description generated from the measured properties of this color.
| HEX | |
|---|---|
| RGB | |
| RGB percent | |
| CMY | |
| CMYK | |
| HSL | |
| HSV / HSB | |
| Web safe | #000099 |
| CIE-LAB | |
| XYZ | |
| xyY | |
| CIE-LCH | |
| CIE-LUV | |
| Hunter-Lab | |
| OKLab | |
| Binary | |
| Decimal | |
| Relative luminance | 0.0191 |
Shades
#040588 mixed progressively with black.
Tints
#040588 mixed progressively with white.
Tones
#040588 mixed progressively with gray.
Text in this color
Background in this color
Border in this color
.text-040588 {
color: #040588;
}
.bg-040588 {
background-color: #040588;
color: #ffffff;
}
.border-040588 {
border: 2px solid #040588;
}
:root {
--color-primary: #040588;
--color-primary-rgb: 4 5 136;
--color-primary-hsl: 240 94% 27%;
}
.gradient-040588 {
background: linear-gradient(135deg, #040588, #450488);
}
.shadow-040588 {
box-shadow: 0 8px 24px rgb(4 5 136 / 0.35);
}
Dark Blue
#040588 rgb(4, 5, 136) hsl(240, 94%, 27%) Dark Blue
#888704 rgb(136, 135, 4) hsl(60, 94%, 27%) Olive
#880405 rgb(136, 4, 5) hsl(360, 94%, 27%) Dark Red
#058804 rgb(5, 136, 4) hsl(120, 94%, 27%) India Green