In RGB color space, #2f31a2 hex color has a red value of 47, a green value of 49 and a blue value of 162.
In CMYK color space (used in color printing), #2f31a2 hex color is composed of 70.99% cyan, 69.75% magenta, 0% yellow and 36.47% black.
#2f31a2 color has a hue of 239 degrees, a saturation of 55.02% and a lightness of 41%.
#2f31a2 hex color contains mainly BLUE.
The closest web safe color of #2f31a2 is #333399
#2f31a2 hex color has a decimal value of 3092898.
HEX | 2f31a2 | #2f31a2 |
---|---|---|
RGB | 47, 49, 162 | rgb(47, 49, 162) |
RGB Percent | 18.43, 19.22, 63.53 | rgb(18.43, 19.22, 63.53) |
CMYK | 71, 70, 0, 36 | |
HSL | 239°, 55.02, 41 | hsl(239, 55.02%, 41%) |
HSV | 239°, 71, 63.5 |
XYZ | 8.792, 5.41, 34.763 |
---|---|
Hunter Lab | 23.259, 26.769, -72.332 |
CIE-LAB | 27.872, 37.023, -61.052 |
CIE-LCH | 27.872, 71.401, 301.233 |
CIE-LUV | 70.99, 69.75, 0, 36.47 |
Web Safe | 333399 |
RGB percent of color #2f31a2
CMYK percent of color #2f31a2
Text with hexadecimal color #2f31a2
This text has a font color of #2f31a2
<p style="color:#2f31a2">Text here</p>
#2f31a2 Background Color
This box has a background color of #2f31a2
<div style="background-color:#2f31a2">Text here</div>
#2f31a2 Border Color
This box has a border color of #2f31a2
<div style="border: 4px solid #2f31a2">Text here</div>
CSS codes
<p style="color:#2f31a2">Text here</p>
<div style="background-color:#2f31a2">Text here</div>
<div style="border: 4px solid #2f31a2">Text here</div>
#2f31a2 Color on white background
This is how a font and box color of #2f31a2 will look
on a white background.
#2f31a2 Color on black background
This is how a font and box color of #2f31a2 hex color will look
on a black background.