In RGB color space, #2f227f hex color has a red value of 47, a green value of 34 and a blue value of 127.
In CMYK color space (used in color printing), #2f227f hex color is composed of 62.99% cyan, 73.23% magenta, 0% yellow and 50.2% black.
#2f227f color has a hue of 248.4 degrees, a saturation of 57.76% and a lightness of 31.6%.
#2f227f hex color contains mainly BLUE.
The closest web safe color of #2f227f is #333366
#2f227f hex color has a decimal value of 3089023.
HEX | 2f227f | #2f227f |
---|---|---|
RGB | 47, 34, 127 | rgb(47, 34, 127) |
RGB Percent | 18.43, 13.33, 49.8 | rgb(18.43, 13.33, 49.8) |
CMYK | 63, 73, 0, 50 | |
HSL | 248.4°, 57.76, 31.6 | hsl(248.4, 57.76%, 31.6%) |
HSV | 248.4°, 73.2, 49.8 |
XYZ | 5.575, 3.281, 20.418 |
---|---|
Hunter Lab | 18.114, 23.24, -54.154 |
CIE-LAB | 21.136, 34.202, -50.449 |
CIE-LCH | 21.136, 60.95, 304.135 |
CIE-LUV | 62.99, 73.23, 0, 50.2 |
Web Safe | 333366 |
RGB percent of color #2f227f
CMYK percent of color #2f227f
Text with hexadecimal color #2f227f
This text has a font color of #2f227f
<p style="color:#2f227f">Text here</p>
#2f227f Background Color
This box has a background color of #2f227f
<div style="background-color:#2f227f">Text here</div>
#2f227f Border Color
This box has a border color of #2f227f
<div style="border: 4px solid #2f227f">Text here</div>
CSS codes
<p style="color:#2f227f">Text here</p>
<div style="background-color:#2f227f">Text here</div>
<div style="border: 4px solid #2f227f">Text here</div>
#2f227f Color on white background
This is how a font and box color of #2f227f will look
on a white background.
#2f227f Color on black background
This is how a font and box color of #2f227f hex color will look
on a black background.