#2f5dcc ≈ Denim
#2f5dcc is a color from the blue family, with medium lightness and strong saturation. In the RGB model it is made of 18.43% red, 36.47% green and 80% blue; printed in CMYK it uses 76.96% cyan, 54.41% magenta, 0% yellow and 20% black. Its hue angle is 222.42°, with 62.55% saturation and 49.22% 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.9:1 (WCAG AA). The closest named color is Denim (#1560bd), ΔE 4.1.
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.1279 |
Shades
#2f5dcc mixed progressively with black.
Tints
#2f5dcc mixed progressively with white.
Tones
#2f5dcc mixed progressively with gray.
Text in this color
Background in this color
Border in this color
.text-2f5dcc {
color: #2f5dcc;
}
.bg-2f5dcc {
background-color: #2f5dcc;
color: #ffffff;
}
.border-2f5dcc {
border: 2px solid #2f5dcc;
}
:root {
--color-primary: #2f5dcc;
--color-primary-rgb: 47 93 204;
--color-primary-hsl: 222 63% 49%;
}
.gradient-2f5dcc {
background: linear-gradient(135deg, #2f5dcc, #502fcc);
}
.shadow-2f5dcc {
box-shadow: 0 8px 24px rgb(47 93 204 / 0.35);
}
Denim
#2f5dcc rgb(47, 93, 204) hsl(222, 63%, 49%) Denim
#cc9e2f rgb(204, 158, 47) hsl(42, 63%, 49%) Goldenrod
#cc2f5d rgb(204, 47, 93) hsl(342, 63%, 49%) Ruby
#5dcc2f rgb(93, 204, 47) hsl(102, 63%, 49%) Lime Green