In RGB color space, #4040b5 hex color has a red value of 64, a green value of 64 and a blue value of 181.
In CMYK color space (used in color printing), #4040b5 hex color is composed of 64.64% cyan, 64.64% magenta, 0% yellow and 29.02% black.
#4040b5 color has a hue of 240 degrees, a saturation of 47.76% and a lightness of 48%.
#4040b5 hex color contains mainly BLUE.
The closest web safe color of #4040b5 is #3333cc
#4040b5 hex color has a decimal value of 4210869.
HEX | 4040b5 | #4040b5 |
---|---|---|
RGB | 64, 64, 181 | rgb(64, 64, 181) |
RGB Percent | 25.1, 25.1, 70.98 | rgb(25.1, 25.1, 70.98) |
CMYK | 65, 65, 0, 29 | |
HSL | 240°, 47.76, 48 | hsl(240, 47.76%, 48%) |
HSV | 240°, 64.6, 71 |
XYZ | 12.288, 8.093, 44.631 |
---|---|
Hunter Lab | 28.448, 27.317, -73.103 |
CIE-LAB | 34.176, 36.548, -62.057 |
CIE-LCH | 34.176, 72.02, 300.496 |
CIE-LUV | 64.64, 64.64, 0, 29.02 |
Web Safe | 3333cc |
RGB percent of color #4040b5
CMYK percent of color #4040b5
Text with hexadecimal color #4040b5
This text has a font color of #4040b5
<p style="color:#4040b5">Text here</p>
#4040b5 Background Color
This box has a background color of #4040b5
<div style="background-color:#4040b5">Text here</div>
#4040b5 Border Color
This box has a border color of #4040b5
<div style="border: 4px solid #4040b5">Text here</div>
CSS codes
<p style="color:#4040b5">Text here</p>
<div style="background-color:#4040b5">Text here</div>
<div style="border: 4px solid #4040b5">Text here</div>
#4040b5 Color on white background
This is how a font and box color of #4040b5 will look
on a white background.
#4040b5 Color on black background
This is how a font and box color of #4040b5 hex color will look
on a black background.