#045ce2 ≈ Royal Blue
#045ce2 is a color from the azure family, with medium lightness and vivid saturation. In the RGB model it is made of 1.57% red, 36.08% green and 88.63% blue; printed in CMYK it uses 98.23% cyan, 59.29% magenta, 0% yellow and 11.37% black. Its hue angle is 216.22°, with 96.52% saturation and 45.1% lightness in HSL. It is a cool color, often associated with openness, freedom and calm. Designers typically use it for technology products, finance and banking and call-to-action buttons. White text on this color reaches a contrast ratio of 5.78:1 (WCAG AA). The closest named color is Royal Blue (#4169e1), ΔE 4.96.
Description generated from the measured properties of this color.
| HEX | |
|---|---|
| RGB | |
| RGB percent | |
| CMY | |
| CMYK | |
| HSL | |
| HSV / HSB | |
| Web safe | #0066cc |
| CIE-LAB | |
| XYZ | |
| xyY | |
| CIE-LCH | |
| CIE-LUV | |
| Hunter-Lab | |
| OKLab | |
| Binary | |
| Decimal | |
| Relative luminance | 0.1317 |
Shades
#045ce2 mixed progressively with black.
Tints
#045ce2 mixed progressively with white.
Tones
#045ce2 mixed progressively with gray.
Text in this color
Background in this color
Border in this color
.text-045ce2 {
color: #045ce2;
}
.bg-045ce2 {
background-color: #045ce2;
color: #ffffff;
}
.border-045ce2 {
border: 2px solid #045ce2;
}
:root {
--color-primary: #045ce2;
--color-primary-rgb: 4 92 226;
--color-primary-hsl: 216 97% 45%;
}
.gradient-045ce2 {
background: linear-gradient(135deg, #045ce2, #1b04e2);
}
.shadow-045ce2 {
box-shadow: 0 8px 24px rgb(4 92 226 / 0.35);
}
Royal Blue
#045ce2 rgb(4, 92, 226) hsl(216, 97%, 45%) Royal Blue
#e28a04 rgb(226, 138, 4) hsl(36, 97%, 45%) Fulvous
#e2045c rgb(226, 4, 92) hsl(336, 97%, 45%) Raspberry
#5ce204 rgb(92, 226, 4) hsl(96, 97%, 45%) Lawn Green