In RGB color space, #2c1f40 hex color has a red value of 44, a green value of 31 and a blue value of 64.
In CMYK color space (used in color printing), #2c1f40 hex color is composed of 31.25% cyan, 51.56% magenta, 0% yellow and 74.9% black.
#2c1f40 color has a hue of 263.6 degrees, a saturation of 34.74% and a lightness of 18.6%.
#2c1f40 hex color contains mainly BLUE.
The closest web safe color of #2c1f40 is #333333
#2c1f40 hex color has a decimal value of 2891584.
HEX | 2c1f40 | #2c1f40 |
---|---|---|
RGB | 44, 31, 64 | rgb(44, 31, 64) |
RGB Percent | 17.25, 12.16, 25.1 | rgb(17.25, 12.16, 25.1) |
CMYK | 31, 52, 0, 75 | |
HSL | 263.6°, 34.74, 18.6 | hsl(263.6, 34.74%, 18.6%) |
HSV | 263.6°, 51.6, 25.1 |
XYZ | 2.454, 1.886, 5.085 |
---|---|
Hunter Lab | 13.733, 7.863, -12.34 |
CIE-LAB | 14.877, 14.688, -18.787 |
CIE-LCH | 14.877, 23.847, 308.019 |
CIE-LUV | 31.25, 51.56, 0, 74.9 |
Web Safe | 333333 |
RGB percent of color #2c1f40
CMYK percent of color #2c1f40
Text with hexadecimal color #2c1f40
This text has a font color of #2c1f40
<p style="color:#2c1f40">Text here</p>
#2c1f40 Background Color
This box has a background color of #2c1f40
<div style="background-color:#2c1f40">Text here</div>
#2c1f40 Border Color
This box has a border color of #2c1f40
<div style="border: 4px solid #2c1f40">Text here</div>
CSS codes
<p style="color:#2c1f40">Text here</p>
<div style="background-color:#2c1f40">Text here</div>
<div style="border: 4px solid #2c1f40">Text here</div>
#2c1f40 Color on white background
This is how a font and box color of #2c1f40 will look
on a white background.
#2c1f40 Color on black background
This is how a font and box color of #2c1f40 hex color will look
on a black background.