In RGB color space, #5040ba hex color has a red value of 80, a green value of 64 and a blue value of 186.
In CMYK color space (used in color printing), #5040ba hex color is composed of 56.99% cyan, 65.59% magenta, 0% yellow and 27.06% black.
#5040ba color has a hue of 247.9 degrees, a saturation of 48.8% and a lightness of 49%.
#5040ba hex color contains mainly BLUE.
The closest web safe color of #5040ba is #6633cc
#5040ba hex color has a decimal value of 5259450.
HEX | 5040ba | #5040ba |
---|---|---|
RGB | 80, 64, 186 | rgb(80, 64, 186) |
RGB Percent | 31.37, 25.1, 72.94 | rgb(31.37, 25.1, 72.94) |
CMYK | 57, 66, 0, 27 | |
HSL | 247.9°, 48.8, 49 | hsl(247.9, 48.8%, 49%) |
HSV | 247.9°, 65.6, 72.9 |
XYZ | 14.005, 8.917, 47.437 |
---|---|
Hunter Lab | 29.861, 31.459, -73.284 |
CIE-LAB | 35.824, 40.71, -62.266 |
CIE-LCH | 35.824, 74.393, 303.177 |
CIE-LUV | 56.99, 65.59, 0, 27.06 |
Web Safe | 6633cc |
RGB percent of color #5040ba
CMYK percent of color #5040ba
Text with hexadecimal color #5040ba
This text has a font color of #5040ba
<p style="color:#5040ba">Text here</p>
#5040ba Background Color
This box has a background color of #5040ba
<div style="background-color:#5040ba">Text here</div>
#5040ba Border Color
This box has a border color of #5040ba
<div style="border: 4px solid #5040ba">Text here</div>
CSS codes
<p style="color:#5040ba">Text here</p>
<div style="background-color:#5040ba">Text here</div>
<div style="border: 4px solid #5040ba">Text here</div>
#5040ba Color on white background
This is how a font and box color of #5040ba will look
on a white background.
#5040ba Color on black background
This is how a font and box color of #5040ba hex color will look
on a black background.