In RGB color space, #5040c9 hex color has a red value of 80, a green value of 64 and a blue value of 201.
In CMYK color space (used in color printing), #5040c9 hex color is composed of 60.2% cyan, 68.16% magenta, 0% yellow and 21.18% black.
#5040c9 color has a hue of 247 degrees, a saturation of 55.92% and a lightness of 52%.
#5040c9 hex color contains mainly BLUE.
The closest web safe color of #5040c9 is #6633cc
#5040c9 hex color has a decimal value of 5259465.
HEX | 5040c9 | #5040c9 |
---|---|---|
RGB | 80, 64, 201 | rgb(80, 64, 201) |
RGB Percent | 31.37, 25.1, 78.82 | rgb(31.37, 25.1, 78.82) |
CMYK | 60, 68, 0, 21 | |
HSL | 247°, 55.92, 52 | hsl(247, 55.92%, 52%) |
HSV | 247°, 68.2, 78.8 |
XYZ | 15.684, 9.589, 56.283 |
---|---|
Hunter Lab | 30.966, 36.218, -86.087 |
CIE-LAB | 37.094, 45.392, -68.968 |
CIE-LCH | 37.094, 82.565, 303.351 |
CIE-LUV | 60.2, 68.16, 0, 21.18 |
Web Safe | 6633cc |
RGB percent of color #5040c9
CMYK percent of color #5040c9
Text with hexadecimal color #5040c9
This text has a font color of #5040c9
<p style="color:#5040c9">Text here</p>
#5040c9 Background Color
This box has a background color of #5040c9
<div style="background-color:#5040c9">Text here</div>
#5040c9 Border Color
This box has a border color of #5040c9
<div style="border: 4px solid #5040c9">Text here</div>
CSS codes
<p style="color:#5040c9">Text here</p>
<div style="background-color:#5040c9">Text here</div>
<div style="border: 4px solid #5040c9">Text here</div>
#5040c9 Color on white background
This is how a font and box color of #5040c9 will look
on a white background.
#5040c9 Color on black background
This is how a font and box color of #5040c9 hex color will look
on a black background.