In RGB color space, #0540a3 hex color has a red value of 5, a green value of 64 and a blue value of 163.
In CMYK color space (used in color printing), #0540a3 hex color is composed of 96.93% cyan, 60.74% magenta, 0% yellow and 36.08% black.
#0540a3 color has a hue of 217.6 degrees, a saturation of 94.05% and a lightness of 32.9%.
#0540a3 hex color contains mainly BLUE.
The closest web safe color of #0540a3 is #003399
#0540a3 hex color has a decimal value of 344227.
HEX | 0540a3 | #0540a3 |
---|---|---|
RGB | 5, 64, 163 | rgb(5, 64, 163) |
RGB Percent | 1.96, 25.1, 63.92 | rgb(1.96, 25.1, 63.92) |
CMYK | 97, 61, 0, 36 | |
HSL | 217.6°, 94.05, 32.9 | hsl(217.6, 94.05%, 32.9%) |
HSV | 217.6°, 96.9, 63.9 |
XYZ | 8.507, 6.343, 35.426 |
---|---|
Hunter Lab | 25.185, 16.219, -65.768 |
CIE-LAB | 30.262, 24.253, -57.796 |
CIE-LCH | 30.262, 62.678, 292.764 |
CIE-LUV | 96.93, 60.74, 0, 36.08 |
Web Safe | 003399 |
RGB percent of color #0540a3
CMYK percent of color #0540a3
Text with hexadecimal color #0540a3
This text has a font color of #0540a3
<p style="color:#0540a3">Text here</p>
#0540a3 Background Color
This box has a background color of #0540a3
<div style="background-color:#0540a3">Text here</div>
#0540a3 Border Color
This box has a border color of #0540a3
<div style="border: 4px solid #0540a3">Text here</div>
CSS codes
<p style="color:#0540a3">Text here</p>
<div style="background-color:#0540a3">Text here</div>
<div style="border: 4px solid #0540a3">Text here</div>
#0540a3 Color on white background
This is how a font and box color of #0540a3 will look
on a white background.
#0540a3 Color on black background
This is how a font and box color of #0540a3 hex color will look
on a black background.