In RGB color space, #2040a1 hex color has a red value of 32, a green value of 64 and a blue value of 161.
In CMYK color space (used in color printing), #2040a1 hex color is composed of 80.12% cyan, 60.25% magenta, 0% yellow and 36.86% black.
#2040a1 color has a hue of 225.1 degrees, a saturation of 66.84% and a lightness of 37.8%.
#2040a1 hex color contains mainly BLUE.
The closest web safe color of #2040a1 is #333399
#2040a1 hex color has a decimal value of 2113697.
HEX | 2040a1 | #2040a1 |
---|---|---|
RGB | 32, 64, 161 | rgb(32, 64, 161) |
RGB Percent | 12.55, 25.1, 63.14 | rgb(12.55, 25.1, 63.14) |
CMYK | 80, 60, 0, 37 | |
HSL | 225.1°, 66.84, 37.8 | hsl(225.1, 66.84%, 37.8%) |
HSV | 225.1°, 80.1, 63.1 |
XYZ | 8.862, 6.547, 34.515 |
---|---|
Hunter Lab | 25.587, 17.045, -62.067 |
CIE-LAB | 30.753, 25.206, -55.76 |
CIE-LCH | 30.753, 61.192, 294.325 |
CIE-LUV | 80.12, 60.25, 0, 36.86 |
Web Safe | 333399 |
RGB percent of color #2040a1
CMYK percent of color #2040a1
Text with hexadecimal color #2040a1
This text has a font color of #2040a1
<p style="color:#2040a1">Text here</p>
#2040a1 Background Color
This box has a background color of #2040a1
<div style="background-color:#2040a1">Text here</div>
#2040a1 Border Color
This box has a border color of #2040a1
<div style="border: 4px solid #2040a1">Text here</div>
CSS codes
<p style="color:#2040a1">Text here</p>
<div style="background-color:#2040a1">Text here</div>
<div style="border: 4px solid #2040a1">Text here</div>
#2040a1 Color on white background
This is how a font and box color of #2040a1 will look
on a white background.
#2040a1 Color on black background
This is how a font and box color of #2040a1 hex color will look
on a black background.