#305cd8 ≈ Royal Blue
#305cd8 is a color from the blue family, with medium lightness and strong saturation. In the RGB model it is made of 18.82% red, 36.08% green and 84.71% blue; printed in CMYK it uses 77.78% cyan, 57.41% magenta, 0% yellow and 15.29% black. Its hue angle is 224.29°, with 68.29% saturation and 51.76% 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.76:1 (WCAG AA). The closest named color is Royal Blue (#4169e1), ΔE 4.61.
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.1324 |
Shades
#305cd8 mixed progressively with black.
Tints
#305cd8 mixed progressively with white.
Tones
#305cd8 mixed progressively with gray.
Text in this color
Background in this color
Border in this color
.text-305cd8 {
color: #305cd8;
}
.bg-305cd8 {
background-color: #305cd8;
color: #ffffff;
}
.border-305cd8 {
border: 2px solid #305cd8;
}
:root {
--color-primary: #305cd8;
--color-primary-rgb: 48 92 216;
--color-primary-hsl: 224 68% 52%;
}
.gradient-305cd8 {
background: linear-gradient(135deg, #305cd8, #5830d8);
}
.shadow-305cd8 {
box-shadow: 0 8px 24px rgb(48 92 216 / 0.35);
}
Royal Blue
#305cd8 rgb(48, 92, 216) hsl(224, 68%, 52%) Royal Blue
#d8ac30 rgb(216, 172, 48) hsl(44, 68%, 52%) Metallic Gold
#d8305c rgb(216, 48, 92) hsl(344, 68%, 52%) Cerise
#5cd830 rgb(92, 216, 48) hsl(104, 68%, 52%) Lime Green