In RGB color space, #2040ab hex color has a red value of 32, a green value of 64 and a blue value of 171.
In CMYK color space (used in color printing), #2040ab hex color is composed of 81.29% cyan, 62.57% magenta, 0% yellow and 32.94% black.
#2040ab color has a hue of 226.2 degrees, a saturation of 68.47% and a lightness of 39.8%.
#2040ab hex color contains mainly BLUE.
The closest web safe color of #2040ab is #333399
#2040ab hex color has a decimal value of 2113707.
HEX | 2040ab | #2040ab |
---|---|---|
RGB | 32, 64, 171 | rgb(32, 64, 171) |
RGB Percent | 12.55, 25.1, 67.06 | rgb(12.55, 25.1, 67.06) |
CMYK | 81, 63, 0, 33 | |
HSL | 226.2°, 68.47, 39.8 | hsl(226.2, 68.47%, 39.8%) |
HSV | 226.2°, 81.3, 67.1 |
XYZ | 9.78, 6.914, 39.347 |
---|---|
Hunter Lab | 26.294, 20.376, -70.315 |
CIE-LAB | 31.61, 29.082, -60.369 |
CIE-LCH | 31.61, 67.009, 295.722 |
CIE-LUV | 81.29, 62.57, 0, 32.94 |
Web Safe | 333399 |
RGB percent of color #2040ab
CMYK percent of color #2040ab
Text with hexadecimal color #2040ab
This text has a font color of #2040ab
<p style="color:#2040ab">Text here</p>
#2040ab Background Color
This box has a background color of #2040ab
<div style="background-color:#2040ab">Text here</div>
#2040ab Border Color
This box has a border color of #2040ab
<div style="border: 4px solid #2040ab">Text here</div>
CSS codes
<p style="color:#2040ab">Text here</p>
<div style="background-color:#2040ab">Text here</div>
<div style="border: 4px solid #2040ab">Text here</div>
#2040ab Color on white background
This is how a font and box color of #2040ab will look
on a white background.
#2040ab Color on black background
This is how a font and box color of #2040ab hex color will look
on a black background.