In RGB color space, #2f1fab hex color has a red value of 47, a green value of 31 and a blue value of 171.
In CMYK color space (used in color printing), #2f1fab hex color is composed of 72.51% cyan, 81.87% magenta, 0% yellow and 32.94% black.
#2f1fab color has a hue of 246.9 degrees, a saturation of 69.31% and a lightness of 39.6%.
#2f1fab hex color contains mainly BLUE.
The closest web safe color of #2f1fab is #333399
#2f1fab hex color has a decimal value of 3088299.
HEX | 2f1fab | #2f1fab |
---|---|---|
RGB | 47, 31, 171 | rgb(47, 31, 171) |
RGB Percent | 18.43, 12.16, 67.06 | rgb(18.43, 12.16, 67.06) |
CMYK | 73, 82, 0, 33 | |
HSL | 246.9°, 69.31, 39.6 | hsl(246.9, 69.31%, 39.6%) |
HSV | 246.9°, 81.9, 67.1 |
XYZ | 9.013, 4.525, 38.926 |
---|---|
Hunter Lab | 21.272, 38.405, -93.605 |
CIE-LAB | 25.336, 49.833, -70.677 |
CIE-LCH | 25.336, 86.479, 305.187 |
CIE-LUV | 72.51, 81.87, 0, 32.94 |
Web Safe | 333399 |
RGB percent of color #2f1fab
CMYK percent of color #2f1fab
Text with hexadecimal color #2f1fab
This text has a font color of #2f1fab
<p style="color:#2f1fab">Text here</p>
#2f1fab Background Color
This box has a background color of #2f1fab
<div style="background-color:#2f1fab">Text here</div>
#2f1fab Border Color
This box has a border color of #2f1fab
<div style="border: 4px solid #2f1fab">Text here</div>
CSS codes
<p style="color:#2f1fab">Text here</p>
<div style="background-color:#2f1fab">Text here</div>
<div style="border: 4px solid #2f1fab">Text here</div>
#2f1fab Color on white background
This is how a font and box color of #2f1fab will look
on a white background.
#2f1fab Color on black background
This is how a font and box color of #2f1fab hex color will look
on a black background.