In RGB color space, #2d1f97 hex color has a red value of 45, a green value of 31 and a blue value of 151.
In CMYK color space (used in color printing), #2d1f97 hex color is composed of 70.2% cyan, 79.47% magenta, 0% yellow and 40.78% black.
#2d1f97 color has a hue of 247 degrees, a saturation of 65.93% and a lightness of 35.7%.
#2d1f97 hex color contains mainly BLUE.
The closest web safe color of #2d1f97 is #333399
#2d1f97 hex color has a decimal value of 2957207.
HEX | 2d1f97 | #2d1f97 |
---|---|---|
RGB | 45, 31, 151 | rgb(45, 31, 151) |
RGB Percent | 17.65, 12.16, 59.22 | rgb(17.65, 12.16, 59.22) |
CMYK | 70, 79, 0, 41 | |
HSL | 247°, 65.93, 35.7 | hsl(247, 65.93%, 35.7%) |
HSV | 247°, 79.5, 59.2 |
XYZ | 7.158, 3.772, 29.629 |
---|---|
Hunter Lab | 19.422, 31.8, -76.856 |
CIE-LAB | 22.903, 43.464, -62.529 |
CIE-LCH | 22.903, 76.151, 304.803 |
CIE-LUV | 70.2, 79.47, 0, 40.78 |
Web Safe | 333399 |
RGB percent of color #2d1f97
CMYK percent of color #2d1f97
Text with hexadecimal color #2d1f97
This text has a font color of #2d1f97
<p style="color:#2d1f97">Text here</p>
#2d1f97 Background Color
This box has a background color of #2d1f97
<div style="background-color:#2d1f97">Text here</div>
#2d1f97 Border Color
This box has a border color of #2d1f97
<div style="border: 4px solid #2d1f97">Text here</div>
CSS codes
<p style="color:#2d1f97">Text here</p>
<div style="background-color:#2d1f97">Text here</div>
<div style="border: 4px solid #2d1f97">Text here</div>
#2d1f97 Color on white background
This is how a font and box color of #2d1f97 will look
on a white background.
#2d1f97 Color on black background
This is how a font and box color of #2d1f97 hex color will look
on a black background.