#040c8a ≈ Phthalo Blue
#040c8a is a color from the blue family, with low lightness and strong saturation. In the RGB model it is made of 1.57% red, 4.71% green and 54.12% blue; printed in CMYK it uses 97.1% cyan, 91.3% magenta, 0% yellow and 45.88% black. Its hue angle is 236.42°, with 94.37% saturation and 27.84% 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.74:1 (WCAG AAA). The closest named color is Phthalo Blue (#000f89), ΔE 0.54.
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.0212 |
Shades
#040c8a mixed progressively with black.
Tints
#040c8a mixed progressively with white.
Tones
#040c8a mixed progressively with gray.
Text in this color
Background in this color
Border in this color
.text-040c8a {
color: #040c8a;
}
.bg-040c8a {
background-color: #040c8a;
color: #ffffff;
}
.border-040c8a {
border: 2px solid #040c8a;
}
:root {
--color-primary: #040c8a;
--color-primary-rgb: 4 12 138;
--color-primary-hsl: 236 94% 28%;
}
.gradient-040c8a {
background: linear-gradient(135deg, #040c8a, #3f048a);
}
.shadow-040c8a {
box-shadow: 0 8px 24px rgb(4 12 138 / 0.35);
}
Phthalo Blue
#040c8a rgb(4, 12, 138) hsl(236, 94%, 28%) Phthalo Blue
#8a8204 rgb(138, 130, 4) hsl(56, 94%, 28%) Olive
#8a040c rgb(138, 4, 12) hsl(356, 94%, 28%) Sangria
#0c8a04 rgb(12, 138, 4) hsl(116, 94%, 28%) India Green