In RGB color space, #2c1f5b hex color has a red value of 44, a green value of 31 and a blue value of 91.
In CMYK color space (used in color printing), #2c1f5b hex color is composed of 51.65% cyan, 65.93% magenta, 0% yellow and 64.31% black.
#2c1f5b color has a hue of 253 degrees, a saturation of 49.18% and a lightness of 23.9%.
#2c1f5b hex color contains mainly BLUE.
The closest web safe color of #2c1f5b is #333366
#2c1f5b hex color has a decimal value of 2891611.
HEX | 2c1f5b | #2c1f5b |
---|---|---|
RGB | 44, 31, 91 | rgb(44, 31, 91) |
RGB Percent | 17.25, 12.16, 35.69 | rgb(17.25, 12.16, 35.69) |
CMYK | 52, 66, 0, 64 | |
HSL | 253°, 49.18, 23.9 | hsl(253, 49.18%, 23.9%) |
HSV | 253°, 65.9, 35.7 |
XYZ | 3.417, 2.271, 10.156 |
---|---|
Hunter Lab | 15.07, 14.102, -29.408 |
CIE-LAB | 16.85, 23.428, -34.065 |
CIE-LCH | 16.85, 41.344, 304.518 |
CIE-LUV | 51.65, 65.93, 0, 64.31 |
Web Safe | 333366 |
RGB percent of color #2c1f5b
CMYK percent of color #2c1f5b
Text with hexadecimal color #2c1f5b
This text has a font color of #2c1f5b
<p style="color:#2c1f5b">Text here</p>
#2c1f5b Background Color
This box has a background color of #2c1f5b
<div style="background-color:#2c1f5b">Text here</div>
#2c1f5b Border Color
This box has a border color of #2c1f5b
<div style="border: 4px solid #2c1f5b">Text here</div>
CSS codes
<p style="color:#2c1f5b">Text here</p>
<div style="background-color:#2c1f5b">Text here</div>
<div style="border: 4px solid #2c1f5b">Text here</div>
#2c1f5b Color on white background
This is how a font and box color of #2c1f5b will look
on a white background.
#2c1f5b Color on black background
This is how a font and box color of #2c1f5b hex color will look
on a black background.