In RGB color space, #2a1f44 hex color has a red value of 42, a green value of 31 and a blue value of 68.
In CMYK color space (used in color printing), #2a1f44 hex color is composed of 38.24% cyan, 54.41% magenta, 0% yellow and 73.33% black.
#2a1f44 color has a hue of 257.8 degrees, a saturation of 37.37% and a lightness of 19.4%.
#2a1f44 hex color contains mainly BLUE.
The closest web safe color of #2a1f44 is #333333
#2a1f44 hex color has a decimal value of 2760516.
HEX | 2a1f44 | #2a1f44 |
---|---|---|
RGB | 42, 31, 68 | rgb(42, 31, 68) |
RGB Percent | 16.47, 12.16, 26.67 | rgb(16.47, 12.16, 26.67) |
CMYK | 38, 54, 0, 73 | |
HSL | 257.8°, 37.37, 19.4 | hsl(257.8, 37.37%, 19.4%) |
HSV | 257.8°, 54.4, 26.7 |
XYZ | 2.488, 1.89, 5.702 |
---|---|
Hunter Lab | 13.748, 8.246, -14.968 |
CIE-LAB | 14.899, 15.274, -21.552 |
CIE-LCH | 14.899, 26.416, 305.325 |
CIE-LUV | 38.24, 54.41, 0, 73.33 |
Web Safe | 333333 |
RGB percent of color #2a1f44
CMYK percent of color #2a1f44
Text with hexadecimal color #2a1f44
This text has a font color of #2a1f44
<p style="color:#2a1f44">Text here</p>
#2a1f44 Background Color
This box has a background color of #2a1f44
<div style="background-color:#2a1f44">Text here</div>
#2a1f44 Border Color
This box has a border color of #2a1f44
<div style="border: 4px solid #2a1f44">Text here</div>
CSS codes
<p style="color:#2a1f44">Text here</p>
<div style="background-color:#2a1f44">Text here</div>
<div style="border: 4px solid #2a1f44">Text here</div>
#2a1f44 Color on white background
This is how a font and box color of #2a1f44 will look
on a white background.
#2a1f44 Color on black background
This is how a font and box color of #2a1f44 hex color will look
on a black background.