In RGB color space, #2c1f80 hex color has a red value of 44, a green value of 31 and a blue value of 128.
In CMYK color space (used in color printing), #2c1f80 hex color is composed of 65.63% cyan, 75.78% magenta, 0% yellow and 49.8% black.
#2c1f80 color has a hue of 248 degrees, a saturation of 61.01% and a lightness of 31.2%.
#2c1f80 hex color contains mainly BLUE.
The closest web safe color of #2c1f80 is #333399
#2c1f80 hex color has a decimal value of 2891648.
HEX | 2c1f80 | #2c1f80 |
---|---|---|
RGB | 44, 31, 128 | rgb(44, 31, 128) |
RGB Percent | 17.25, 12.16, 50.2 | rgb(17.25, 12.16, 50.2) |
CMYK | 66, 76, 0, 50 | |
HSL | 248°, 61.01, 31.2 | hsl(248, 61.01%, 31.2%) |
HSV | 248°, 75.8, 50.2 |
XYZ | 5.425, 3.074, 20.729 |
---|---|
Hunter Lab | 17.533, 24.549, -57.825 |
CIE-LAB | 20.338, 35.883, -52.403 |
CIE-LCH | 20.338, 63.511, 304.401 |
CIE-LUV | 65.63, 75.78, 0, 49.8 |
Web Safe | 333399 |
RGB percent of color #2c1f80
CMYK percent of color #2c1f80
Text with hexadecimal color #2c1f80
This text has a font color of #2c1f80
<p style="color:#2c1f80">Text here</p>
#2c1f80 Background Color
This box has a background color of #2c1f80
<div style="background-color:#2c1f80">Text here</div>
#2c1f80 Border Color
This box has a border color of #2c1f80
<div style="border: 4px solid #2c1f80">Text here</div>
CSS codes
<p style="color:#2c1f80">Text here</p>
<div style="background-color:#2c1f80">Text here</div>
<div style="border: 4px solid #2c1f80">Text here</div>
#2c1f80 Color on white background
This is how a font and box color of #2c1f80 will look
on a white background.
#2c1f80 Color on black background
This is how a font and box color of #2c1f80 hex color will look
on a black background.