In RGB color space, #2f158b hex color has a red value of 47, a green value of 21 and a blue value of 139.
In CMYK color space (used in color printing), #2f158b hex color is composed of 66.19% cyan, 84.89% magenta, 0% yellow and 45.49% black.
#2f158b color has a hue of 253.2 degrees, a saturation of 73.75% and a lightness of 31.4%.
#2f158b hex color contains mainly BLUE.
The closest web safe color of #2f158b is #330099
#2f158b hex color has a decimal value of 3085707.
HEX | 2f158b | #2f158b |
---|---|---|
RGB | 47, 21, 139 | rgb(47, 21, 139) |
RGB Percent | 18.43, 8.24, 54.51 | rgb(18.43, 8.24, 54.51) |
CMYK | 66, 85, 0, 45 | |
HSL | 253.2°, 73.75, 31.4 | hsl(253.2, 73.75%, 31.4%) |
HSV | 253.2°, 84.9, 54.5 |
XYZ | 6.101, 3.005, 24.685 |
---|---|
Hunter Lab | 17.335, 32.487, -72.295 |
CIE-LAB | 20.064, 44.749, -59.772 |
CIE-LCH | 20.064, 74.667, 306.821 |
CIE-LUV | 66.19, 84.89, 0, 45.49 |
Web Safe | 330099 |
RGB percent of color #2f158b
CMYK percent of color #2f158b
Text with hexadecimal color #2f158b
This text has a font color of #2f158b
<p style="color:#2f158b">Text here</p>
#2f158b Background Color
This box has a background color of #2f158b
<div style="background-color:#2f158b">Text here</div>
#2f158b Border Color
This box has a border color of #2f158b
<div style="border: 4px solid #2f158b">Text here</div>
CSS codes
<p style="color:#2f158b">Text here</p>
<div style="background-color:#2f158b">Text here</div>
<div style="border: 4px solid #2f158b">Text here</div>
#2f158b Color on white background
This is how a font and box color of #2f158b will look
on a white background.
#2f158b Color on black background
This is how a font and box color of #2f158b hex color will look
on a black background.