In RGB color space, #2f1f8c hex color has a red value of 47, a green value of 31 and a blue value of 140.
In CMYK color space (used in color printing), #2f1f8c hex color is composed of 66.43% cyan, 77.86% magenta, 0% yellow and 45.1% black.
#2f1f8c color has a hue of 248.8 degrees, a saturation of 63.74% and a lightness of 33.5%.
#2f1f8c hex color contains mainly BLUE.
The closest web safe color of #2f1f8c is #333399
#2f1f8c hex color has a decimal value of 3088268.
HEX | 2f1f8c | #2f1f8c |
---|---|---|
RGB | 47, 31, 140 | rgb(47, 31, 140) |
RGB Percent | 18.43, 12.16, 54.9 | rgb(18.43, 12.16, 54.9) |
CMYK | 66, 78, 0, 45 | |
HSL | 248.8°, 63.74, 33.5 | hsl(248.8, 63.74%, 33.5%) |
HSV | 248.8°, 77.9, 54.9 |
XYZ | 6.396, 3.478, 25.145 |
---|---|
Hunter Lab | 18.649, 28.582, -66.886 |
CIE-LAB | 21.865, 40.163, -57.421 |
CIE-LCH | 21.865, 70.073, 304.971 |
CIE-LUV | 66.43, 77.86, 0, 45.1 |
Web Safe | 333399 |
RGB percent of color #2f1f8c
CMYK percent of color #2f1f8c
Text with hexadecimal color #2f1f8c
This text has a font color of #2f1f8c
<p style="color:#2f1f8c">Text here</p>
#2f1f8c Background Color
This box has a background color of #2f1f8c
<div style="background-color:#2f1f8c">Text here</div>
#2f1f8c Border Color
This box has a border color of #2f1f8c
<div style="border: 4px solid #2f1f8c">Text here</div>
CSS codes
<p style="color:#2f1f8c">Text here</p>
<div style="background-color:#2f1f8c">Text here</div>
<div style="border: 4px solid #2f1f8c">Text here</div>
#2f1f8c Color on white background
This is how a font and box color of #2f1f8c will look
on a white background.
#2f1f8c Color on black background
This is how a font and box color of #2f1f8c hex color will look
on a black background.