In RGB color space, #2f229f hex color has a red value of 47, a green value of 34 and a blue value of 159.
In CMYK color space (used in color printing), #2f229f hex color is composed of 70.44% cyan, 78.62% magenta, 0% yellow and 37.65% black.
#2f229f color has a hue of 246.2 degrees, a saturation of 64.77% and a lightness of 37.8%.
#2f229f hex color contains mainly BLUE.
The closest web safe color of #2f229f is #333399
#2f229f hex color has a decimal value of 3089055.
HEX | 2f229f | #2f229f |
---|---|---|
RGB | 47, 34, 159 | rgb(47, 34, 159) |
RGB Percent | 18.43, 13.33, 62.35 | rgb(18.43, 13.33, 62.35) |
CMYK | 70, 79, 0, 38 | |
HSL | 246.2°, 64.77, 37.8 | hsl(246.2, 64.77%, 37.8%) |
HSV | 246.2°, 78.6, 62.4 |
XYZ | 8.002, 4.252, 33.2 |
---|---|
Hunter Lab | 20.62, 33.184, -81.026 |
CIE-LAB | 24.488, 44.625, -64.807 |
CIE-LCH | 24.488, 78.685, 304.551 |
CIE-LUV | 70.44, 78.62, 0, 37.65 |
Web Safe | 333399 |
RGB percent of color #2f229f
CMYK percent of color #2f229f
Text with hexadecimal color #2f229f
This text has a font color of #2f229f
<p style="color:#2f229f">Text here</p>
#2f229f Background Color
This box has a background color of #2f229f
<div style="background-color:#2f229f">Text here</div>
#2f229f Border Color
This box has a border color of #2f229f
<div style="border: 4px solid #2f229f">Text here</div>
CSS codes
<p style="color:#2f229f">Text here</p>
<div style="background-color:#2f229f">Text here</div>
<div style="border: 4px solid #2f229f">Text here</div>
#2f229f Color on white background
This is how a font and box color of #2f229f will look
on a white background.
#2f229f Color on black background
This is how a font and box color of #2f229f hex color will look
on a black background.