#2f5dcf ≈ Denim
#2f5dcf 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 81.18% blue; printed in CMYK it uses 77.29% cyan, 55.07% magenta, 0% yellow and 18.82% black. Its hue angle is 222.75°, with 62.99% saturation and 49.8% 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.85:1 (WCAG AA). The closest named color is Denim (#1560bd), ΔE 4.41.
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.1294 |
Shades
#2f5dcf mixed progressively with black.
Tints
#2f5dcf mixed progressively with white.
Tones
#2f5dcf mixed progressively with gray.
Text in this color
Background in this color
Border in this color
.text-2f5dcf {
color: #2f5dcf;
}
.bg-2f5dcf {
background-color: #2f5dcf;
color: #ffffff;
}
.border-2f5dcf {
border: 2px solid #2f5dcf;
}
:root {
--color-primary: #2f5dcf;
--color-primary-rgb: 47 93 207;
--color-primary-hsl: 223 63% 50%;
}
.gradient-2f5dcf {
background: linear-gradient(135deg, #2f5dcf, #512fcf);
}
.shadow-2f5dcf {
box-shadow: 0 8px 24px rgb(47 93 207 / 0.35);
}
Denim
#2f5dcf rgb(47, 93, 207) hsl(223, 63%, 50%) Denim
#cfa12f rgb(207, 161, 47) hsl(43, 63%, 50%) Goldenrod
#cf2f5d rgb(207, 47, 93) hsl(343, 63%, 50%) Ruby
#5dcf2f rgb(93, 207, 47) hsl(103, 63%, 50%) Lime Green