In RGB color space, #2f2797 hex color has a red value of 47, a green value of 39 and a blue value of 151.
In CMYK color space (used in color printing), #2f2797 hex color is composed of 68.87% cyan, 74.17% magenta, 0% yellow and 40.78% black.
#2f2797 color has a hue of 244.3 degrees, a saturation of 58.95% and a lightness of 37.3%.
#2f2797 hex color contains mainly BLUE.
The closest web safe color of #2f2797 is #333399
#2f2797 hex color has a decimal value of 3090327.
HEX | 2f2797 | #2f2797 |
---|---|---|
RGB | 47, 39, 151 | rgb(47, 39, 151) |
RGB Percent | 18.43, 15.29, 59.22 | rgb(18.43, 15.29, 59.22) |
CMYK | 69, 74, 0, 41 | |
HSL | 244.3°, 58.95, 37.3 | hsl(244.3, 58.95%, 37.3%) |
HSV | 244.3°, 74.2, 59.2 |
XYZ | 7.484, 4.29, 29.712 |
---|---|
Hunter Lab | 20.712, 28.251, -70.553 |
CIE-LAB | 24.608, 39.272, -59.71 |
CIE-LCH | 24.608, 71.467, 303.333 |
CIE-LUV | 68.87, 74.17, 0, 40.78 |
Web Safe | 333399 |
RGB percent of color #2f2797
CMYK percent of color #2f2797
Text with hexadecimal color #2f2797
This text has a font color of #2f2797
<p style="color:#2f2797">Text here</p>
#2f2797 Background Color
This box has a background color of #2f2797
<div style="background-color:#2f2797">Text here</div>
#2f2797 Border Color
This box has a border color of #2f2797
<div style="border: 4px solid #2f2797">Text here</div>
CSS codes
<p style="color:#2f2797">Text here</p>
<div style="background-color:#2f2797">Text here</div>
<div style="border: 4px solid #2f2797">Text here</div>
#2f2797 Color on white background
This is how a font and box color of #2f2797 will look
on a white background.
#2f2797 Color on black background
This is how a font and box color of #2f2797 hex color will look
on a black background.