In RGB color space, #5040a1 hex color has a red value of 80, a green value of 64 and a blue value of 161.
In CMYK color space (used in color printing), #5040a1 hex color is composed of 50.31% cyan, 60.25% magenta, 0% yellow and 36.86% black.
#5040a1 color has a hue of 249.9 degrees, a saturation of 43.11% and a lightness of 44.1%.
#5040a1 hex color contains mainly BLUE.
The closest web safe color of #5040a1 is #663399
#5040a1 hex color has a decimal value of 5259425.
HEX | 5040a1 | #5040a1 |
---|---|---|
RGB | 80, 64, 161 | rgb(80, 64, 161) |
RGB Percent | 31.37, 25.1, 63.14 | rgb(31.37, 25.1, 63.14) |
CMYK | 50, 60, 0, 37 | |
HSL | 249.9°, 43.11, 44.1 | hsl(249.9, 43.11%, 44.1%) |
HSV | 249.9°, 60.2, 63.1 |
XYZ | 11.575, 7.945, 34.642 |
---|---|
Hunter Lab | 28.187, 23.974, -53.137 |
CIE-LAB | 33.868, 32.887, -50.556 |
CIE-LCH | 33.868, 60.311, 303.044 |
CIE-LUV | 50.31, 60.25, 0, 36.86 |
Web Safe | 663399 |
RGB percent of color #5040a1
CMYK percent of color #5040a1
Text with hexadecimal color #5040a1
This text has a font color of #5040a1
<p style="color:#5040a1">Text here</p>
#5040a1 Background Color
This box has a background color of #5040a1
<div style="background-color:#5040a1">Text here</div>
#5040a1 Border Color
This box has a border color of #5040a1
<div style="border: 4px solid #5040a1">Text here</div>
CSS codes
<p style="color:#5040a1">Text here</p>
<div style="background-color:#5040a1">Text here</div>
<div style="border: 4px solid #5040a1">Text here</div>
#5040a1 Color on white background
This is how a font and box color of #5040a1 will look
on a white background.
#5040a1 Color on black background
This is how a font and box color of #5040a1 hex color will look
on a black background.