#040a8d ≈ Phthalo Blue
#040a8d is a color from the blue family, with low lightness and strong saturation. In the RGB model it is made of 1.57% red, 3.92% green and 55.29% blue; printed in CMYK it uses 97.16% cyan, 92.91% magenta, 0% yellow and 44.71% black. Its hue angle is 237.37°, with 94.48% saturation and 28.43% 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 14.65:1 (WCAG AAA). The closest named color is Phthalo Blue (#000f89), ΔE 0.97.
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.0217 |
Shades
#040a8d mixed progressively with black.
Tints
#040a8d mixed progressively with white.
Tones
#040a8d mixed progressively with gray.
Text in this color
Background in this color
Border in this color
.text-040a8d {
color: #040a8d;
}
.bg-040a8d {
background-color: #040a8d;
color: #ffffff;
}
.border-040a8d {
border: 2px solid #040a8d;
}
:root {
--color-primary: #040a8d;
--color-primary-rgb: 4 10 141;
--color-primary-hsl: 237 94% 28%;
}
.gradient-040a8d {
background: linear-gradient(135deg, #040a8d, #42048d);
}
.shadow-040a8d {
box-shadow: 0 8px 24px rgb(4 10 141 / 0.35);
}
Phthalo Blue
#040a8d rgb(4, 10, 141) hsl(237, 94%, 28%) Phthalo Blue
#8d8704 rgb(141, 135, 4) hsl(57, 94%, 28%) Olive
#8d040a rgb(141, 4, 10) hsl(357, 94%, 28%) Sangria
#0a8d04 rgb(10, 141, 4) hsl(117, 94%, 28%) Islamic Green