In RGB color space, #2040b4 hex color has a red value of 32, a green value of 64 and a blue value of 180.
In CMYK color space (used in color printing), #2040b4 hex color is composed of 82.22% cyan, 64.44% magenta, 0% yellow and 29.41% black.
#2040b4 color has a hue of 227 degrees, a saturation of 69.81% and a lightness of 41.6%.
#2040b4 hex color contains mainly BLUE.
The closest web safe color of #2040b4 is #3333cc
#2040b4 hex color has a decimal value of 2113716.
HEX | 2040b4 | #2040b4 |
---|---|---|
RGB | 32, 64, 180 | rgb(32, 64, 180) |
RGB Percent | 12.55, 25.1, 70.59 | rgb(12.55, 25.1, 70.59) |
CMYK | 82, 64, 0, 29 | |
HSL | 227°, 69.81, 41.6 | hsl(227, 69.81%, 41.6%) |
HSV | 227°, 82.2, 70.6 |
XYZ | 10.667, 7.269, 44.021 |
---|---|
Hunter Lab | 26.961, 23.441, -77.934 |
CIE-LAB | 32.412, 32.507, -64.419 |
CIE-LCH | 32.412, 72.156, 296.776 |
CIE-LUV | 82.22, 64.44, 0, 29.41 |
Web Safe | 3333cc |
RGB percent of color #2040b4
CMYK percent of color #2040b4
Text with hexadecimal color #2040b4
This text has a font color of #2040b4
<p style="color:#2040b4">Text here</p>
#2040b4 Background Color
This box has a background color of #2040b4
<div style="background-color:#2040b4">Text here</div>
#2040b4 Border Color
This box has a border color of #2040b4
<div style="border: 4px solid #2040b4">Text here</div>
CSS codes
<p style="color:#2040b4">Text here</p>
<div style="background-color:#2040b4">Text here</div>
<div style="border: 4px solid #2040b4">Text here</div>
#2040b4 Color on white background
This is how a font and box color of #2040b4 will look
on a white background.
#2040b4 Color on black background
This is how a font and box color of #2040b4 hex color will look
on a black background.