#305fe2 ≈ Royal Blue
#305fe2 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 88.63% blue; printed in CMYK it uses 78.76% cyan, 57.96% magenta, 0% yellow and 11.37% black. Its hue angle is 224.16°, with 75.42% saturation and 53.73% 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.44:1 (WCAG AA). The closest named color is Royal Blue (#4169e1), Δ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.143 |
Shades
#305fe2 mixed progressively with black.
Tints
#305fe2 mixed progressively with white.
Tones
#305fe2 mixed progressively with gray.
Text in this color
Background in this color
Border in this color
.text-305fe2 {
color: #305fe2;
}
.bg-305fe2 {
background-color: #305fe2;
color: #ffffff;
}
.border-305fe2 {
border: 2px solid #305fe2;
}
:root {
--color-primary: #305fe2;
--color-primary-rgb: 48 95 226;
--color-primary-hsl: 224 75% 54%;
}
.gradient-305fe2 {
background: linear-gradient(135deg, #305fe2, #5a30e2);
}
.shadow-305fe2 {
box-shadow: 0 8px 24px rgb(48 95 226 / 0.35);
}
Royal Blue
#305fe2 rgb(48, 95, 226) hsl(224, 75%, 54%) Royal Blue
#e2b330 rgb(226, 179, 48) hsl(44, 75%, 54%) Meat Brown
#e2305f rgb(226, 48, 95) hsl(344, 75%, 54%) Cerise
#5fe230 rgb(95, 226, 48) hsl(104, 75%, 54%) Lime Green