In RGB color space, #2f3156 hex color has a red value of 47, a green value of 49 and a blue value of 86.
In CMYK color space (used in color printing), #2f3156 hex color is composed of 45.35% cyan, 43.02% magenta, 0% yellow and 66.27% black.
#2f3156 color has a hue of 236.9 degrees, a saturation of 29.32% and a lightness of 26.1%.
#2f3156 hex color contains mainly BLUE.
The closest web safe color of #2f3156 is #333366
#2f3156 hex color has a decimal value of 3092822.
HEX | 2f3156 | #2f3156 |
---|---|---|
RGB | 47, 49, 86 | rgb(47, 49, 86) |
RGB Percent | 18.43, 19.22, 33.73 | rgb(18.43, 19.22, 33.73) |
CMYK | 45, 43, 0, 66 | |
HSL | 236.9°, 29.32, 26.1 | hsl(236.9, 29.32%, 26.1%) |
HSV | 236.9°, 45.3, 33.7 |
XYZ | 3.95, 3.473, 9.266 |
---|---|
Hunter Lab | 18.636, 5.221, -16.434 |
CIE-LAB | 21.847, 10.058, -22.719 |
CIE-LCH | 21.847, 24.846, 293.88 |
CIE-LUV | 45.35, 43.02, 0, 66.27 |
Web Safe | 333366 |
RGB percent of color #2f3156
CMYK percent of color #2f3156
Text with hexadecimal color #2f3156
This text has a font color of #2f3156
<p style="color:#2f3156">Text here</p>
#2f3156 Background Color
This box has a background color of #2f3156
<div style="background-color:#2f3156">Text here</div>
#2f3156 Border Color
This box has a border color of #2f3156
<div style="border: 4px solid #2f3156">Text here</div>
CSS codes
<p style="color:#2f3156">Text here</p>
<div style="background-color:#2f3156">Text here</div>
<div style="border: 4px solid #2f3156">Text here</div>
#2f3156 Color on white background
This is how a font and box color of #2f3156 will look
on a white background.
#2f3156 Color on black background
This is how a font and box color of #2f3156 hex color will look
on a black background.