#335fd2 ≈ Royal Blue
#335fd2 is a color from the blue family, with medium lightness and strong saturation. In the RGB model it is made of 20% red, 37.25% green and 82.35% blue; printed in CMYK it uses 75.71% cyan, 54.76% magenta, 0% yellow and 17.65% black. Its hue angle is 223.4°, 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.66:1 (WCAG AA). The closest named color is Royal Blue (#4169e1), ΔE 4.1.
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.1354 |
Shades
#335fd2 mixed progressively with black.
Tints
#335fd2 mixed progressively with white.
Tones
#335fd2 mixed progressively with gray.
Text in this color
Background in this color
Border in this color
.text-335fd2 {
color: #335fd2;
}
.bg-335fd2 {
background-color: #335fd2;
color: #ffffff;
}
.border-335fd2 {
border: 2px solid #335fd2;
}
:root {
--color-primary: #335fd2;
--color-primary-rgb: 51 95 210;
--color-primary-hsl: 223 64% 51%;
}
.gradient-335fd2 {
background: linear-gradient(135deg, #335fd2, #5733d2);
}
.shadow-335fd2 {
box-shadow: 0 8px 24px rgb(51 95 210 / 0.35);
}
Royal Blue
#335fd2 rgb(51, 95, 210) hsl(223, 64%, 51%) Royal Blue
#d2a633 rgb(210, 166, 51) hsl(43, 64%, 51%) Goldenrod
#d2335f rgb(210, 51, 95) hsl(343, 64%, 51%) Cerise
#5fd233 rgb(95, 210, 51) hsl(103, 64%, 51%) Lime Green