In RGB color space, #2d1fa6 hex color has a red value of 45, a green value of 31 and a blue value of 166.
In CMYK color space (used in color printing), #2d1fa6 hex color is composed of 72.89% cyan, 81.33% magenta, 0% yellow and 34.9% black.
#2d1fa6 color has a hue of 246.2 degrees, a saturation of 68.53% and a lightness of 38.6%.
#2d1fa6 hex color contains mainly BLUE.
The closest web safe color of #2d1fa6 is #333399
#2d1fa6 hex color has a decimal value of 2957222.
HEX | 2d1fa6 | #2d1fa6 |
---|---|---|
RGB | 45, 31, 166 | rgb(45, 31, 166) |
RGB Percent | 17.65, 12.16, 65.1 | rgb(17.65, 12.16, 65.1) |
CMYK | 73, 81, 0, 35 | |
HSL | 246.2°, 68.53, 38.6 | hsl(246.2, 68.53%, 38.6%) |
HSV | 246.2°, 81.3, 65.1 |
XYZ | 8.455, 4.291, 36.459 |
---|---|
Hunter Lab | 20.715, 36.606, -89.853 |
CIE-LAB | 24.611, 48.153, -68.863 |
CIE-LCH | 24.611, 84.029, 304.963 |
CIE-LUV | 72.89, 81.33, 0, 34.9 |
Web Safe | 333399 |
RGB percent of color #2d1fa6
CMYK percent of color #2d1fa6
Text with hexadecimal color #2d1fa6
This text has a font color of #2d1fa6
<p style="color:#2d1fa6">Text here</p>
#2d1fa6 Background Color
This box has a background color of #2d1fa6
<div style="background-color:#2d1fa6">Text here</div>
#2d1fa6 Border Color
This box has a border color of #2d1fa6
<div style="border: 4px solid #2d1fa6">Text here</div>
CSS codes
<p style="color:#2d1fa6">Text here</p>
<div style="background-color:#2d1fa6">Text here</div>
<div style="border: 4px solid #2d1fa6">Text here</div>
#2d1fa6 Color on white background
This is how a font and box color of #2d1fa6 will look
on a white background.
#2d1fa6 Color on black background
This is how a font and box color of #2d1fa6 hex color will look
on a black background.