In RGB color space, #2d1f87 hex color has a red value of 45, a green value of 31 and a blue value of 135.
In CMYK color space (used in color printing), #2d1f87 hex color is composed of 66.67% cyan, 77.04% magenta, 0% yellow and 47.06% black.
#2d1f87 color has a hue of 248.1 degrees, a saturation of 62.65% and a lightness of 32.5%.
#2d1f87 hex color contains mainly BLUE.
The closest web safe color of #2d1f87 is #333399
#2d1f87 hex color has a decimal value of 2957191.
HEX | 2d1f87 | #2d1f87 |
---|---|---|
RGB | 45, 31, 135 | rgb(45, 31, 135) |
RGB Percent | 17.65, 12.16, 52.94 | rgb(17.65, 12.16, 52.94) |
CMYK | 67, 77, 0, 47 | |
HSL | 248.1°, 62.65, 32.5 | hsl(248.1, 62.65%, 32.5%) |
HSV | 248.1°, 77, 52.9 |
XYZ | 5.945, 3.287, 23.243 |
---|---|
Hunter Lab | 18.13, 26.804, -63.319 |
CIE-LAB | 21.158, 38.31, -55.463 |
CIE-LCH | 21.158, 67.408, 304.634 |
CIE-LUV | 66.67, 77.04, 0, 47.06 |
Web Safe | 333399 |
RGB percent of color #2d1f87
CMYK percent of color #2d1f87
Text with hexadecimal color #2d1f87
This text has a font color of #2d1f87
<p style="color:#2d1f87">Text here</p>
#2d1f87 Background Color
This box has a background color of #2d1f87
<div style="background-color:#2d1f87">Text here</div>
#2d1f87 Border Color
This box has a border color of #2d1f87
<div style="border: 4px solid #2d1f87">Text here</div>
CSS codes
<p style="color:#2d1f87">Text here</p>
<div style="background-color:#2d1f87">Text here</div>
<div style="border: 4px solid #2d1f87">Text here</div>
#2d1f87 Color on white background
This is how a font and box color of #2d1f87 will look
on a white background.
#2d1f87 Color on black background
This is how a font and box color of #2d1f87 hex color will look
on a black background.