In RGB color space, #4040a8 hex color has a red value of 64, a green value of 64 and a blue value of 168.
In CMYK color space (used in color printing), #4040a8 hex color is composed of 61.9% cyan, 61.9% magenta, 0% yellow and 34.12% black.
#4040a8 color has a hue of 240 degrees, a saturation of 44.83% and a lightness of 45.5%.
#4040a8 hex color contains mainly BLUE.
The closest web safe color of #4040a8 is #333399
#4040a8 hex color has a decimal value of 4210856.
HEX | 4040a8 | #4040a8 |
---|---|---|
RGB | 64, 64, 168 | rgb(64, 64, 168) |
RGB Percent | 25.1, 25.1, 65.88 | rgb(25.1, 25.1, 65.88) |
CMYK | 62, 62, 0, 34 | |
HSL | 240°, 44.83, 45.5 | hsl(240, 44.83%, 45.5%) |
HSV | 240°, 61.9, 65.9 |
XYZ | 11.016, 7.584, 37.929 |
---|---|
Hunter Lab | 27.539, 23.209, -62.382 |
CIE-LAB | 33.101, 32.138, -56.067 |
CIE-LCH | 33.101, 64.625, 299.822 |
CIE-LUV | 61.9, 61.9, 0, 34.12 |
Web Safe | 333399 |
RGB percent of color #4040a8
CMYK percent of color #4040a8
Text with hexadecimal color #4040a8
This text has a font color of #4040a8
<p style="color:#4040a8">Text here</p>
#4040a8 Background Color
This box has a background color of #4040a8
<div style="background-color:#4040a8">Text here</div>
#4040a8 Border Color
This box has a border color of #4040a8
<div style="border: 4px solid #4040a8">Text here</div>
CSS codes
<p style="color:#4040a8">Text here</p>
<div style="background-color:#4040a8">Text here</div>
<div style="border: 4px solid #4040a8">Text here</div>
#4040a8 Color on white background
This is how a font and box color of #4040a8 will look
on a white background.
#4040a8 Color on black background
This is how a font and box color of #4040a8 hex color will look
on a black background.