In RGB color space, #0540ba hex color has a red value of 5, a green value of 64 and a blue value of 186.
In CMYK color space (used in color printing), #0540ba hex color is composed of 97.31% cyan, 65.59% magenta, 0% yellow and 27.06% black.
#0540ba color has a hue of 220.4 degrees, a saturation of 94.76% and a lightness of 37.5%.
#0540ba hex color contains mainly BLUE.
The closest web safe color of #0540ba is #0033cc
#0540ba hex color has a decimal value of 344250.
HEX | 0540ba | #0540ba |
---|---|---|
RGB | 5, 64, 186 | rgb(5, 64, 186) |
RGB Percent | 1.96, 25.1, 72.94 | rgb(1.96, 25.1, 72.94) |
CMYK | 97, 66, 0, 27 | |
HSL | 220.4°, 94.76, 37.5 | hsl(220.4, 94.76%, 37.5%) |
HSV | 220.4°, 97.3, 72.9 |
XYZ | 10.759, 7.244, 47.286 |
---|---|
Hunter Lab | 26.915, 24.254, -85.325 |
CIE-LAB | 32.356, 33.438, -68.084 |
CIE-LCH | 32.356, 75.852, 296.157 |
CIE-LUV | 97.31, 65.59, 0, 27.06 |
Web Safe | 0033cc |
RGB percent of color #0540ba
CMYK percent of color #0540ba
Text with hexadecimal color #0540ba
This text has a font color of #0540ba
<p style="color:#0540ba">Text here</p>
#0540ba Background Color
This box has a background color of #0540ba
<div style="background-color:#0540ba">Text here</div>
#0540ba Border Color
This box has a border color of #0540ba
<div style="border: 4px solid #0540ba">Text here</div>
CSS codes
<p style="color:#0540ba">Text here</p>
<div style="background-color:#0540ba">Text here</div>
<div style="border: 4px solid #0540ba">Text here</div>
#0540ba Color on white background
This is how a font and box color of #0540ba will look
on a white background.
#0540ba Color on black background
This is how a font and box color of #0540ba hex color will look
on a black background.