In RGB color space, #2f31a6 hex color has a red value of 47, a green value of 49 and a blue value of 166.
In CMYK color space (used in color printing), #2f31a6 hex color is composed of 71.69% cyan, 70.48% magenta, 0% yellow and 34.9% black.
#2f31a6 color has a hue of 239 degrees, a saturation of 55.87% and a lightness of 41.8%.
#2f31a6 hex color contains mainly BLUE.
The closest web safe color of #2f31a6 is #333399
#2f31a6 hex color has a decimal value of 3092902.
HEX | 2f31a6 | #2f31a6 |
---|---|---|
RGB | 47, 49, 166 | rgb(47, 49, 166) |
RGB Percent | 18.43, 19.22, 65.1 | rgb(18.43, 19.22, 65.1) |
CMYK | 72, 70, 0, 35 | |
HSL | 239°, 55.87, 41.8 | hsl(239, 55.87%, 41.8%) |
HSV | 239°, 71.7, 65.1 |
XYZ | 9.154, 5.554, 36.666 |
---|---|
Hunter Lab | 23.567, 28.092, -75.748 |
CIE-LAB | 28.258, 38.421, -62.837 |
CIE-LCH | 28.258, 73.652, 301.443 |
CIE-LUV | 71.69, 70.48, 0, 34.9 |
Web Safe | 333399 |
RGB percent of color #2f31a6
CMYK percent of color #2f31a6
Text with hexadecimal color #2f31a6
This text has a font color of #2f31a6
<p style="color:#2f31a6">Text here</p>
#2f31a6 Background Color
This box has a background color of #2f31a6
<div style="background-color:#2f31a6">Text here</div>
#2f31a6 Border Color
This box has a border color of #2f31a6
<div style="border: 4px solid #2f31a6">Text here</div>
CSS codes
<p style="color:#2f31a6">Text here</p>
<div style="background-color:#2f31a6">Text here</div>
<div style="border: 4px solid #2f31a6">Text here</div>
#2f31a6 Color on white background
This is how a font and box color of #2f31a6 will look
on a white background.
#2f31a6 Color on black background
This is how a font and box color of #2f31a6 hex color will look
on a black background.