In RGB color space, #2f2557 hex color has a red value of 47, a green value of 37 and a blue value of 87.
In CMYK color space (used in color printing), #2f2557 hex color is composed of 45.98% cyan, 57.47% magenta, 0% yellow and 65.88% black.
#2f2557 color has a hue of 252 degrees, a saturation of 40.32% and a lightness of 24.3%.
#2f2557 hex color contains mainly BLUE.
The closest web safe color of #2f2557 is #333366
#2f2557 hex color has a decimal value of 3089751.
HEX | 2f2557 | #2f2557 |
---|---|---|
RGB | 47, 37, 87 | rgb(47, 37, 87) |
RGB Percent | 18.43, 14.51, 34.12 | rgb(18.43, 14.51, 34.12) |
CMYK | 46, 57, 0, 66 | |
HSL | 252°, 40.32, 24.3 | hsl(252, 40.32%, 24.3%) |
HSV | 252°, 57.5, 34.1 |
XYZ | 3.554, 2.616, 9.334 |
---|---|
Hunter Lab | 16.174, 10.918, -22.894 |
CIE-LAB | 18.435, 18.769, -28.815 |
CIE-LCH | 18.435, 34.389, 303.079 |
CIE-LUV | 45.98, 57.47, 0, 65.88 |
Web Safe | 333366 |
RGB percent of color #2f2557
CMYK percent of color #2f2557
Text with hexadecimal color #2f2557
This text has a font color of #2f2557
<p style="color:#2f2557">Text here</p>
#2f2557 Background Color
This box has a background color of #2f2557
<div style="background-color:#2f2557">Text here</div>
#2f2557 Border Color
This box has a border color of #2f2557
<div style="border: 4px solid #2f2557">Text here</div>
CSS codes
<p style="color:#2f2557">Text here</p>
<div style="background-color:#2f2557">Text here</div>
<div style="border: 4px solid #2f2557">Text here</div>
#2f2557 Color on white background
This is how a font and box color of #2f2557 will look
on a white background.
#2f2557 Color on black background
This is how a font and box color of #2f2557 hex color will look
on a black background.