In RGB color space, #4042a7 hex color has a red value of 64, a green value of 66 and a blue value of 167.
In CMYK color space (used in color printing), #4042a7 hex color is composed of 61.68% cyan, 60.48% magenta, 0% yellow and 34.51% black.
#4042a7 color has a hue of 238.8 degrees, a saturation of 44.59% and a lightness of 45.3%.
#4042a7 hex color contains mainly BLUE.
The closest web safe color of #4042a7 is #333399
#4042a7 hex color has a decimal value of 4211367.
HEX | 4042a7 | #4042a7 |
---|---|---|
RGB | 64, 66, 167 | rgb(64, 66, 167) |
RGB Percent | 25.1, 25.88, 65.49 | rgb(25.1, 25.88, 65.49) |
CMYK | 62, 60, 0, 35 | |
HSL | 238.8°, 44.59, 45.3 | hsl(238.8, 44.59%, 45.3%) |
HSV | 238.8°, 61.7, 65.5 |
XYZ | 11.038, 7.776, 37.478 |
---|---|
Hunter Lab | 27.885, 21.857, -60.166 |
CIE-LAB | 33.512, 30.529, -54.798 |
CIE-LCH | 33.512, 62.728, 299.123 |
CIE-LUV | 61.68, 60.48, 0, 34.51 |
Web Safe | 333399 |
RGB percent of color #4042a7
CMYK percent of color #4042a7
Text with hexadecimal color #4042a7
This text has a font color of #4042a7
<p style="color:#4042a7">Text here</p>
#4042a7 Background Color
This box has a background color of #4042a7
<div style="background-color:#4042a7">Text here</div>
#4042a7 Border Color
This box has a border color of #4042a7
<div style="border: 4px solid #4042a7">Text here</div>
CSS codes
<p style="color:#4042a7">Text here</p>
<div style="background-color:#4042a7">Text here</div>
<div style="border: 4px solid #4042a7">Text here</div>
#4042a7 Color on white background
This is how a font and box color of #4042a7 will look
on a white background.
#4042a7 Color on black background
This is how a font and box color of #4042a7 hex color will look
on a black background.