In RGB color space, #540aa4 hex color has a red value of 84, a green value of 10 and a blue value of 164.
In CMYK color space (used in color printing), #540aa4 hex color is composed of 48.78% cyan, 93.9% magenta, 0% yellow and 35.69% black.
#540aa4 color has a hue of 268.8 degrees, a saturation of 88.51% and a lightness of 34.1%.
#540aa4 hex color contains mainly BLUE.
The closest web safe color of #540aa4 is #660099
#540aa4 hex color has a decimal value of 5507748.
HEX | 540aa4 | #540aa4 |
---|---|---|
RGB | 84, 10, 164 | rgb(84, 10, 164) |
RGB Percent | 32.94, 3.92, 64.31 | rgb(32.94, 3.92, 64.31) |
CMYK | 49, 94, 0, 36 | |
HSL | 268.8°, 88.51, 34.1 | hsl(268.8, 88.51%, 34.1%) |
HSV | 268.8°, 93.9, 64.3 |
XYZ | 10.466, 4.782, 35.493 |
---|---|
Hunter Lab | 21.868, 47.162, -80.925 |
CIE-LAB | 26.104, 58.169, -65.05 |
CIE-LCH | 26.104, 87.265, 311.804 |
CIE-LUV | 48.78, 93.9, 0, 35.69 |
Web Safe | 660099 |
RGB percent of color #540aa4
CMYK percent of color #540aa4
Text with hexadecimal color #540aa4
This text has a font color of #540aa4
<p style="color:#540aa4">Text here</p>
#540aa4 Background Color
This box has a background color of #540aa4
<div style="background-color:#540aa4">Text here</div>
#540aa4 Border Color
This box has a border color of #540aa4
<div style="border: 4px solid #540aa4">Text here</div>
CSS codes
<p style="color:#540aa4">Text here</p>
<div style="background-color:#540aa4">Text here</div>
<div style="border: 4px solid #540aa4">Text here</div>
#540aa4 Color on white background
This is how a font and box color of #540aa4 will look
on a white background.
#540aa4 Color on black background
This is how a font and box color of #540aa4 hex color will look
on a black background.