#405db2 ≈ Denim
#405db2 is a color from the blue family, with medium lightness and moderate saturation. In the RGB model it is made of 25.1% red, 36.47% green and 69.8% blue; printed in CMYK it uses 64.04% cyan, 47.75% magenta, 0% yellow and 30.2% black. Its hue angle is 224.74°, with 47.11% saturation and 47.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 6.13:1 (WCAG AA). The closest named color is Denim (#1560bd), ΔE 4.78.
Description generated from the measured properties of this color.
| HEX | |
|---|---|
| RGB | |
| RGB percent | |
| CMY | |
| CMYK | |
| HSL | |
| HSV / HSB | |
| Web safe | #336699 |
| CIE-LAB | |
| XYZ | |
| xyY | |
| CIE-LCH | |
| CIE-LUV | |
| Hunter-Lab | |
| OKLab | |
| Binary | |
| Decimal | |
| Relative luminance | 0.1213 |
Shades
#405db2 mixed progressively with black.
Tints
#405db2 mixed progressively with white.
Tones
#405db2 mixed progressively with gray.
Text in this color
Background in this color
Border in this color
.text-405db2 {
color: #405db2;
}
.bg-405db2 {
background-color: #405db2;
color: #ffffff;
}
.border-405db2 {
border: 2px solid #405db2;
}
:root {
--color-primary: #405db2;
--color-primary-rgb: 64 93 178;
--color-primary-hsl: 225 47% 47%;
}
.gradient-405db2 {
background: linear-gradient(135deg, #405db2, #5c40b2);
}
.shadow-405db2 {
box-shadow: 0 8px 24px rgb(64 93 178 / 0.35);
}
Denim
#405db2 rgb(64, 93, 178) hsl(225, 47%, 47%) Denim
#b29540 rgb(178, 149, 64) hsl(45, 47%, 47%) Brass
#b2405d rgb(178, 64, 93) hsl(345, 47%, 47%) Dogwood Rose
#5db240 rgb(93, 178, 64) hsl(105, 47%, 47%) Kelly Green