In RGB color space, #2b1f8b hex color has a red value of 43, a green value of 31 and a blue value of 139.
In CMYK color space (used in color printing), #2b1f8b hex color is composed of 69.06% cyan, 77.7% magenta, 0% yellow and 45.49% black.
#2b1f8b color has a hue of 246.7 degrees, a saturation of 63.53% and a lightness of 33.3%.
#2b1f8b hex color contains mainly BLUE.
The closest web safe color of #2b1f8b is #333399
#2b1f8b hex color has a decimal value of 2826123.
HEX | 2b1f8b | #2b1f8b |
---|---|---|
RGB | 43, 31, 139 | rgb(43, 31, 139) |
RGB Percent | 16.86, 12.16, 54.51 | rgb(16.86, 12.16, 54.51) |
CMYK | 69, 78, 0, 45 | |
HSL | 246.7°, 63.53, 33.3 | hsl(246.7, 63.53%, 33.3%) |
HSV | 246.7°, 77.7, 54.5 |
XYZ | 6.146, 3.358, 24.75 |
---|---|
Hunter Lab | 18.325, 27.799, -67.251 |
CIE-LAB | 21.424, 39.377, -57.534 |
CIE-LCH | 21.424, 69.719, 304.388 |
CIE-LUV | 69.06, 77.7, 0, 45.49 |
Web Safe | 333399 |
RGB percent of color #2b1f8b
CMYK percent of color #2b1f8b
Text with hexadecimal color #2b1f8b
This text has a font color of #2b1f8b
<p style="color:#2b1f8b">Text here</p>
#2b1f8b Background Color
This box has a background color of #2b1f8b
<div style="background-color:#2b1f8b">Text here</div>
#2b1f8b Border Color
This box has a border color of #2b1f8b
<div style="border: 4px solid #2b1f8b">Text here</div>
CSS codes
<p style="color:#2b1f8b">Text here</p>
<div style="background-color:#2b1f8b">Text here</div>
<div style="border: 4px solid #2b1f8b">Text here</div>
#2b1f8b Color on white background
This is how a font and box color of #2b1f8b will look
on a white background.
#2b1f8b Color on black background
This is how a font and box color of #2b1f8b hex color will look
on a black background.