In RGB color space, #2f56a1 hex color has a red value of 47, a green value of 86 and a blue value of 161.
In CMYK color space (used in color printing), #2f56a1 hex color is composed of 70.81% cyan, 46.58% magenta, 0% yellow and 36.86% black.
#2f56a1 color has a hue of 219.5 degrees, a saturation of 54.81% and a lightness of 40.8%.
#2f56a1 hex color contains mainly BLUE.
The closest web safe color of #2f56a1 is #336699
#2f56a1 hex color has a decimal value of 3102369.
HEX | 2f56a1 | #2f56a1 |
---|---|---|
RGB | 47, 86, 161 | rgb(47, 86, 161) |
RGB Percent | 18.43, 33.73, 63.14 | rgb(18.43, 33.73, 63.14) |
CMYK | 71, 47, 0, 37 | |
HSL | 219.5°, 54.81, 40.8 | hsl(219.5, 54.81%, 40.8%) |
HSV | 219.5°, 70.8, 63.1 |
XYZ | 10.933, 9.833, 35.04 |
---|---|
Hunter Lab | 31.358, 7.359, -44.302 |
CIE-LAB | 37.541, 12.386, -44.744 |
CIE-LCH | 37.541, 46.427, 285.473 |
CIE-LUV | 70.81, 46.58, 0, 36.86 |
Web Safe | 336699 |
RGB percent of color #2f56a1
CMYK percent of color #2f56a1
Text with hexadecimal color #2f56a1
This text has a font color of #2f56a1
<p style="color:#2f56a1">Text here</p>
#2f56a1 Background Color
This box has a background color of #2f56a1
<div style="background-color:#2f56a1">Text here</div>
#2f56a1 Border Color
This box has a border color of #2f56a1
<div style="border: 4px solid #2f56a1">Text here</div>
CSS codes
<p style="color:#2f56a1">Text here</p>
<div style="background-color:#2f56a1">Text here</div>
<div style="border: 4px solid #2f56a1">Text here</div>
#2f56a1 Color on white background
This is how a font and box color of #2f56a1 will look
on a white background.
#2f56a1 Color on black background
This is how a font and box color of #2f56a1 hex color will look
on a black background.