In RGB color space, #4040b3 hex color has a red value of 64, a green value of 64 and a blue value of 179.
In CMYK color space (used in color printing), #4040b3 hex color is composed of 64.25% cyan, 64.25% magenta, 0% yellow and 29.8% black.
#4040b3 color has a hue of 240 degrees, a saturation of 47.33% and a lightness of 47.6%.
#4040b3 hex color contains mainly BLUE.
The closest web safe color of #4040b3 is #3333cc
#4040b3 hex color has a decimal value of 4210867.
HEX | 4040b3 | #4040b3 |
---|---|---|
RGB | 64, 64, 179 | rgb(64, 64, 179) |
RGB Percent | 25.1, 25.1, 70.2 | rgb(25.1, 25.1, 70.2) |
CMYK | 64, 64, 0, 30 | |
HSL | 240°, 47.33, 47.6 | hsl(240, 47.33%, 47.6%) |
HSV | 240°, 64.2, 70.2 |
XYZ | 12.084, 8.011, 43.557 |
---|---|
Hunter Lab | 28.304, 26.677, -71.43 |
CIE-LAB | 34.006, 35.875, -61.149 |
CIE-LCH | 34.006, 70.896, 300.399 |
CIE-LUV | 64.25, 64.25, 0, 29.8 |
Web Safe | 3333cc |
RGB percent of color #4040b3
CMYK percent of color #4040b3
Text with hexadecimal color #4040b3
This text has a font color of #4040b3
<p style="color:#4040b3">Text here</p>
#4040b3 Background Color
This box has a background color of #4040b3
<div style="background-color:#4040b3">Text here</div>
#4040b3 Border Color
This box has a border color of #4040b3
<div style="border: 4px solid #4040b3">Text here</div>
CSS codes
<p style="color:#4040b3">Text here</p>
<div style="background-color:#4040b3">Text here</div>
<div style="border: 4px solid #4040b3">Text here</div>
#4040b3 Color on white background
This is how a font and box color of #4040b3 will look
on a white background.
#4040b3 Color on black background
This is how a font and box color of #4040b3 hex color will look
on a black background.