#40407c ≈ Dark Slate Blue
#40407c is a color from the blue family, with low lightness and muted saturation. In the RGB model it is made of 25.1% red, 25.1% green and 48.63% blue; printed in CMYK it uses 48.39% cyan, 48.39% magenta, 0% yellow and 51.37% black. Its hue angle is 240°, with 31.91% saturation and 36.86% lightness in HSL. It is a cool color, often associated with trust, stability and focus. Designers typically use it for technology products, finance and banking and brand accents. White text on this color reaches a contrast ratio of 9.36:1 (WCAG AAA). The closest named color is Dark Slate Blue (#483d8b), ΔE 3.83.
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.0621 |
Shades
#40407c mixed progressively with black.
Tints
#40407c mixed progressively with white.
Tones
#40407c mixed progressively with gray.
Text in this color
Background in this color
Border in this color
.text-40407c {
color: #40407c;
}
.bg-40407c {
background-color: #40407c;
color: #ffffff;
}
.border-40407c {
border: 2px solid #40407c;
}
:root {
--color-primary: #40407c;
--color-primary-rgb: 64 64 124;
--color-primary-hsl: 240 32% 37%;
}
.gradient-40407c {
background: linear-gradient(135deg, #40407c, #5e407c);
}
.shadow-40407c {
box-shadow: 0 8px 24px rgb(64 64 124 / 0.35);
}
Dark Slate Blue
#40407c rgb(64, 64, 124) hsl(240, 32%, 37%) Dark Slate Blue
#7c7c40 rgb(124, 124, 64) hsl(60, 32%, 37%) Olive
#7c4040 rgb(124, 64, 64) hsl(0, 32%, 37%) Tuscan Red
#407c40 rgb(64, 124, 64) hsl(120, 32%, 37%) Fern Green