In RGB color space, #5040b6 hex color has a red value of 80, a green value of 64 and a blue value of 182.
In CMYK color space (used in color printing), #5040b6 hex color is composed of 56.04% cyan, 64.84% magenta, 0% yellow and 28.63% black.
#5040b6 color has a hue of 248.1 degrees, a saturation of 47.97% and a lightness of 48.2%.
#5040b6 hex color contains mainly BLUE.
The closest web safe color of #5040b6 is #6633cc
#5040b6 hex color has a decimal value of 5259446.
HEX | 5040b6 | #5040b6 |
---|---|---|
RGB | 80, 64, 182 | rgb(80, 64, 182) |
RGB Percent | 31.37, 25.1, 71.37 | rgb(31.37, 25.1, 71.37) |
CMYK | 56, 65, 0, 29 | |
HSL | 248.1°, 47.97, 48.2 | hsl(248.1, 47.97%, 48.2%) |
HSV | 248.1°, 64.8, 71.4 |
XYZ | 13.585, 8.75, 45.229 |
---|---|
Hunter Lab | 29.58, 30.212, -69.949 |
CIE-LAB | 35.498, 39.447, -60.437 |
CIE-LCH | 35.498, 72.171, 303.132 |
CIE-LUV | 56.04, 64.84, 0, 28.63 |
Web Safe | 6633cc |
RGB percent of color #5040b6
CMYK percent of color #5040b6
Text with hexadecimal color #5040b6
This text has a font color of #5040b6
<p style="color:#5040b6">Text here</p>
#5040b6 Background Color
This box has a background color of #5040b6
<div style="background-color:#5040b6">Text here</div>
#5040b6 Border Color
This box has a border color of #5040b6
<div style="border: 4px solid #5040b6">Text here</div>
CSS codes
<p style="color:#5040b6">Text here</p>
<div style="background-color:#5040b6">Text here</div>
<div style="border: 4px solid #5040b6">Text here</div>
#5040b6 Color on white background
This is how a font and box color of #5040b6 will look
on a white background.
#5040b6 Color on black background
This is how a font and box color of #5040b6 hex color will look
on a black background.