In RGB color space, #2f2798 hex color has a red value of 47, a green value of 39 and a blue value of 152.
In CMYK color space (used in color printing), #2f2798 hex color is composed of 69.08% cyan, 74.34% magenta, 0% yellow and 40.39% black.
#2f2798 color has a hue of 244.2 degrees, a saturation of 59.16% and a lightness of 37.5%.
#2f2798 hex color contains mainly BLUE.
The closest web safe color of #2f2798 is #333399
#2f2798 hex color has a decimal value of 3090328.
HEX | 2f2798 | #2f2798 |
---|---|---|
RGB | 47, 39, 152 | rgb(47, 39, 152) |
RGB Percent | 18.43, 15.29, 59.61 | rgb(18.43, 15.29, 59.61) |
CMYK | 69, 74, 0, 40 | |
HSL | 244.2°, 59.16, 37.5 | hsl(244.2, 59.16%, 37.5%) |
HSV | 244.2°, 74.3, 59.6 |
XYZ | 7.565, 4.322, 30.141 |
---|---|
Hunter Lab | 20.789, 28.572, -71.407 |
CIE-LAB | 24.709, 39.609, -60.158 |
CIE-LCH | 24.709, 72.027, 303.362 |
CIE-LUV | 69.08, 74.34, 0, 40.39 |
Web Safe | 333399 |
RGB percent of color #2f2798
CMYK percent of color #2f2798
Text with hexadecimal color #2f2798
This text has a font color of #2f2798
<p style="color:#2f2798">Text here</p>
#2f2798 Background Color
This box has a background color of #2f2798
<div style="background-color:#2f2798">Text here</div>
#2f2798 Border Color
This box has a border color of #2f2798
<div style="border: 4px solid #2f2798">Text here</div>
CSS codes
<p style="color:#2f2798">Text here</p>
<div style="background-color:#2f2798">Text here</div>
<div style="border: 4px solid #2f2798">Text here</div>
#2f2798 Color on white background
This is how a font and box color of #2f2798 will look
on a white background.
#2f2798 Color on black background
This is how a font and box color of #2f2798 hex color will look
on a black background.