In RGB color space, #4040b8 hex color has a red value of 64, a green value of 64 and a blue value of 184.
In CMYK color space (used in color printing), #4040b8 hex color is composed of 65.22% cyan, 65.22% magenta, 0% yellow and 27.84% black.
#4040b8 color has a hue of 240 degrees, a saturation of 48.39% and a lightness of 48.6%.
#4040b8 hex color contains mainly BLUE.
The closest web safe color of #4040b8 is #3333cc
#4040b8 hex color has a decimal value of 4210872.
HEX | 4040b8 | #4040b8 |
---|---|---|
RGB | 64, 64, 184 | rgb(64, 64, 184) |
RGB Percent | 25.1, 25.1, 72.16 | rgb(25.1, 25.1, 72.16) |
CMYK | 65, 65, 0, 28 | |
HSL | 240°, 48.39, 48.6 | hsl(240, 48.39%, 48.6%) |
HSV | 240°, 65.2, 72.2 |
XYZ | 12.599, 8.217, 46.269 |
---|---|
Hunter Lab | 28.665, 28.29, -75.635 |
CIE-LAB | 34.431, 37.565, -63.413 |
CIE-LCH | 34.431, 73.704, 300.642 |
CIE-LUV | 65.22, 65.22, 0, 27.84 |
Web Safe | 3333cc |
RGB percent of color #4040b8
CMYK percent of color #4040b8
Text with hexadecimal color #4040b8
This text has a font color of #4040b8
<p style="color:#4040b8">Text here</p>
#4040b8 Background Color
This box has a background color of #4040b8
<div style="background-color:#4040b8">Text here</div>
#4040b8 Border Color
This box has a border color of #4040b8
<div style="border: 4px solid #4040b8">Text here</div>
CSS codes
<p style="color:#4040b8">Text here</p>
<div style="background-color:#4040b8">Text here</div>
<div style="border: 4px solid #4040b8">Text here</div>
#4040b8 Color on white background
This is how a font and box color of #4040b8 will look
on a white background.
#4040b8 Color on black background
This is how a font and box color of #4040b8 hex color will look
on a black background.