In RGB color space, #2c21a6 hex color has a red value of 44, a green value of 33 and a blue value of 166.
In CMYK color space (used in color printing), #2c21a6 hex color is composed of 73.49% cyan, 80.12% magenta, 0% yellow and 34.9% black.
#2c21a6 color has a hue of 245 degrees, a saturation of 66.83% and a lightness of 39%.
#2c21a6 hex color contains mainly BLUE.
The closest web safe color of #2c21a6 is #333399
#2c21a6 hex color has a decimal value of 2892198.
HEX | 2c21a6 | #2c21a6 |
---|---|---|
RGB | 44, 33, 166 | rgb(44, 33, 166) |
RGB Percent | 17.25, 12.94, 65.1 | rgb(17.25, 12.94, 65.1) |
CMYK | 73, 80, 0, 35 | |
HSL | 245°, 66.83, 39 | hsl(245, 66.83%, 39%) |
HSV | 245°, 80.1, 65.1 |
XYZ | 8.465, 4.376, 36.475 |
---|---|
Hunter Lab | 20.919, 35.623, -88.737 |
CIE-LAB | 24.877, 47.093, -68.424 |
CIE-LCH | 24.877, 83.064, 304.538 |
CIE-LUV | 73.49, 80.12, 0, 34.9 |
Web Safe | 333399 |
RGB percent of color #2c21a6
CMYK percent of color #2c21a6
Text with hexadecimal color #2c21a6
This text has a font color of #2c21a6
<p style="color:#2c21a6">Text here</p>
#2c21a6 Background Color
This box has a background color of #2c21a6
<div style="background-color:#2c21a6">Text here</div>
#2c21a6 Border Color
This box has a border color of #2c21a6
<div style="border: 4px solid #2c21a6">Text here</div>
CSS codes
<p style="color:#2c21a6">Text here</p>
<div style="background-color:#2c21a6">Text here</div>
<div style="border: 4px solid #2c21a6">Text here</div>
#2c21a6 Color on white background
This is how a font and box color of #2c21a6 will look
on a white background.
#2c21a6 Color on black background
This is how a font and box color of #2c21a6 hex color will look
on a black background.