In RGB color space, #2f138b hex color has a red value of 47, a green value of 19 and a blue value of 139.
In CMYK color space (used in color printing), #2f138b hex color is composed of 66.19% cyan, 86.33% magenta, 0% yellow and 45.49% black.
#2f138b color has a hue of 254 degrees, a saturation of 75.95% and a lightness of 31%.
#2f138b hex color contains mainly BLUE.
The closest web safe color of #2f138b is #330099
#2f138b hex color has a decimal value of 3085195.
HEX | 2f138b | #2f138b |
---|---|---|
RGB | 47, 19, 139 | rgb(47, 19, 139) |
RGB Percent | 18.43, 7.45, 54.51 | rgb(18.43, 7.45, 54.51) |
CMYK | 66, 86, 0, 45 | |
HSL | 254°, 75.95, 31 | hsl(254, 75.95%, 31%) |
HSV | 254°, 86.3, 54.5 |
XYZ | 6.065, 2.934, 24.673 |
---|---|
Hunter Lab | 17.129, 33.228, -73.413 |
CIE-LAB | 19.778, 45.589, -60.246 |
CIE-LCH | 19.778, 75.551, 307.115 |
CIE-LUV | 66.19, 86.33, 0, 45.49 |
Web Safe | 330099 |
RGB percent of color #2f138b
CMYK percent of color #2f138b
Text with hexadecimal color #2f138b
This text has a font color of #2f138b
<p style="color:#2f138b">Text here</p>
#2f138b Background Color
This box has a background color of #2f138b
<div style="background-color:#2f138b">Text here</div>
#2f138b Border Color
This box has a border color of #2f138b
<div style="border: 4px solid #2f138b">Text here</div>
CSS codes
<p style="color:#2f138b">Text here</p>
<div style="background-color:#2f138b">Text here</div>
<div style="border: 4px solid #2f138b">Text here</div>
#2f138b Color on white background
This is how a font and box color of #2f138b will look
on a white background.
#2f138b Color on black background
This is how a font and box color of #2f138b hex color will look
on a black background.