#335fb2 ≈ Denim
#335fb2 is a color from the azure family, with medium lightness and moderate saturation. In the RGB model it is made of 20% red, 37.25% green and 69.8% blue; printed in CMYK it uses 71.35% cyan, 46.63% magenta, 0% yellow and 30.2% black. Its hue angle is 219.21°, with 55.46% saturation and 44.9% 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 brand accents. White text on this color reaches a contrast ratio of 6.14:1 (WCAG AA). The closest named color is Denim (#1560bd), ΔE 2.52.
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.121 |
Shades
#335fb2 mixed progressively with black.
Tints
#335fb2 mixed progressively with white.
Tones
#335fb2 mixed progressively with gray.
Text in this color
Background in this color
Border in this color
.text-335fb2 {
color: #335fb2;
}
.bg-335fb2 {
background-color: #335fb2;
color: #ffffff;
}
.border-335fb2 {
border: 2px solid #335fb2;
}
:root {
--color-primary: #335fb2;
--color-primary-rgb: 51 95 178;
--color-primary-hsl: 219 55% 45%;
}
.gradient-335fb2 {
background: linear-gradient(135deg, #335fb2, #4633b2);
}
.shadow-335fb2 {
box-shadow: 0 8px 24px rgb(51 95 178 / 0.35);
}
Denim
#335fb2 rgb(51, 95, 178) hsl(219, 55%, 45%) Denim
#b28633 rgb(178, 134, 51) hsl(39, 55%, 45%) Dark Goldenrod
#b2335f rgb(178, 51, 95) hsl(339, 55%, 45%) Dogwood Rose
#5fb233 rgb(95, 178, 51) hsl(99, 55%, 45%) Kelly Green