#40307c ≈ Dark Slate Blue
#40307c is a color from the violet family, with low lightness and moderate saturation. In the RGB model it is made of 25.1% red, 18.82% green and 48.63% blue; printed in CMYK it uses 48.39% cyan, 61.29% magenta, 0% yellow and 51.37% black. Its hue angle is 252.63°, with 44.19% saturation and 33.73% 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.87:1 (WCAG AAA). The closest named color is Dark Slate Blue (#483d8b), ΔE 4.13.
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.0466 |
Shades
#40307c mixed progressively with black.
Tints
#40307c mixed progressively with white.
Tones
#40307c mixed progressively with gray.
Text in this color
Background in this color
Border in this color
.text-40307c {
color: #40307c;
}
.bg-40307c {
background-color: #40307c;
color: #ffffff;
}
.border-40307c {
border: 2px solid #40307c;
}
:root {
--color-primary: #40307c;
--color-primary-rgb: 64 48 124;
--color-primary-hsl: 253 44% 34%;
}
.gradient-40307c {
background: linear-gradient(135deg, #40307c, #66307c);
}
.shadow-40307c {
box-shadow: 0 8px 24px rgb(64 48 124 / 0.35);
}
Dark Slate Blue
#40307c rgb(64, 48, 124) hsl(253, 44%, 34%) Dark Slate Blue
#6c7c30 rgb(108, 124, 48) hsl(73, 44%, 34%) Sap Green
#7c4030 rgb(124, 64, 48) hsl(13, 44%, 34%) Burnt Umber
#307c40 rgb(48, 124, 64) hsl(133, 44%, 34%) Fern Green