#40366b ≈ Dark Slate Blue
#40366b is a color from the violet family, with low lightness and muted saturation. In the RGB model it is made of 25.1% red, 21.18% green and 41.96% blue; printed in CMYK it uses 40.19% cyan, 49.53% magenta, 0% yellow and 58.04% black. Its hue angle is 251.32°, with 32.92% saturation and 31.57% 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 corporate identities. White text on this color reaches a contrast ratio of 10.73:1 (WCAG AAA). The closest named color is Dark Slate Blue (#483d8b), ΔE 6.24.
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.0479 |
Shades
#40366b mixed progressively with black.
Tints
#40366b mixed progressively with white.
Tones
#40366b mixed progressively with gray.
Text in this color
Background in this color
Border in this color
.text-40366b {
color: #40366b;
}
.bg-40366b {
background-color: #40366b;
color: #ffffff;
}
.border-40366b {
border: 2px solid #40366b;
}
:root {
--color-primary: #40366b;
--color-primary-rgb: 64 54 107;
--color-primary-hsl: 251 33% 32%;
}
.gradient-40366b {
background: linear-gradient(135deg, #40366b, #5b366b);
}
.shadow-40366b {
box-shadow: 0 8px 24px rgb(64 54 107 / 0.35);
}
Dark Slate Blue
#40366b rgb(64, 54, 107) hsl(251, 33%, 32%) Dark Slate Blue
#616b36 rgb(97, 107, 54) hsl(71, 33%, 32%) Dark Olive Green
#6b4036 rgb(107, 64, 54) hsl(11, 33%, 32%) Liver
#366b40 rgb(54, 107, 64) hsl(131, 33%, 32%) Cadmium Green