#40407f ≈ Dark Slate Blue
#40407f 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 49.8% blue; printed in CMYK it uses 49.61% cyan, 49.61% magenta, 0% yellow and 50.2% black. Its hue angle is 240°, with 32.98% saturation and 37.45% 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.3:1 (WCAG AAA). The closest named color is Dark Slate Blue (#483d8b), ΔE 3.35.
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.0629 |
Shades
#40407f mixed progressively with black.
Tints
#40407f mixed progressively with white.
Tones
#40407f mixed progressively with gray.
Text in this color
Background in this color
Border in this color
.text-40407f {
color: #40407f;
}
.bg-40407f {
background-color: #40407f;
color: #ffffff;
}
.border-40407f {
border: 2px solid #40407f;
}
:root {
--color-primary: #40407f;
--color-primary-rgb: 64 64 127;
--color-primary-hsl: 240 33% 37%;
}
.gradient-40407f {
background: linear-gradient(135deg, #40407f, #5f407f);
}
.shadow-40407f {
box-shadow: 0 8px 24px rgb(64 64 127 / 0.35);
}
Dark Slate Blue
#40407f rgb(64, 64, 127) hsl(240, 33%, 37%) Dark Slate Blue
#7f7f40 rgb(127, 127, 64) hsl(60, 33%, 37%) Olive
#7f4040 rgb(127, 64, 64) hsl(0, 33%, 37%) Cordovan
#407f40 rgb(64, 127, 64) hsl(120, 33%, 37%) Fern Green