#045cd2 ≈ Denim
#045cd2 is a color from the azure family, with medium lightness and vivid saturation. In the RGB model it is made of 1.57% red, 36.08% green and 82.35% blue; printed in CMYK it uses 98.1% cyan, 56.19% magenta, 0% yellow and 17.65% black. Its hue angle is 214.37°, with 96.26% saturation and 41.96% lightness in HSL. It is a cool color, often associated with openness, freedom and calm. Designers typically use it for technology products, finance and banking and call-to-action buttons. White text on this color reaches a contrast ratio of 6.06:1 (WCAG AA). The closest named color is Denim (#1560bd), ΔE 3.18.
Description generated from the measured properties of this color.
| HEX | |
|---|---|
| RGB | |
| RGB percent | |
| CMY | |
| CMYK | |
| HSL | |
| HSV / HSB | |
| Web safe | #0066cc |
| CIE-LAB | |
| XYZ | |
| xyY | |
| CIE-LCH | |
| CIE-LUV | |
| Hunter-Lab | |
| OKLab | |
| Binary | |
| Decimal | |
| Relative luminance | 0.1233 |
Shades
#045cd2 mixed progressively with black.
Tints
#045cd2 mixed progressively with white.
Tones
#045cd2 mixed progressively with gray.
Text in this color
Background in this color
Border in this color
.text-045cd2 {
color: #045cd2;
}
.bg-045cd2 {
background-color: #045cd2;
color: #ffffff;
}
.border-045cd2 {
border: 2px solid #045cd2;
}
:root {
--color-primary: #045cd2;
--color-primary-rgb: 4 92 210;
--color-primary-hsl: 214 96% 42%;
}
.gradient-045cd2 {
background: linear-gradient(135deg, #045cd2, #1304d2);
}
.shadow-045cd2 {
box-shadow: 0 8px 24px rgb(4 92 210 / 0.35);
}
Denim
#045cd2 rgb(4, 92, 210) hsl(214, 96%, 42%) Denim
#d27a04 rgb(210, 122, 4) hsl(34, 96%, 42%) Ochre
#d2045c rgb(210, 4, 92) hsl(334, 96%, 42%) Dogwood Rose
#5cd204 rgb(92, 210, 4) hsl(94, 96%, 42%) Lime Green