#400a7e ≈ Indigo
#400a7e is a color from the violet family, with low lightness and moderate saturation. In the RGB model it is made of 25.1% red, 3.92% green and 49.41% blue; printed in CMYK it uses 49.21% cyan, 92.06% magenta, 0% yellow and 50.59% black. Its hue angle is 267.93°, with 85.29% saturation and 26.67% 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 13.44:1 (WCAG AAA). The closest named color is Indigo (#4b0082), ΔE 2.01.
Description generated from the measured properties of this color.
| HEX | |
|---|---|
| RGB | |
| RGB percent | |
| CMY | |
| CMYK | |
| HSL | |
| HSV / HSB | |
| Web safe | #330066 |
| CIE-LAB | |
| XYZ | |
| xyY | |
| CIE-LCH | |
| CIE-LUV | |
| Hunter-Lab | |
| OKLab | |
| Binary | |
| Decimal | |
| Relative luminance | 0.0281 |
Shades
#400a7e mixed progressively with black.
Tints
#400a7e mixed progressively with white.
Tones
#400a7e mixed progressively with gray.
Text in this color
Background in this color
Border in this color
.text-400a7e {
color: #400a7e;
}
.bg-400a7e {
background-color: #400a7e;
color: #ffffff;
}
.border-400a7e {
border: 2px solid #400a7e;
}
:root {
--color-primary: #400a7e;
--color-primary-rgb: 64 10 126;
--color-primary-hsl: 268 85% 27%;
}
.gradient-400a7e {
background: linear-gradient(135deg, #400a7e, #7a0a7e);
}
.shadow-400a7e {
box-shadow: 0 8px 24px rgb(64 10 126 / 0.35);
}
Indigo
#400a7e rgb(64, 10, 126) hsl(268, 85%, 27%) Indigo
#487e0a rgb(72, 126, 10) hsl(88, 85%, 27%) Avocado
#7e400a rgb(126, 64, 10) hsl(28, 85%, 27%) Russet
#0a7e40 rgb(10, 126, 64) hsl(148, 85%, 27%) Sea Green