#0540ef ≈ Persian Blue
#0540ef is a color from the blue family, with medium lightness and vivid saturation. In the RGB model it is made of 1.96% red, 25.1% green and 93.73% blue; printed in CMYK it uses 97.91% cyan, 73.22% magenta, 0% yellow and 6.27% black. Its hue angle is 224.87°, with 95.9% saturation and 47.84% 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.03:1 (WCAG AAA). The closest named color is Persian Blue (#1c39bb), ΔE 6.77.
Description generated from the measured properties of this color.
| HEX | |
|---|---|
| RGB | |
| RGB percent | |
| CMY | |
| CMYK | |
| HSL | |
| HSV / HSB | |
| Web safe | #0033ff |
| CIE-LAB | |
| XYZ | |
| xyY | |
| CIE-LCH | |
| CIE-LUV | |
| Hunter-Lab | |
| OKLab | |
| Binary | |
| Decimal | |
| Relative luminance | 0.0993 |
Shades
#0540ef mixed progressively with black.
Tints
#0540ef mixed progressively with white.
Tones
#0540ef mixed progressively with gray.
Text in this color
Background in this color
Border in this color
.text-0540ef {
color: #0540ef;
}
.bg-0540ef {
background-color: #0540ef;
color: #ffffff;
}
.border-0540ef {
border: 2px solid #0540ef;
}
:root {
--color-primary: #0540ef;
--color-primary-rgb: 5 64 239;
--color-primary-hsl: 225 96% 48%;
}
.gradient-0540ef {
background: linear-gradient(135deg, #0540ef, #3f05ef);
}
.shadow-0540ef {
box-shadow: 0 8px 24px rgb(5 64 239 / 0.35);
}
Persian Blue
#0540ef rgb(5, 64, 239) hsl(225, 96%, 48%) Persian Blue
#efb405 rgb(239, 180, 5) hsl(45, 96%, 48%) Amber
#ef0540 rgb(239, 5, 64) hsl(345, 96%, 48%) Crimson
#40ef05 rgb(64, 239, 5) hsl(105, 96%, 48%) Neon Green