In RGB color space, #2f2166 hex color has a red value of 47, a green value of 33 and a blue value of 102.
In CMYK color space (used in color printing), #2f2166 hex color is composed of 53.92% cyan, 67.65% magenta, 0% yellow and 60% black.
#2f2166 color has a hue of 252.2 degrees, a saturation of 51.11% and a lightness of 26.5%.
#2f2166 hex color contains mainly BLUE.
The closest web safe color of #2f2166 is #333366
#2f2166 hex color has a decimal value of 3088742.
HEX | 2f2166 | #2f2166 |
---|---|---|
RGB | 47, 33, 102 | rgb(47, 33, 102) |
RGB Percent | 18.43, 12.94, 40 | rgb(18.43, 12.94, 40) |
CMYK | 54, 68, 0, 60 | |
HSL | 252.2°, 51.11, 26.5 | hsl(252.2, 51.11%, 26.5%) |
HSV | 252.2°, 67.6, 40 |
XYZ | 4.114, 2.651, 12.865 |
---|---|
Hunter Lab | 16.282, 16.609, -35.45 |
CIE-LAB | 18.588, 26.467, -38.505 |
CIE-LCH | 18.588, 46.724, 304.503 |
CIE-LUV | 53.92, 67.65, 0, 60 |
Web Safe | 333366 |
RGB percent of color #2f2166
CMYK percent of color #2f2166
Text with hexadecimal color #2f2166
This text has a font color of #2f2166
<p style="color:#2f2166">Text here</p>
#2f2166 Background Color
This box has a background color of #2f2166
<div style="background-color:#2f2166">Text here</div>
#2f2166 Border Color
This box has a border color of #2f2166
<div style="border: 4px solid #2f2166">Text here</div>
CSS codes
<p style="color:#2f2166">Text here</p>
<div style="background-color:#2f2166">Text here</div>
<div style="border: 4px solid #2f2166">Text here</div>
#2f2166 Color on white background
This is how a font and box color of #2f2166 will look
on a white background.
#2f2166 Color on black background
This is how a font and box color of #2f2166 hex color will look
on a black background.