#40407d ≈ Dark Slate Blue
#40407d 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.02% blue; printed in CMYK it uses 48.8% cyan, 48.8% magenta, 0% yellow and 50.98% black. Its hue angle is 240°, with 32.28% saturation and 37.06% 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.34:1 (WCAG AAA). The closest named color is Dark Slate Blue (#483d8b), ΔE 3.66.
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.0624 |
Shades
#40407d mixed progressively with black.
Tints
#40407d mixed progressively with white.
Tones
#40407d mixed progressively with gray.
Text in this color
Background in this color
Border in this color
.text-40407d {
color: #40407d;
}
.bg-40407d {
background-color: #40407d;
color: #ffffff;
}
.border-40407d {
border: 2px solid #40407d;
}
:root {
--color-primary: #40407d;
--color-primary-rgb: 64 64 125;
--color-primary-hsl: 240 32% 37%;
}
.gradient-40407d {
background: linear-gradient(135deg, #40407d, #5f407d);
}
.shadow-40407d {
box-shadow: 0 8px 24px rgb(64 64 125 / 0.35);
}
Dark Slate Blue
#40407d rgb(64, 64, 125) hsl(240, 32%, 37%) Dark Slate Blue
#7d7d40 rgb(125, 125, 64) hsl(60, 32%, 37%) Olive
#7d4040 rgb(125, 64, 64) hsl(0, 32%, 37%) Tuscan Red
#407d40 rgb(64, 125, 64) hsl(120, 32%, 37%) Fern Green