In RGB color space, #4040a5 hex color has a red value of 64, a green value of 64 and a blue value of 165.
In CMYK color space (used in color printing), #4040a5 hex color is composed of 61.21% cyan, 61.21% magenta, 0% yellow and 35.29% black.
#4040a5 color has a hue of 240 degrees, a saturation of 44.1% and a lightness of 44.9%.
#4040a5 hex color contains mainly BLUE.
The closest web safe color of #4040a5 is #333399
#4040a5 hex color has a decimal value of 4210853.
HEX | 4040a5 | #4040a5 |
---|---|---|
RGB | 64, 64, 165 | rgb(64, 64, 165) |
RGB Percent | 25.1, 25.1, 64.71 | rgb(25.1, 25.1, 64.71) |
CMYK | 61, 61, 0, 35 | |
HSL | 240°, 44.1, 44.9 | hsl(240, 44.1%, 44.9%) |
HSV | 240°, 61.2, 64.7 |
XYZ | 10.739, 7.473, 36.474 |
---|---|
Hunter Lab | 27.337, 22.283, -59.972 |
CIE-LAB | 32.86, 31.115, -54.659 |
CIE-LCH | 32.86, 62.895, 299.651 |
CIE-LUV | 61.21, 61.21, 0, 35.29 |
Web Safe | 333399 |
RGB percent of color #4040a5
CMYK percent of color #4040a5
Text with hexadecimal color #4040a5
This text has a font color of #4040a5
<p style="color:#4040a5">Text here</p>
#4040a5 Background Color
This box has a background color of #4040a5
<div style="background-color:#4040a5">Text here</div>
#4040a5 Border Color
This box has a border color of #4040a5
<div style="border: 4px solid #4040a5">Text here</div>
CSS codes
<p style="color:#4040a5">Text here</p>
<div style="background-color:#4040a5">Text here</div>
<div style="border: 4px solid #4040a5">Text here</div>
#4040a5 Color on white background
This is how a font and box color of #4040a5 will look
on a white background.
#4040a5 Color on black background
This is how a font and box color of #4040a5 hex color will look
on a black background.