#240d8a ≈ Phthalo Blue
#240d8a is a color from the violet family, with low lightness and moderate saturation. In the RGB model it is made of 14.12% red, 5.1% green and 54.12% blue; printed in CMYK it uses 73.91% cyan, 90.58% magenta, 0% yellow and 45.88% black. Its hue angle is 251.04°, with 82.78% saturation and 29.61% lightness in HSL. It is a cool color, often associated with imagination, spirituality and luxury. Designers typically use it for beauty and cosmetics, creative studios and luxury branding. White text on this color reaches a contrast ratio of 14:1 (WCAG AAA). The closest named color is Phthalo Blue (#000f89), ΔE 2.25.
Description generated from the measured properties of this color.
| HEX | |
|---|---|
| RGB | |
| RGB percent | |
| CMY | |
| CMYK | |
| HSL | |
| HSV / HSB | |
| Web safe | #330099 |
| CIE-LAB | |
| XYZ | |
| xyY | |
| CIE-LCH | |
| CIE-LUV | |
| Hunter-Lab | |
| OKLab | |
| Binary | |
| Decimal | |
| Relative luminance | 0.025 |
Shades
#240d8a mixed progressively with black.
Tints
#240d8a mixed progressively with white.
Tones
#240d8a mixed progressively with gray.
Text in this color
Background in this color
Border in this color
.text-240d8a {
color: #240d8a;
}
.bg-240d8a {
background-color: #240d8a;
color: #ffffff;
}
.border-240d8a {
border: 2px solid #240d8a;
}
:root {
--color-primary: #240d8a;
--color-primary-rgb: 36 13 138;
--color-primary-hsl: 251 83% 30%;
}
.gradient-240d8a {
background: linear-gradient(135deg, #240d8a, #630d8a);
}
.shadow-240d8a {
box-shadow: 0 8px 24px rgb(36 13 138 / 0.35);
}
Phthalo Blue
#240d8a rgb(36, 13, 138) hsl(251, 83%, 30%) Phthalo Blue
#738a0d rgb(115, 138, 13) hsl(71, 83%, 30%) Olive Drab
#8a240d rgb(138, 36, 13) hsl(11, 83%, 30%) Kobe
#0d8a24 rgb(13, 138, 36) hsl(131, 83%, 30%) Forest Green