#335ed2 ≈ Royal Blue
#335ed2 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 82.35% blue; printed in CMYK it uses 75.71% cyan, 55.24% magenta, 0% yellow and 17.65% black. Its hue angle is 223.77°, with 63.86% saturation and 51.18% 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.72:1 (WCAG AA). The closest named color is Royal Blue (#4169e1), ΔE 4.35.
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.1336 |
Shades
#335ed2 mixed progressively with black.
Tints
#335ed2 mixed progressively with white.
Tones
#335ed2 mixed progressively with gray.
Text in this color
Background in this color
Border in this color
.text-335ed2 {
color: #335ed2;
}
.bg-335ed2 {
background-color: #335ed2;
color: #ffffff;
}
.border-335ed2 {
border: 2px solid #335ed2;
}
:root {
--color-primary: #335ed2;
--color-primary-rgb: 51 94 210;
--color-primary-hsl: 224 64% 51%;
}
.gradient-335ed2 {
background: linear-gradient(135deg, #335ed2, #5733d2);
}
.shadow-335ed2 {
box-shadow: 0 8px 24px rgb(51 94 210 / 0.35);
}
Royal Blue
#335ed2 rgb(51, 94, 210) hsl(224, 64%, 51%) Royal Blue
#d2a733 rgb(210, 167, 51) hsl(44, 64%, 51%) Metallic Gold
#d2335e rgb(210, 51, 94) hsl(344, 64%, 51%) Cerise
#5ed233 rgb(94, 210, 51) hsl(104, 64%, 51%) Lime Green