In RGB color space, #0540ab hex color has a red value of 5, a green value of 64 and a blue value of 171.
In CMYK color space (used in color printing), #0540ab hex color is composed of 97.08% cyan, 62.57% magenta, 0% yellow and 32.94% black.
#0540ab color has a hue of 218.7 degrees, a saturation of 94.32% and a lightness of 34.5%.
#0540ab hex color contains mainly BLUE.
The closest web safe color of #0540ab is #003399
#0540ab hex color has a decimal value of 344235.
HEX | 0540ab | #0540ab |
---|---|---|
RGB | 5, 64, 171 | rgb(5, 64, 171) |
RGB Percent | 1.96, 25.1, 67.06 | rgb(1.96, 25.1, 67.06) |
CMYK | 97, 63, 0, 33 | |
HSL | 218.7°, 94.32, 34.5 | hsl(218.7, 94.32%, 34.5%) |
HSV | 218.7°, 97.1, 67.1 |
XYZ | 9.247, 6.639, 39.322 |
---|---|
Hunter Lab | 25.766, 18.969, -72.446 |
CIE-LAB | 30.971, 27.504, -61.442 |
CIE-LCH | 30.971, 67.317, 294.115 |
CIE-LUV | 97.08, 62.57, 0, 32.94 |
Web Safe | 003399 |
RGB percent of color #0540ab
CMYK percent of color #0540ab
Text with hexadecimal color #0540ab
This text has a font color of #0540ab
<p style="color:#0540ab">Text here</p>
#0540ab Background Color
This box has a background color of #0540ab
<div style="background-color:#0540ab">Text here</div>
#0540ab Border Color
This box has a border color of #0540ab
<div style="border: 4px solid #0540ab">Text here</div>
CSS codes
<p style="color:#0540ab">Text here</p>
<div style="background-color:#0540ab">Text here</div>
<div style="border: 4px solid #0540ab">Text here</div>
#0540ab Color on white background
This is how a font and box color of #0540ab will look
on a white background.
#0540ab Color on black background
This is how a font and box color of #0540ab hex color will look
on a black background.