In RGB color space, #4040a2 hex color has a red value of 64, a green value of 64 and a blue value of 162.
In CMYK color space (used in color printing), #4040a2 hex color is composed of 60.49% cyan, 60.49% magenta, 0% yellow and 36.47% black.
#4040a2 color has a hue of 240 degrees, a saturation of 43.36% and a lightness of 44.3%.
#4040a2 hex color contains mainly BLUE.
The closest web safe color of #4040a2 is #333399
#4040a2 hex color has a decimal value of 4210850.
HEX | 4040a2 | #4040a2 |
---|---|---|
RGB | 64, 64, 162 | rgb(64, 64, 162) |
RGB Percent | 25.1, 25.1, 63.53 | rgb(25.1, 25.1, 63.53) |
CMYK | 60, 60, 0, 36 | |
HSL | 240°, 43.36, 44.3 | hsl(240, 43.36%, 44.3%) |
HSV | 240°, 60.5, 63.5 |
XYZ | 10.469, 7.365, 35.052 |
---|---|
Hunter Lab | 27.139, 21.366, -57.582 |
CIE-LAB | 32.624, 30.091, -53.237 |
CIE-LCH | 32.624, 61.153, 299.476 |
CIE-LUV | 60.49, 60.49, 0, 36.47 |
Web Safe | 333399 |
RGB percent of color #4040a2
CMYK percent of color #4040a2
Text with hexadecimal color #4040a2
This text has a font color of #4040a2
<p style="color:#4040a2">Text here</p>
#4040a2 Background Color
This box has a background color of #4040a2
<div style="background-color:#4040a2">Text here</div>
#4040a2 Border Color
This box has a border color of #4040a2
<div style="border: 4px solid #4040a2">Text here</div>
CSS codes
<p style="color:#4040a2">Text here</p>
<div style="background-color:#4040a2">Text here</div>
<div style="border: 4px solid #4040a2">Text here</div>
#4040a2 Color on white background
This is how a font and box color of #4040a2 will look
on a white background.
#4040a2 Color on black background
This is how a font and box color of #4040a2 hex color will look
on a black background.