#0042e5 ≈ Persian Blue
#0042e5 is a color from the blue family, with medium lightness and vivid saturation. In the RGB model it is made of 0% red, 25.88% green and 89.8% blue; printed in CMYK it uses 100% cyan, 71.18% magenta, 0% yellow and 10.2% black. Its hue angle is 222.71°, with 100% saturation and 44.9% 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 call-to-action buttons. White text on this color reaches a contrast ratio of 7.21:1 (WCAG AAA). The closest named color is Persian Blue (#1c39bb), ΔE 5.77.
Description generated from the measured properties of this color.
| HEX | |
|---|---|
| RGB | |
| RGB percent | |
| CMY | |
| CMYK | |
| HSL | |
| HSV / HSB | |
| Web safe | #0033cc |
| CIE-LAB | |
| XYZ | |
| xyY | |
| CIE-LCH | |
| CIE-LUV | |
| Hunter-Lab | |
| OKLab | |
| Binary | |
| Decimal | |
| Relative luminance | 0.0955 |
Shades
#0042e5 mixed progressively with black.
Tints
#0042e5 mixed progressively with white.
Tones
#0042e5 mixed progressively with gray.
Text in this color
Background in this color
Border in this color
.text-0042e5 {
color: #0042e5;
}
.bg-0042e5 {
background-color: #0042e5;
color: #ffffff;
}
.border-0042e5 {
border: 2px solid #0042e5;
}
:root {
--color-primary: #0042e5;
--color-primary-rgb: 0 66 229;
--color-primary-hsl: 223 100% 45%;
}
.gradient-0042e5 {
background: linear-gradient(135deg, #0042e5, #3100e5);
}
.shadow-0042e5 {
box-shadow: 0 8px 24px rgb(0 66 229 / 0.35);
}
Persian Blue
#0042e5 rgb(0, 66, 229) hsl(223, 100%, 45%) Persian Blue
#e5a300 rgb(229, 163, 0) hsl(43, 100%, 45%) Marigold
#e50042 rgb(229, 0, 66) hsl(343, 100%, 45%) Crimson
#42e500 rgb(66, 229, 0) hsl(103, 100%, 45%) Neon Green