In RGB color space, #2c1c40 hex color has a red value of 44, a green value of 28 and a blue value of 64.
In CMYK color space (used in color printing), #2c1c40 hex color is composed of 31.25% cyan, 56.25% magenta, 0% yellow and 74.9% black.
#2c1c40 color has a hue of 266.7 degrees, a saturation of 39.13% and a lightness of 18%.
#2c1c40 hex color contains mainly BLUE.
The closest web safe color of #2c1c40 is #333333
#2c1c40 hex color has a decimal value of 2890816.
HEX | 2c1c40 | #2c1c40 |
---|---|---|
RGB | 44, 28, 64 | rgb(44, 28, 64) |
RGB Percent | 17.25, 10.98, 25.1 | rgb(17.25, 10.98, 25.1) |
CMYK | 31, 56, 0, 75 | |
HSL | 266.7°, 39.13, 18 | hsl(266.7, 39.13%, 18%) |
HSV | 266.7°, 56.3, 25.1 |
XYZ | 2.379, 1.736, 5.06 |
---|---|
Hunter Lab | 13.176, 9.172, -13.547 |
CIE-LAB | 14.036, 16.794, -20.119 |
CIE-LCH | 14.036, 26.207, 309.853 |
CIE-LUV | 31.25, 56.25, 0, 74.9 |
Web Safe | 333333 |
RGB percent of color #2c1c40
CMYK percent of color #2c1c40
Text with hexadecimal color #2c1c40
This text has a font color of #2c1c40
<p style="color:#2c1c40">Text here</p>
#2c1c40 Background Color
This box has a background color of #2c1c40
<div style="background-color:#2c1c40">Text here</div>
#2c1c40 Border Color
This box has a border color of #2c1c40
<div style="border: 4px solid #2c1c40">Text here</div>
CSS codes
<p style="color:#2c1c40">Text here</p>
<div style="background-color:#2c1c40">Text here</div>
<div style="border: 4px solid #2c1c40">Text here</div>
#2c1c40 Color on white background
This is how a font and box color of #2c1c40 will look
on a white background.
#2c1c40 Color on black background
This is how a font and box color of #2c1c40 hex color will look
on a black background.