#0540bc ≈ Persian Blue
#0540bc is a color from the blue family, with low lightness and strong saturation. In the RGB model it is made of 1.96% red, 25.1% green and 73.73% blue; printed in CMYK it uses 97.34% cyan, 65.96% magenta, 0% yellow and 26.27% black. Its hue angle is 220.66°, with 94.82% saturation and 37.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 8.52:1 (WCAG AAA). The closest named color is Persian Blue (#1c39bb), ΔE 2.53.
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.0733 |
Shades
#0540bc mixed progressively with black.
Tints
#0540bc mixed progressively with white.
Tones
#0540bc mixed progressively with gray.
Text in this color
Background in this color
Border in this color
.text-0540bc {
color: #0540bc;
}
.bg-0540bc {
background-color: #0540bc;
color: #ffffff;
}
.border-0540bc {
border: 2px solid #0540bc;
}
:root {
--color-primary: #0540bc;
--color-primary-rgb: 5 64 188;
--color-primary-hsl: 221 95% 38%;
}
.gradient-0540bc {
background: linear-gradient(135deg, #0540bc, #2605bc);
}
.shadow-0540bc {
box-shadow: 0 8px 24px rgb(5 64 188 / 0.35);
}
Persian Blue
#0540bc rgb(5, 64, 188) hsl(221, 95%, 38%) Persian Blue
#bc8105 rgb(188, 129, 5) hsl(41, 95%, 38%) Dark Goldenrod
#bc0540 rgb(188, 5, 64) hsl(341, 95%, 38%) Cardinal
#40bc05 rgb(64, 188, 5) hsl(101, 95%, 38%) Kelly Green