In RGB color space, #2d1f42 hex color has a red value of 45, a green value of 31 and a blue value of 66.
In CMYK color space (used in color printing), #2d1f42 hex color is composed of 31.82% cyan, 53.03% magenta, 0% yellow and 74.12% black.
#2d1f42 color has a hue of 264 degrees, a saturation of 36.08% and a lightness of 19%.
#2d1f42 hex color contains mainly BLUE.
The closest web safe color of #2d1f42 is #333333
#2d1f42 hex color has a decimal value of 2957122.
HEX | 2d1f42 | #2d1f42 |
---|---|---|
RGB | 45, 31, 66 | rgb(45, 31, 66) |
RGB Percent | 17.65, 12.16, 25.88 | rgb(17.65, 12.16, 25.88) |
CMYK | 32, 53, 0, 74 | |
HSL | 264°, 36.08, 19 | hsl(264, 36.08%, 19%) |
HSV | 264°, 53, 25.9 |
XYZ | 2.556, 1.931, 5.392 |
---|---|
Hunter Lab | 13.896, 8.515, -13.279 |
CIE-LAB | 15.121, 15.658, -19.788 |
CIE-LCH | 15.121, 25.234, 308.354 |
CIE-LUV | 31.82, 53.03, 0, 74.12 |
Web Safe | 333333 |
RGB percent of color #2d1f42
CMYK percent of color #2d1f42
Text with hexadecimal color #2d1f42
This text has a font color of #2d1f42
<p style="color:#2d1f42">Text here</p>
#2d1f42 Background Color
This box has a background color of #2d1f42
<div style="background-color:#2d1f42">Text here</div>
#2d1f42 Border Color
This box has a border color of #2d1f42
<div style="border: 4px solid #2d1f42">Text here</div>
CSS codes
<p style="color:#2d1f42">Text here</p>
<div style="background-color:#2d1f42">Text here</div>
<div style="border: 4px solid #2d1f42">Text here</div>
#2d1f42 Color on white background
This is how a font and box color of #2d1f42 will look
on a white background.
#2d1f42 Color on black background
This is how a font and box color of #2d1f42 hex color will look
on a black background.