In RGB color space, #540ba4 hex color has a red value of 84, a green value of 11 and a blue value of 164.
In CMYK color space (used in color printing), #540ba4 hex color is composed of 48.78% cyan, 93.29% magenta, 0% yellow and 35.69% black.
#540ba4 color has a hue of 268.6 degrees, a saturation of 87.43% and a lightness of 34.3%.
#540ba4 hex color contains mainly BLUE.
The closest web safe color of #540ba4 is #660099
#540ba4 hex color has a decimal value of 5508004.
HEX | 540ba4 | #540ba4 |
---|---|---|
RGB | 84, 11, 164 | rgb(84, 11, 164) |
RGB Percent | 32.94, 4.31, 64.31 | rgb(32.94, 4.31, 64.31) |
CMYK | 49, 93, 0, 36 | |
HSL | 268.6°, 87.43, 34.3 | hsl(268.6, 87.43%, 34.3%) |
HSV | 268.6°, 93.3, 64.3 |
XYZ | 10.477, 4.804, 35.497 |
---|---|
Hunter Lab | 21.918, 46.968, -80.68 |
CIE-LAB | 26.169, 57.975, -64.944 |
CIE-LCH | 26.169, 87.056, 311.755 |
CIE-LUV | 48.78, 93.29, 0, 35.69 |
Web Safe | 660099 |
RGB percent of color #540ba4
CMYK percent of color #540ba4
Text with hexadecimal color #540ba4
This text has a font color of #540ba4
<p style="color:#540ba4">Text here</p>
#540ba4 Background Color
This box has a background color of #540ba4
<div style="background-color:#540ba4">Text here</div>
#540ba4 Border Color
This box has a border color of #540ba4
<div style="border: 4px solid #540ba4">Text here</div>
CSS codes
<p style="color:#540ba4">Text here</p>
<div style="background-color:#540ba4">Text here</div>
<div style="border: 4px solid #540ba4">Text here</div>
#540ba4 Color on white background
This is how a font and box color of #540ba4 will look
on a white background.
#540ba4 Color on black background
This is how a font and box color of #540ba4 hex color will look
on a black background.