In RGB color space, #5040b9 hex color has a red value of 80, a green value of 64 and a blue value of 185.
In CMYK color space (used in color printing), #5040b9 hex color is composed of 56.76% cyan, 65.41% magenta, 0% yellow and 27.45% black.
#5040b9 color has a hue of 247.9 degrees, a saturation of 48.59% and a lightness of 48.8%.
#5040b9 hex color contains mainly BLUE.
The closest web safe color of #5040b9 is #6633cc
#5040b9 hex color has a decimal value of 5259449.
HEX | 5040b9 | #5040b9 |
---|---|---|
RGB | 80, 64, 185 | rgb(80, 64, 185) |
RGB Percent | 31.37, 25.1, 72.55 | rgb(31.37, 25.1, 72.55) |
CMYK | 57, 65, 0, 27 | |
HSL | 247.9°, 48.59, 48.8 | hsl(247.9, 48.59%, 48.8%) |
HSV | 247.9°, 65.4, 72.5 |
XYZ | 13.899, 8.875, 46.879 |
---|---|
Hunter Lab | 29.791, 31.145, -72.445 |
CIE-LAB | 35.743, 40.394, -61.809 |
CIE-LCH | 35.743, 73.838, 303.166 |
CIE-LUV | 56.76, 65.41, 0, 27.45 |
Web Safe | 6633cc |
RGB percent of color #5040b9
CMYK percent of color #5040b9
Text with hexadecimal color #5040b9
This text has a font color of #5040b9
<p style="color:#5040b9">Text here</p>
#5040b9 Background Color
This box has a background color of #5040b9
<div style="background-color:#5040b9">Text here</div>
#5040b9 Border Color
This box has a border color of #5040b9
<div style="border: 4px solid #5040b9">Text here</div>
CSS codes
<p style="color:#5040b9">Text here</p>
<div style="background-color:#5040b9">Text here</div>
<div style="border: 4px solid #5040b9">Text here</div>
#5040b9 Color on white background
This is how a font and box color of #5040b9 will look
on a white background.
#5040b9 Color on black background
This is how a font and box color of #5040b9 hex color will look
on a black background.