In RGB color space, #5040a4 hex color has a red value of 80, a green value of 64 and a blue value of 164.
In CMYK color space (used in color printing), #5040a4 hex color is composed of 51.22% cyan, 60.98% magenta, 0% yellow and 35.69% black.
#5040a4 color has a hue of 249.6 degrees, a saturation of 43.86% and a lightness of 44.7%.
#5040a4 hex color contains mainly BLUE.
The closest web safe color of #5040a4 is #663399
#5040a4 hex color has a decimal value of 5259428.
HEX | 5040a4 | #5040a4 |
---|---|---|
RGB | 80, 64, 164 | rgb(80, 64, 164) |
RGB Percent | 31.37, 25.1, 64.31 | rgb(31.37, 25.1, 64.31) |
CMYK | 51, 61, 0, 36 | |
HSL | 249.6°, 43.86, 44.7 | hsl(249.6, 43.86%, 44.7%) |
HSV | 249.6°, 61, 64.3 |
XYZ | 11.843, 8.053, 36.052 |
---|---|
Hunter Lab | 28.378, 24.833, -55.459 |
CIE-LAB | 34.093, 33.816, -51.996 |
CIE-LCH | 34.093, 62.025, 303.038 |
CIE-LUV | 51.22, 60.98, 0, 35.69 |
Web Safe | 663399 |
RGB percent of color #5040a4
CMYK percent of color #5040a4
Text with hexadecimal color #5040a4
This text has a font color of #5040a4
<p style="color:#5040a4">Text here</p>
#5040a4 Background Color
This box has a background color of #5040a4
<div style="background-color:#5040a4">Text here</div>
#5040a4 Border Color
This box has a border color of #5040a4
<div style="border: 4px solid #5040a4">Text here</div>
CSS codes
<p style="color:#5040a4">Text here</p>
<div style="background-color:#5040a4">Text here</div>
<div style="border: 4px solid #5040a4">Text here</div>
#5040a4 Color on white background
This is how a font and box color of #5040a4 will look
on a white background.
#5040a4 Color on black background
This is how a font and box color of #5040a4 hex color will look
on a black background.