In RGB color space, #5402b2 hex color has a red value of 84, a green value of 2 and a blue value of 178.
In CMYK color space (used in color printing), #5402b2 hex color is composed of 52.81% cyan, 98.88% magenta, 0% yellow and 30.2% black.
#5402b2 color has a hue of 268 degrees, a saturation of 97.78% and a lightness of 35.3%.
#5402b2 hex color contains mainly BLUE.
The closest web safe color of #5402b2 is #660099
#5402b2 hex color has a decimal value of 5505714.
HEX | 5402b2 | #5402b2 |
---|---|---|
RGB | 84, 2, 178 | rgb(84, 2, 178) |
RGB Percent | 32.94, 0.78, 69.8 | rgb(32.94, 0.78, 69.8) |
CMYK | 53, 99, 0, 30 | |
HSL | 268°, 97.78, 35.3 | hsl(268, 97.78%, 35.3%) |
HSV | 268°, 98.9, 69.8 |
XYZ | 11.714, 5.143, 42.495 |
---|---|
Hunter Lab | 22.678, 52.514, -95.224 |
CIE-LAB | 27.138, 62.883, -71.782 |
CIE-LCH | 27.138, 95.43, 311.219 |
CIE-LUV | 52.81, 98.88, 0, 30.2 |
Web Safe | 660099 |
RGB percent of color #5402b2
CMYK percent of color #5402b2
Text with hexadecimal color #5402b2
This text has a font color of #5402b2
<p style="color:#5402b2">Text here</p>
#5402b2 Background Color
This box has a background color of #5402b2
<div style="background-color:#5402b2">Text here</div>
#5402b2 Border Color
This box has a border color of #5402b2
<div style="border: 4px solid #5402b2">Text here</div>
CSS codes
<p style="color:#5402b2">Text here</p>
<div style="background-color:#5402b2">Text here</div>
<div style="border: 4px solid #5402b2">Text here</div>
#5402b2 Color on white background
This is how a font and box color of #5402b2 will look
on a white background.
#5402b2 Color on black background
This is how a font and box color of #5402b2 hex color will look
on a black background.