#40285b ≈ Persian Indigo
#40285b is a color from the violet family, with low lightness and muted saturation. In the RGB model it is made of 25.1% red, 15.69% green and 35.69% blue; printed in CMYK it uses 29.67% cyan, 56.04% magenta, 0% yellow and 64.31% black. Its hue angle is 268.24°, with 38.93% saturation and 25.69% 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.56:1 (WCAG AAA). The closest named color is Persian Indigo (#32127a), ΔE 10.23.
Description generated from the measured properties of this color.
| HEX | |
|---|---|
| RGB | |
| RGB percent | |
| CMY | |
| CMYK | |
| HSL | |
| HSV / HSB | |
| Web safe | #333366 |
| CIE-LAB | |
| XYZ | |
| xyY | |
| CIE-LCH | |
| CIE-LUV | |
| Hunter-Lab | |
| OKLab | |
| Binary | |
| Decimal | |
| Relative luminance | 0.0336 |
Shades
#40285b mixed progressively with black.
Tints
#40285b mixed progressively with white.
Tones
#40285b mixed progressively with gray.
Text in this color
Background in this color
Border in this color
.text-40285b {
color: #40285b;
}
.bg-40285b {
background-color: #40285b;
color: #ffffff;
}
.border-40285b {
border: 2px solid #40285b;
}
:root {
--color-primary: #40285b;
--color-primary-rgb: 64 40 91;
--color-primary-hsl: 268 39% 26%;
}
.gradient-40285b {
background: linear-gradient(135deg, #40285b, #5a285b);
}
.shadow-40285b {
box-shadow: 0 8px 24px rgb(64 40 91 / 0.35);
}
Persian Indigo
#40285b rgb(64, 40, 91) hsl(268, 39%, 26%) Persian Indigo
#435b28 rgb(67, 91, 40) hsl(88, 39%, 26%) Army Green
#5b4028 rgb(91, 64, 40) hsl(28, 39%, 26%) Coffee
#285b40 rgb(40, 91, 64) hsl(148, 39%, 26%) Hunter Green