In RGB color space, #540fb9 hex color has a red value of 84, a green value of 15 and a blue value of 185.
In CMYK color space (used in color printing), #540fb9 hex color is composed of 54.59% cyan, 91.89% magenta, 0% yellow and 27.45% black.
#540fb9 color has a hue of 264.4 degrees, a saturation of 85% and a lightness of 39.2%.
#540fb9 hex color contains mainly BLUE.
The closest web safe color of #540fb9 is #6600cc
#540fb9 hex color has a decimal value of 5509049.
HEX | 540fb9 | #540fb9 |
---|---|---|
RGB | 84, 15, 185 | rgb(84, 15, 185) |
RGB Percent | 32.94, 5.88, 72.55 | rgb(32.94, 5.88, 72.55) |
CMYK | 55, 92, 0, 27 | |
HSL | 264.4°, 85, 39.2 | hsl(264.4, 85%, 39.2%) |
HSV | 264.4°, 91.9, 72.5 |
XYZ | 12.584, 5.729, 46.342 |
---|---|
Hunter Lab | 23.935, 51.96, -98.039 |
CIE-LAB | 28.718, 62.087, -73.341 |
CIE-LCH | 28.718, 96.092, 310.25 |
CIE-LUV | 54.59, 91.89, 0, 27.45 |
Web Safe | 6600cc |
RGB percent of color #540fb9
CMYK percent of color #540fb9
Text with hexadecimal color #540fb9
This text has a font color of #540fb9
<p style="color:#540fb9">Text here</p>
#540fb9 Background Color
This box has a background color of #540fb9
<div style="background-color:#540fb9">Text here</div>
#540fb9 Border Color
This box has a border color of #540fb9
<div style="border: 4px solid #540fb9">Text here</div>
CSS codes
<p style="color:#540fb9">Text here</p>
<div style="background-color:#540fb9">Text here</div>
<div style="border: 4px solid #540fb9">Text here</div>
#540fb9 Color on white background
This is how a font and box color of #540fb9 will look
on a white background.
#540fb9 Color on black background
This is how a font and box color of #540fb9 hex color will look
on a black background.