In RGB color space, #2040a2 hex color has a red value of 32, a green value of 64 and a blue value of 162.
In CMYK color space (used in color printing), #2040a2 hex color is composed of 80.25% cyan, 60.49% magenta, 0% yellow and 36.47% black.
#2040a2 color has a hue of 225.2 degrees, a saturation of 67.01% and a lightness of 38%.
#2040a2 hex color contains mainly BLUE.
The closest web safe color of #2040a2 is #333399
#2040a2 hex color has a decimal value of 2113698.
HEX | 2040a2 | #2040a2 |
---|---|---|
RGB | 32, 64, 162 | rgb(32, 64, 162) |
RGB Percent | 12.55, 25.1, 63.53 | rgb(12.55, 25.1, 63.53) |
CMYK | 80, 60, 0, 36 | |
HSL | 225.2°, 67.01, 38 | hsl(225.2, 67.01%, 38%) |
HSV | 225.2°, 80.2, 63.5 |
XYZ | 8.951, 6.583, 34.981 |
---|---|
Hunter Lab | 25.657, 17.372, -62.875 |
CIE-LAB | 30.838, 25.594, -56.224 |
CIE-LCH | 30.838, 61.775, 294.476 |
CIE-LUV | 80.25, 60.49, 0, 36.47 |
Web Safe | 333399 |
RGB percent of color #2040a2
CMYK percent of color #2040a2
Text with hexadecimal color #2040a2
This text has a font color of #2040a2
<p style="color:#2040a2">Text here</p>
#2040a2 Background Color
This box has a background color of #2040a2
<div style="background-color:#2040a2">Text here</div>
#2040a2 Border Color
This box has a border color of #2040a2
<div style="border: 4px solid #2040a2">Text here</div>
CSS codes
<p style="color:#2040a2">Text here</p>
<div style="background-color:#2040a2">Text here</div>
<div style="border: 4px solid #2040a2">Text here</div>
#2040a2 Color on white background
This is how a font and box color of #2040a2 will look
on a white background.
#2040a2 Color on black background
This is how a font and box color of #2040a2 hex color will look
on a black background.