In RGB color space, #2a1f43 hex color has a red value of 42, a green value of 31 and a blue value of 67.
In CMYK color space (used in color printing), #2a1f43 hex color is composed of 37.31% cyan, 53.73% magenta, 0% yellow and 73.73% black.
#2a1f43 color has a hue of 258.3 degrees, a saturation of 36.73% and a lightness of 19.2%.
#2a1f43 hex color contains mainly BLUE.
The closest web safe color of #2a1f43 is #333333
#2a1f43 hex color has a decimal value of 2760515.
HEX | 2a1f43 | #2a1f43 |
---|---|---|
RGB | 42, 31, 67 | rgb(42, 31, 67) |
RGB Percent | 16.47, 12.16, 26.27 | rgb(16.47, 12.16, 26.27) |
CMYK | 37, 54, 0, 74 | |
HSL | 258.3°, 36.73, 19.2 | hsl(258.3, 36.73%, 19.2%) |
HSV | 258.3°, 53.7, 26.3 |
XYZ | 2.458, 1.877, 5.543 |
---|---|
Hunter Lab | 13.7, 8.049, -14.398 |
CIE-LAB | 14.828, 14.981, -20.972 |
CIE-LCH | 14.828, 25.773, 305.539 |
CIE-LUV | 37.31, 53.73, 0, 73.73 |
Web Safe | 333333 |
RGB percent of color #2a1f43
CMYK percent of color #2a1f43
Text with hexadecimal color #2a1f43
This text has a font color of #2a1f43
<p style="color:#2a1f43">Text here</p>
#2a1f43 Background Color
This box has a background color of #2a1f43
<div style="background-color:#2a1f43">Text here</div>
#2a1f43 Border Color
This box has a border color of #2a1f43
<div style="border: 4px solid #2a1f43">Text here</div>
CSS codes
<p style="color:#2a1f43">Text here</p>
<div style="background-color:#2a1f43">Text here</div>
<div style="border: 4px solid #2a1f43">Text here</div>
#2a1f43 Color on white background
This is how a font and box color of #2a1f43 will look
on a white background.
#2a1f43 Color on black background
This is how a font and box color of #2a1f43 hex color will look
on a black background.