In RGB color space, #5040d4 hex color has a red value of 80, a green value of 64 and a blue value of 212.
In CMYK color space (used in color printing), #5040d4 hex color is composed of 62.26% cyan, 69.81% magenta, 0% yellow and 16.86% black.
#5040d4 color has a hue of 246.5 degrees, a saturation of 63.25% and a lightness of 54.1%.
#5040d4 hex color contains mainly BLUE.
The closest web safe color of #5040d4 is #6633cc
#5040d4 hex color has a decimal value of 5259476.
HEX | 5040d4 | #5040d4 |
---|---|---|
RGB | 80, 64, 212 | rgb(80, 64, 212) |
RGB Percent | 31.37, 25.1, 83.14 | rgb(31.37, 25.1, 83.14) |
CMYK | 62, 70, 0, 17 | |
HSL | 246.5°, 63.25, 54.1 | hsl(246.5, 63.25%, 54.1%) |
HSV | 246.5°, 69.8, 83.1 |
XYZ | 17.025, 10.126, 63.344 |
---|---|
Hunter Lab | 31.821, 39.813, -95.748 |
CIE-LAB | 38.068, 48.801, -73.74 |
CIE-LCH | 38.068, 88.426, 303.497 |
CIE-LUV | 62.26, 69.81, 0, 16.86 |
Web Safe | 6633cc |
RGB percent of color #5040d4
CMYK percent of color #5040d4
Text with hexadecimal color #5040d4
This text has a font color of #5040d4
<p style="color:#5040d4">Text here</p>
#5040d4 Background Color
This box has a background color of #5040d4
<div style="background-color:#5040d4">Text here</div>
#5040d4 Border Color
This box has a border color of #5040d4
<div style="border: 4px solid #5040d4">Text here</div>
CSS codes
<p style="color:#5040d4">Text here</p>
<div style="background-color:#5040d4">Text here</div>
<div style="border: 4px solid #5040d4">Text here</div>
#5040d4 Color on white background
This is how a font and box color of #5040d4 will look
on a white background.
#5040d4 Color on black background
This is how a font and box color of #5040d4 hex color will look
on a black background.