#400a5a ≈ Indigo
#400a5a is a color from the magenta family, with very low lightness and moderate saturation. In the RGB model it is made of 25.1% red, 3.92% green and 35.29% blue; printed in CMYK it uses 28.89% cyan, 88.89% magenta, 0% yellow and 64.71% black. Its hue angle is 280.5°, with 80% saturation and 19.61% lightness in HSL. It is a cool color, often associated with creativity, boldness and individuality. Designers typically use it for beauty and cosmetics, creative studios and luxury branding. White text on this color reaches a contrast ratio of 14.9:1 (WCAG AAA). The closest named color is Indigo (#4b0082), ΔE 7.07.
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.0205 |
Shades
#400a5a mixed progressively with black.
Tints
#400a5a mixed progressively with white.
Tones
#400a5a mixed progressively with gray.
Text in this color
Background in this color
Border in this color
.text-400a5a {
color: #400a5a;
}
.bg-400a5a {
background-color: #400a5a;
color: #ffffff;
}
.border-400a5a {
border: 2px solid #400a5a;
}
:root {
--color-primary: #400a5a;
--color-primary-rgb: 64 10 90;
--color-primary-hsl: 281 80% 20%;
}
.gradient-400a5a {
background: linear-gradient(135deg, #400a5a, #5a0a4c);
}
.shadow-400a5a {
box-shadow: 0 8px 24px rgb(64 10 90 / 0.35);
}
Indigo
#400a5a rgb(64, 10, 90) hsl(281, 80%, 20%) Indigo
#245a0a rgb(36, 90, 10) hsl(101, 80%, 20%) Lincoln Green
#5a400a rgb(90, 64, 10) hsl(41, 80%, 20%) Field Drab
#0a5a40 rgb(10, 90, 64) hsl(161, 80%, 20%) Hunter Green