In RGB color space, #2d1f5b hex color has a red value of 45, a green value of 31 and a blue value of 91.
In CMYK color space (used in color printing), #2d1f5b hex color is composed of 50.55% cyan, 65.93% magenta, 0% yellow and 64.31% black.
#2d1f5b color has a hue of 254 degrees, a saturation of 49.18% and a lightness of 23.9%.
#2d1f5b hex color contains mainly BLUE.
The closest web safe color of #2d1f5b is #333366
#2d1f5b hex color has a decimal value of 2957147.
HEX | 2d1f5b | #2d1f5b |
---|---|---|
RGB | 45, 31, 91 | rgb(45, 31, 91) |
RGB Percent | 17.65, 12.16, 35.69 | rgb(17.65, 12.16, 35.69) |
CMYK | 51, 66, 0, 64 | |
HSL | 254°, 49.18, 23.9 | hsl(254, 49.18%, 23.9%) |
HSV | 254°, 65.9, 35.7 |
XYZ | 3.461, 2.293, 10.158 |
---|---|
Hunter Lab | 15.143, 14.298, -29.173 |
CIE-LAB | 16.955, 23.677, -33.889 |
CIE-LCH | 16.955, 41.341, 304.941 |
CIE-LUV | 50.55, 65.93, 0, 64.31 |
Web Safe | 333366 |
RGB percent of color #2d1f5b
CMYK percent of color #2d1f5b
Text with hexadecimal color #2d1f5b
This text has a font color of #2d1f5b
<p style="color:#2d1f5b">Text here</p>
#2d1f5b Background Color
This box has a background color of #2d1f5b
<div style="background-color:#2d1f5b">Text here</div>
#2d1f5b Border Color
This box has a border color of #2d1f5b
<div style="border: 4px solid #2d1f5b">Text here</div>
CSS codes
<p style="color:#2d1f5b">Text here</p>
<div style="background-color:#2d1f5b">Text here</div>
<div style="border: 4px solid #2d1f5b">Text here</div>
#2d1f5b Color on white background
This is how a font and box color of #2d1f5b will look
on a white background.
#2d1f5b Color on black background
This is how a font and box color of #2d1f5b hex color will look
on a black background.