#0540ba ≈ Persian Blue
#0540ba 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 72.94% blue; printed in CMYK it uses 97.31% cyan, 65.59% magenta, 0% yellow and 27.06% black. Its hue angle is 220.44°, with 94.76% saturation and 37.45% 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.58:1 (WCAG AAA). The closest named color is Persian Blue (#1c39bb), ΔE 2.62.
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.0724 |
Shades
#0540ba mixed progressively with black.
Tints
#0540ba mixed progressively with white.
Tones
#0540ba mixed progressively with gray.
Text in this color
Background in this color
Border in this color
.text-0540ba {
color: #0540ba;
}
.bg-0540ba {
background-color: #0540ba;
color: #ffffff;
}
.border-0540ba {
border: 2px solid #0540ba;
}
:root {
--color-primary: #0540ba;
--color-primary-rgb: 5 64 186;
--color-primary-hsl: 220 95% 37%;
}
.gradient-0540ba {
background: linear-gradient(135deg, #0540ba, #2405ba);
}
.shadow-0540ba {
box-shadow: 0 8px 24px rgb(5 64 186 / 0.35);
}
Persian Blue
#0540ba rgb(5, 64, 186) hsl(220, 95%, 37%) Persian Blue
#ba7f05 rgb(186, 127, 5) hsl(40, 95%, 37%) Dark Goldenrod
#ba0540 rgb(186, 5, 64) hsl(340, 95%, 37%) Cardinal
#40ba05 rgb(64, 186, 5) hsl(100, 95%, 37%) Kelly Green