In RGB color space, #0540ad hex color has a red value of 5, a green value of 64 and a blue value of 173.
In CMYK color space (used in color printing), #0540ad hex color is composed of 97.11% cyan, 63.01% magenta, 0% yellow and 32.16% black.
#0540ad color has a hue of 218.9 degrees, a saturation of 94.38% and a lightness of 34.9%.
#0540ad hex color contains mainly BLUE.
The closest web safe color of #0540ad is #003399
#0540ad hex color has a decimal value of 344237.
HEX | 0540ad | #0540ad |
---|---|---|
RGB | 5, 64, 173 | rgb(5, 64, 173) |
RGB Percent | 1.96, 25.1, 67.84 | rgb(1.96, 25.1, 67.84) |
CMYK | 97, 63, 0, 32 | |
HSL | 218.9°, 94.38, 34.9 | hsl(218.9, 94.38%, 34.9%) |
HSV | 218.9°, 97.1, 67.8 |
XYZ | 9.439, 6.716, 40.334 |
---|---|
Hunter Lab | 25.915, 19.663, -74.137 |
CIE-LAB | 31.151, 28.305, -62.342 |
CIE-LCH | 31.151, 68.467, 294.419 |
CIE-LUV | 97.11, 63.01, 0, 32.16 |
Web Safe | 003399 |
RGB percent of color #0540ad
CMYK percent of color #0540ad
Text with hexadecimal color #0540ad
This text has a font color of #0540ad
<p style="color:#0540ad">Text here</p>
#0540ad Background Color
This box has a background color of #0540ad
<div style="background-color:#0540ad">Text here</div>
#0540ad Border Color
This box has a border color of #0540ad
<div style="border: 4px solid #0540ad">Text here</div>
CSS codes
<p style="color:#0540ad">Text here</p>
<div style="background-color:#0540ad">Text here</div>
<div style="border: 4px solid #0540ad">Text here</div>
#0540ad Color on white background
This is how a font and box color of #0540ad will look
on a white background.
#0540ad Color on black background
This is how a font and box color of #0540ad hex color will look
on a black background.