In RGB color space, #5402a8 hex color has a red value of 84, a green value of 2 and a blue value of 168.
In CMYK color space (used in color printing), #5402a8 hex color is composed of 50% cyan, 98.81% magenta, 0% yellow and 34.12% black.
#5402a8 color has a hue of 269.6 degrees, a saturation of 97.65% and a lightness of 33.3%.
#5402a8 hex color contains mainly BLUE.
The closest web safe color of #5402a8 is #660099
#5402a8 hex color has a decimal value of 5505704.
HEX | 5402a8 | #5402a8 |
---|---|---|
RGB | 84, 2, 168 | rgb(84, 2, 168) |
RGB Percent | 32.94, 0.78, 65.88 | rgb(32.94, 0.78, 65.88) |
CMYK | 50, 99, 0, 34 | |
HSL | 269.6°, 97.65, 33.3 | hsl(269.6, 97.65%, 33.3%) |
HSV | 269.6°, 98.8, 65.9 |
XYZ | 10.746, 4.755, 37.397 |
---|---|
Hunter Lab | 21.806, 49.805, -86.418 |
CIE-LAB | 26.025, 60.63, -67.606 |
CIE-LCH | 26.025, 90.811, 311.886 |
CIE-LUV | 50, 98.81, 0, 34.12 |
Web Safe | 660099 |
RGB percent of color #5402a8
CMYK percent of color #5402a8
Text with hexadecimal color #5402a8
This text has a font color of #5402a8
<p style="color:#5402a8">Text here</p>
#5402a8 Background Color
This box has a background color of #5402a8
<div style="background-color:#5402a8">Text here</div>
#5402a8 Border Color
This box has a border color of #5402a8
<div style="border: 4px solid #5402a8">Text here</div>
CSS codes
<p style="color:#5402a8">Text here</p>
<div style="background-color:#5402a8">Text here</div>
<div style="border: 4px solid #5402a8">Text here</div>
#5402a8 Color on white background
This is how a font and box color of #5402a8 will look
on a white background.
#5402a8 Color on black background
This is how a font and box color of #5402a8 hex color will look
on a black background.