#335fa5 ≈ Denim
#335fa5 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 64.71% blue; printed in CMYK it uses 69.09% cyan, 42.42% magenta, 0% yellow and 35.29% black. Its hue angle is 216.84°, with 52.78% saturation and 42.35% 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.32:1 (WCAG AA). The closest named color is Denim (#1560bd), ΔE 3.02.
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.116 |
Shades
#335fa5 mixed progressively with black.
Tints
#335fa5 mixed progressively with white.
Tones
#335fa5 mixed progressively with gray.
Text in this color
Background in this color
Border in this color
.text-335fa5 {
color: #335fa5;
}
.bg-335fa5 {
background-color: #335fa5;
color: #ffffff;
}
.border-335fa5 {
border: 2px solid #335fa5;
}
:root {
--color-primary: #335fa5;
--color-primary-rgb: 51 95 165;
--color-primary-hsl: 217 53% 42%;
}
.gradient-335fa5 {
background: linear-gradient(135deg, #335fa5, #4033a5);
}
.shadow-335fa5 {
box-shadow: 0 8px 24px rgb(51 95 165 / 0.35);
}
Denim
#335fa5 rgb(51, 95, 165) hsl(217, 53%, 42%) Denim
#a57933 rgb(165, 121, 51) hsl(37, 53%, 42%) Golden Brown
#a5335f rgb(165, 51, 95) hsl(337, 53%, 42%) Jazzberry Jam
#5fa533 rgb(95, 165, 51) hsl(97, 53%, 42%) Kelly Green