In RGB color space, #2d1f98 hex color has a red value of 45, a green value of 31 and a blue value of 152.
In CMYK color space (used in color printing), #2d1f98 hex color is composed of 70.39% cyan, 79.61% magenta, 0% yellow and 40.39% black.
#2d1f98 color has a hue of 246.9 degrees, a saturation of 66.12% and a lightness of 35.9%.
#2d1f98 hex color contains mainly BLUE.
The closest web safe color of #2d1f98 is #333399
#2d1f98 hex color has a decimal value of 2957208.
HEX | 2d1f98 | #2d1f98 |
---|---|---|
RGB | 45, 31, 152 | rgb(45, 31, 152) |
RGB Percent | 17.65, 12.16, 59.61 | rgb(17.65, 12.16, 59.61) |
CMYK | 70, 80, 0, 40 | |
HSL | 246.9°, 66.12, 35.9 | hsl(246.9, 66.12%, 35.9%) |
HSV | 246.9°, 79.6, 59.6 |
XYZ | 7.24, 3.805, 30.059 |
---|---|
Hunter Lab | 19.506, 32.116, -77.71 |
CIE-LAB | 23.016, 43.779, -62.958 |
CIE-LCH | 23.016, 76.683, 304.814 |
CIE-LUV | 70.39, 79.61, 0, 40.39 |
Web Safe | 333399 |
RGB percent of color #2d1f98
CMYK percent of color #2d1f98
Text with hexadecimal color #2d1f98
This text has a font color of #2d1f98
<p style="color:#2d1f98">Text here</p>
#2d1f98 Background Color
This box has a background color of #2d1f98
<div style="background-color:#2d1f98">Text here</div>
#2d1f98 Border Color
This box has a border color of #2d1f98
<div style="border: 4px solid #2d1f98">Text here</div>
CSS codes
<p style="color:#2d1f98">Text here</p>
<div style="background-color:#2d1f98">Text here</div>
<div style="border: 4px solid #2d1f98">Text here</div>
#2d1f98 Color on white background
This is how a font and box color of #2d1f98 will look
on a white background.
#2d1f98 Color on black background
This is how a font and box color of #2d1f98 hex color will look
on a black background.