In RGB color space, #2c1b9a hex color has a red value of 44, a green value of 27 and a blue value of 154.
In CMYK color space (used in color printing), #2c1b9a hex color is composed of 71.43% cyan, 82.47% magenta, 0% yellow and 39.61% black.
#2c1b9a color has a hue of 248 degrees, a saturation of 70.17% and a lightness of 35.5%.
#2c1b9a hex color contains mainly BLUE.
The closest web safe color of #2c1b9a is #333399
#2c1b9a hex color has a decimal value of 2890650.
HEX | 2c1b9a | #2c1b9a |
---|---|---|
RGB | 44, 27, 154 | rgb(44, 27, 154) |
RGB Percent | 17.25, 10.59, 60.39 | rgb(17.25, 10.59, 60.39) |
CMYK | 71, 82, 0, 40 | |
HSL | 248°, 70.17, 35.5 | hsl(248, 70.17%, 35.5%) |
HSV | 248°, 82.5, 60.4 |
XYZ | 7.263, 3.652, 30.894 |
---|---|
Hunter Lab | 19.11, 34.398, -82.472 |
CIE-LAB | 22.486, 46.288, -65.067 |
CIE-LCH | 22.486, 79.852, 305.428 |
CIE-LUV | 71.43, 82.47, 0, 39.61 |
Web Safe | 333399 |
RGB percent of color #2c1b9a
CMYK percent of color #2c1b9a
Text with hexadecimal color #2c1b9a
This text has a font color of #2c1b9a
<p style="color:#2c1b9a">Text here</p>
#2c1b9a Background Color
This box has a background color of #2c1b9a
<div style="background-color:#2c1b9a">Text here</div>
#2c1b9a Border Color
This box has a border color of #2c1b9a
<div style="border: 4px solid #2c1b9a">Text here</div>
CSS codes
<p style="color:#2c1b9a">Text here</p>
<div style="background-color:#2c1b9a">Text here</div>
<div style="border: 4px solid #2c1b9a">Text here</div>
#2c1b9a Color on white background
This is how a font and box color of #2c1b9a will look
on a white background.
#2c1b9a Color on black background
This is how a font and box color of #2c1b9a hex color will look
on a black background.