In RGB color space, #540cbf hex color has a red value of 84, a green value of 12 and a blue value of 191.
In CMYK color space (used in color printing), #540cbf hex color is composed of 56.02% cyan, 93.72% magenta, 0% yellow and 25.1% black.
#540cbf color has a hue of 264.1 degrees, a saturation of 88.18% and a lightness of 39.8%.
#540cbf hex color contains mainly BLUE.
The closest web safe color of #540cbf is #6600cc
#540cbf hex color has a decimal value of 5508287.
HEX | 540cbf | #540cbf |
---|---|---|
RGB | 84, 12, 191 | rgb(84, 12, 191) |
RGB Percent | 32.94, 4.71, 74.9 | rgb(32.94, 4.71, 74.9) |
CMYK | 56, 94, 0, 25 | |
HSL | 264.1°, 88.18, 39.8 | hsl(264.1, 88.18%, 39.8%) |
HSV | 264.1°, 93.7, 74.9 |
XYZ | 13.192, 5.909, 49.736 |
---|---|
Hunter Lab | 24.308, 54.331, -104.294 |
CIE-LAB | 29.182, 64.129, -76.129 |
CIE-LCH | 29.182, 99.54, 310.11 |
CIE-LUV | 56.02, 93.72, 0, 25.1 |
Web Safe | 6600cc |
RGB percent of color #540cbf
CMYK percent of color #540cbf
Text with hexadecimal color #540cbf
This text has a font color of #540cbf
<p style="color:#540cbf">Text here</p>
#540cbf Background Color
This box has a background color of #540cbf
<div style="background-color:#540cbf">Text here</div>
#540cbf Border Color
This box has a border color of #540cbf
<div style="border: 4px solid #540cbf">Text here</div>
CSS codes
<p style="color:#540cbf">Text here</p>
<div style="background-color:#540cbf">Text here</div>
<div style="border: 4px solid #540cbf">Text here</div>
#540cbf Color on white background
This is how a font and box color of #540cbf will look
on a white background.
#540cbf Color on black background
This is how a font and box color of #540cbf hex color will look
on a black background.