In RGB color space, #2c1f7d hex color has a red value of 44, a green value of 31 and a blue value of 125.
In CMYK color space (used in color printing), #2c1f7d hex color is composed of 64.8% cyan, 75.2% magenta, 0% yellow and 50.98% black.
#2c1f7d color has a hue of 248.3 degrees, a saturation of 60.26% and a lightness of 30.6%.
#2c1f7d hex color contains mainly BLUE.
The closest web safe color of #2c1f7d is #333366
#2c1f7d hex color has a decimal value of 2891645.
HEX | 2c1f7d | #2c1f7d |
---|---|---|
RGB | 44, 31, 125 | rgb(44, 31, 125) |
RGB Percent | 17.25, 12.16, 49.02 | rgb(17.25, 12.16, 49.02) |
CMYK | 65, 75, 0, 51 | |
HSL | 248.3°, 60.26, 30.6 | hsl(248.3, 60.26%, 30.6%) |
HSV | 248.3°, 75.2, 49 |
XYZ | 5.23, 2.996, 19.705 |
---|---|
Hunter Lab | 17.309, 23.644, -55.381 |
CIE-LAB | 20.028, 34.884, -51.011 |
CIE-LCH | 20.028, 61.798, 304.366 |
CIE-LUV | 64.8, 75.2, 0, 50.98 |
Web Safe | 333366 |
RGB percent of color #2c1f7d
CMYK percent of color #2c1f7d
Text with hexadecimal color #2c1f7d
This text has a font color of #2c1f7d
<p style="color:#2c1f7d">Text here</p>
#2c1f7d Background Color
This box has a background color of #2c1f7d
<div style="background-color:#2c1f7d">Text here</div>
#2c1f7d Border Color
This box has a border color of #2c1f7d
<div style="border: 4px solid #2c1f7d">Text here</div>
CSS codes
<p style="color:#2c1f7d">Text here</p>
<div style="background-color:#2c1f7d">Text here</div>
<div style="border: 4px solid #2c1f7d">Text here</div>
#2c1f7d Color on white background
This is how a font and box color of #2c1f7d will look
on a white background.
#2c1f7d Color on black background
This is how a font and box color of #2c1f7d hex color will look
on a black background.