In RGB color space, #2d21ac hex color has a red value of 45, a green value of 33 and a blue value of 172.
In CMYK color space (used in color printing), #2d21ac hex color is composed of 73.84% cyan, 80.81% magenta, 0% yellow and 32.55% black.
#2d21ac color has a hue of 245.2 degrees, a saturation of 67.8% and a lightness of 40.2%.
#2d21ac hex color contains mainly BLUE.
The closest web safe color of #2d21ac is #333399
#2d21ac hex color has a decimal value of 2957740.
HEX | 2d21ac | #2d21ac |
---|---|---|
RGB | 45, 33, 172 | rgb(45, 33, 172) |
RGB Percent | 17.65, 12.94, 67.45 | rgb(17.65, 12.94, 67.45) |
CMYK | 74, 81, 0, 33 | |
HSL | 245.2°, 67.8, 40.2 | hsl(245.2, 67.8%, 40.2%) |
HSV | 245.2°, 80.8, 67.5 |
XYZ | 9.072, 4.624, 39.444 |
---|---|
Hunter Lab | 21.503, 37.675, -93.704 |
CIE-LAB | 25.636, 49.039, -70.788 |
CIE-LCH | 25.636, 86.115, 304.713 |
CIE-LUV | 73.84, 80.81, 0, 32.55 |
Web Safe | 333399 |
RGB percent of color #2d21ac
CMYK percent of color #2d21ac
Text with hexadecimal color #2d21ac
This text has a font color of #2d21ac
<p style="color:#2d21ac">Text here</p>
#2d21ac Background Color
This box has a background color of #2d21ac
<div style="background-color:#2d21ac">Text here</div>
#2d21ac Border Color
This box has a border color of #2d21ac
<div style="border: 4px solid #2d21ac">Text here</div>
CSS codes
<p style="color:#2d21ac">Text here</p>
<div style="background-color:#2d21ac">Text here</div>
<div style="border: 4px solid #2d21ac">Text here</div>
#2d21ac Color on white background
This is how a font and box color of #2d21ac will look
on a white background.
#2d21ac Color on black background
This is how a font and box color of #2d21ac hex color will look
on a black background.