#400a8d ≈ Indigo
#400a8d 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.29% blue; printed in CMYK it uses 54.61% cyan, 92.91% magenta, 0% yellow and 44.71% black. Its hue angle is 264.73°, with 86.75% 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 12.76:1 (WCAG AAA). The closest named color is Indigo (#4b0082), ΔE 2.89.
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.0323 |
Shades
#400a8d mixed progressively with black.
Tints
#400a8d mixed progressively with white.
Tones
#400a8d mixed progressively with gray.
Text in this color
Background in this color
Border in this color
.text-400a8d {
color: #400a8d;
}
.bg-400a8d {
background-color: #400a8d;
color: #ffffff;
}
.border-400a8d {
border: 2px solid #400a8d;
}
:root {
--color-primary: #400a8d;
--color-primary-rgb: 64 10 141;
--color-primary-hsl: 265 87% 30%;
}
.gradient-400a8d {
background: linear-gradient(135deg, #400a8d, #820a8d);
}
.shadow-400a8d {
box-shadow: 0 8px 24px rgb(64 10 141 / 0.35);
}
Indigo
#400a8d rgb(64, 10, 141) hsl(265, 87%, 30%) Indigo
#578d0a rgb(87, 141, 10) hsl(85, 87%, 30%) Olive Drab
#8d400a rgb(141, 64, 10) hsl(25, 87%, 30%) Saddle Brown
#0a8d40 rgb(10, 141, 64) hsl(145, 87%, 30%) Forest Green