In RGB color space, #4040b0 hex color has a red value of 64, a green value of 64 and a blue value of 176.
In CMYK color space (used in color printing), #4040b0 hex color is composed of 63.64% cyan, 63.64% magenta, 0% yellow and 30.98% black.
#4040b0 color has a hue of 240 degrees, a saturation of 46.67% and a lightness of 47.1%.
#4040b0 hex color contains mainly BLUE.
The closest web safe color of #4040b0 is #333399
#4040b0 hex color has a decimal value of 4210864.
HEX | 4040b0 | #4040b0 |
---|---|---|
RGB | 64, 64, 176 | rgb(64, 64, 176) |
RGB Percent | 25.1, 25.1, 69.02 | rgb(25.1, 25.1, 69.02) |
CMYK | 64, 64, 0, 31 | |
HSL | 240°, 46.67, 47.1 | hsl(240, 46.67%, 47.1%) |
HSV | 240°, 63.6, 69 |
XYZ | 11.784, 7.891, 41.976 |
---|---|
Hunter Lab | 28.091, 25.721, -68.933 |
CIE-LAB | 33.755, 34.858, -59.776 |
CIE-LCH | 33.755, 69.197, 300.248 |
CIE-LUV | 63.64, 63.64, 0, 30.98 |
Web Safe | 333399 |
RGB percent of color #4040b0
CMYK percent of color #4040b0
Text with hexadecimal color #4040b0
This text has a font color of #4040b0
<p style="color:#4040b0">Text here</p>
#4040b0 Background Color
This box has a background color of #4040b0
<div style="background-color:#4040b0">Text here</div>
#4040b0 Border Color
This box has a border color of #4040b0
<div style="border: 4px solid #4040b0">Text here</div>
CSS codes
<p style="color:#4040b0">Text here</p>
<div style="background-color:#4040b0">Text here</div>
<div style="border: 4px solid #4040b0">Text here</div>
#4040b0 Color on white background
This is how a font and box color of #4040b0 will look
on a white background.
#4040b0 Color on black background
This is how a font and box color of #4040b0 hex color will look
on a black background.