In RGB color space, #2d1f9b hex color has a red value of 45, a green value of 31 and a blue value of 155.
In CMYK color space (used in color printing), #2d1f9b hex color is composed of 70.97% cyan, 80% magenta, 0% yellow and 39.22% black.
#2d1f9b color has a hue of 246.8 degrees, a saturation of 66.67% and a lightness of 36.5%.
#2d1f9b hex color contains mainly BLUE.
The closest web safe color of #2d1f9b is #333399
#2d1f9b hex color has a decimal value of 2957211.
HEX | 2d1f9b | #2d1f9b |
---|---|---|
RGB | 45, 31, 155 | rgb(45, 31, 155) |
RGB Percent | 17.65, 12.16, 60.78 | rgb(17.65, 12.16, 60.78) |
CMYK | 71, 80, 0, 39 | |
HSL | 246.8°, 66.67, 36.5 | hsl(246.8, 66.67%, 36.5%) |
HSV | 246.8°, 80, 60.8 |
XYZ | 7.489, 3.904, 31.369 |
---|---|
Hunter Lab | 19.759, 33.079, -80.299 |
CIE-LAB | 23.351, 44.736, -64.245 |
CIE-LCH | 23.351, 78.286, 304.851 |
CIE-LUV | 70.97, 80, 0, 39.22 |
Web Safe | 333399 |
RGB percent of color #2d1f9b
CMYK percent of color #2d1f9b
Text with hexadecimal color #2d1f9b
This text has a font color of #2d1f9b
<p style="color:#2d1f9b">Text here</p>
#2d1f9b Background Color
This box has a background color of #2d1f9b
<div style="background-color:#2d1f9b">Text here</div>
#2d1f9b Border Color
This box has a border color of #2d1f9b
<div style="border: 4px solid #2d1f9b">Text here</div>
CSS codes
<p style="color:#2d1f9b">Text here</p>
<div style="background-color:#2d1f9b">Text here</div>
<div style="border: 4px solid #2d1f9b">Text here</div>
#2d1f9b Color on white background
This is how a font and box color of #2d1f9b will look
on a white background.
#2d1f9b Color on black background
This is how a font and box color of #2d1f9b hex color will look
on a black background.