#400a8e ≈ Indigo
#400a8e is a color from the violet family, with low lightness and strong saturation. In the RGB model it is made of 25.1% red, 3.92% green and 55.69% blue; printed in CMYK it uses 54.93% cyan, 92.96% magenta, 0% yellow and 44.31% black. Its hue angle is 264.55°, with 86.84% saturation and 29.8% 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 12.71:1 (WCAG AAA). The closest named color is Indigo (#4b0082), ΔE 3.
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.0326 |
Shades
#400a8e mixed progressively with black.
Tints
#400a8e mixed progressively with white.
Tones
#400a8e mixed progressively with gray.
Text in this color
Background in this color
Border in this color
.text-400a8e {
color: #400a8e;
}
.bg-400a8e {
background-color: #400a8e;
color: #ffffff;
}
.border-400a8e {
border: 2px solid #400a8e;
}
:root {
--color-primary: #400a8e;
--color-primary-rgb: 64 10 142;
--color-primary-hsl: 265 87% 30%;
}
.gradient-400a8e {
background: linear-gradient(135deg, #400a8e, #820a8e);
}
.shadow-400a8e {
box-shadow: 0 8px 24px rgb(64 10 142 / 0.35);
}
Indigo
#400a8e rgb(64, 10, 142) hsl(265, 87%, 30%) Indigo
#588e0a rgb(88, 142, 10) hsl(85, 87%, 30%) Olive Drab
#8e400a rgb(142, 64, 10) hsl(25, 87%, 30%) Saddle Brown
#0a8e40 rgb(10, 142, 64) hsl(145, 87%, 30%) Forest Green