#335ec2 ≈ Denim
#335ec2 is a color from the blue family, with medium lightness and strong saturation. In the RGB model it is made of 20% red, 36.86% green and 76.08% blue; printed in CMYK it uses 73.71% cyan, 51.55% magenta, 0% yellow and 23.92% black. Its hue angle is 221.96°, with 58.37% saturation and 48.04% 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.96:1 (WCAG AA). The closest named color is Denim (#1560bd), ΔE 3.39.
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.126 |
Shades
#335ec2 mixed progressively with black.
Tints
#335ec2 mixed progressively with white.
Tones
#335ec2 mixed progressively with gray.
Text in this color
Background in this color
Border in this color
.text-335ec2 {
color: #335ec2;
}
.bg-335ec2 {
background-color: #335ec2;
color: #ffffff;
}
.border-335ec2 {
border: 2px solid #335ec2;
}
:root {
--color-primary: #335ec2;
--color-primary-rgb: 51 94 194;
--color-primary-hsl: 222 58% 48%;
}
.gradient-335ec2 {
background: linear-gradient(135deg, #335ec2, #5033c2);
}
.shadow-335ec2 {
box-shadow: 0 8px 24px rgb(51 94 194 / 0.35);
}
Denim
#335ec2 rgb(51, 94, 194) hsl(222, 58%, 48%) Denim
#c29733 rgb(194, 151, 51) hsl(42, 58%, 48%) Dark Goldenrod
#c2335e rgb(194, 51, 94) hsl(342, 58%, 48%) Dogwood Rose
#5ec233 rgb(94, 194, 51) hsl(102, 58%, 48%) Kelly Green