In RGB color space, #2c21a2 hex color has a red value of 44, a green value of 33 and a blue value of 162.
In CMYK color space (used in color printing), #2c21a2 hex color is composed of 72.84% cyan, 79.63% magenta, 0% yellow and 36.47% black.
#2c21a2 color has a hue of 245.1 degrees, a saturation of 66.15% and a lightness of 38.2%.
#2c21a2 hex color contains mainly BLUE.
The closest web safe color of #2c21a2 is #333399
#2c21a2 hex color has a decimal value of 2892194.
HEX | 2c21a2 | #2c21a2 |
---|---|---|
RGB | 44, 33, 162 | rgb(44, 33, 162) |
RGB Percent | 17.25, 12.94, 63.53 | rgb(17.25, 12.94, 63.53) |
CMYK | 73, 80, 0, 36 | |
HSL | 245.1°, 66.15, 38.2 | hsl(245.1, 66.15%, 38.2%) |
HSV | 245.1°, 79.6, 63.5 |
XYZ | 8.104, 4.232, 34.572 |
---|---|
Hunter Lab | 20.572, 34.317, -85.24 |
CIE-LAB | 24.424, 45.826, -66.746 |
CIE-LCH | 24.424, 80.963, 304.472 |
CIE-LUV | 72.84, 79.63, 0, 36.47 |
Web Safe | 333399 |
RGB percent of color #2c21a2
CMYK percent of color #2c21a2
Text with hexadecimal color #2c21a2
This text has a font color of #2c21a2
<p style="color:#2c21a2">Text here</p>
#2c21a2 Background Color
This box has a background color of #2c21a2
<div style="background-color:#2c21a2">Text here</div>
#2c21a2 Border Color
This box has a border color of #2c21a2
<div style="border: 4px solid #2c21a2">Text here</div>
CSS codes
<p style="color:#2c21a2">Text here</p>
<div style="background-color:#2c21a2">Text here</div>
<div style="border: 4px solid #2c21a2">Text here</div>
#2c21a2 Color on white background
This is how a font and box color of #2c21a2 will look
on a white background.
#2c21a2 Color on black background
This is how a font and box color of #2c21a2 hex color will look
on a black background.