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