#045fef ≈ Royal Blue
#045fef is a color from the azure family, with medium lightness and vivid saturation. In the RGB model it is made of 1.57% red, 37.25% green and 93.73% blue; printed in CMYK it uses 98.33% cyan, 60.25% magenta, 0% yellow and 6.27% black. Its hue angle is 216.77°, with 96.71% saturation and 47.65% 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.4:1 (WCAG AA). The closest named color is Royal Blue (#4169e1), ΔE 3.94.
Description generated from the measured properties of this color.
| HEX | |
|---|---|
| RGB | |
| RGB percent | |
| CMY | |
| CMYK | |
| HSL | |
| HSV / HSB | |
| Web safe | #0066ff |
| CIE-LAB | |
| XYZ | |
| xyY | |
| CIE-LCH | |
| CIE-LUV | |
| Hunter-Lab | |
| OKLab | |
| Binary | |
| Decimal | |
| Relative luminance | 0.1444 |
Shades
#045fef mixed progressively with black.
Tints
#045fef mixed progressively with white.
Tones
#045fef mixed progressively with gray.
Text in this color
Background in this color
Border in this color
.text-045fef {
color: #045fef;
}
.bg-045fef {
background-color: #045fef;
color: #ffffff;
}
.border-045fef {
border: 2px solid #045fef;
}
:root {
--color-primary: #045fef;
--color-primary-rgb: 4 95 239;
--color-primary-hsl: 217 97% 48%;
}
.gradient-045fef {
background: linear-gradient(135deg, #045fef, #1f04ef);
}
.shadow-045fef {
box-shadow: 0 8px 24px rgb(4 95 239 / 0.35);
}
Royal Blue
#045fef rgb(4, 95, 239) hsl(217, 97%, 48%) Royal Blue
#ef9404 rgb(239, 148, 4) hsl(37, 97%, 48%) Carrot Orange
#ef045f rgb(239, 4, 95) hsl(337, 97%, 48%) Raspberry
#5fef04 rgb(95, 239, 4) hsl(97, 97%, 48%) Lawn Green