#2a5fcd ≈ Denim
#2a5fcd is a color from the blue family, with medium lightness and strong saturation. In the RGB model it is made of 16.47% red, 37.25% green and 80.39% blue; printed in CMYK it uses 79.51% cyan, 53.66% magenta, 0% yellow and 19.61% black. Its hue angle is 220.49°, with 65.99% saturation and 48.43% 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 5.81:1 (WCAG AA). The closest named color is Denim (#1560bd), ΔE 3.44.
Description generated from the measured properties of this color.
| HEX | |
|---|---|
| RGB | |
| RGB percent | |
| CMY | |
| CMYK | |
| HSL | |
| HSV / HSB | |
| Web safe | #3366cc |
| CIE-LAB | |
| XYZ | |
| xyY | |
| CIE-LCH | |
| CIE-LUV | |
| Hunter-Lab | |
| OKLab | |
| Binary | |
| Decimal | |
| Relative luminance | 0.1308 |
Shades
#2a5fcd mixed progressively with black.
Tints
#2a5fcd mixed progressively with white.
Tones
#2a5fcd mixed progressively with gray.
Text in this color
Background in this color
Border in this color
.text-2a5fcd {
color: #2a5fcd;
}
.bg-2a5fcd {
background-color: #2a5fcd;
color: #ffffff;
}
.border-2a5fcd {
border: 2px solid #2a5fcd;
}
:root {
--color-primary: #2a5fcd;
--color-primary-rgb: 42 95 205;
--color-primary-hsl: 220 66% 48%;
}
.gradient-2a5fcd {
background: linear-gradient(135deg, #2a5fcd, #462acd);
}
.shadow-2a5fcd {
box-shadow: 0 8px 24px rgb(42 95 205 / 0.35);
}
Denim
#2a5fcd rgb(42, 95, 205) hsl(220, 66%, 48%) Denim
#cd982a rgb(205, 152, 42) hsl(40, 66%, 48%) Goldenrod
#cd2a5f rgb(205, 42, 95) hsl(340, 66%, 48%) Dogwood Rose
#5fcd2a rgb(95, 205, 42) hsl(100, 66%, 48%) Lime Green