In RGB color space, #2a1f9b hex color has a red value of 42, a green value of 31 and a blue value of 155.
In CMYK color space (used in color printing), #2a1f9b hex color is composed of 72.9% cyan, 80% magenta, 0% yellow and 39.22% black.
#2a1f9b color has a hue of 245.3 degrees, a saturation of 66.67% and a lightness of 36.5%.
#2a1f9b hex color contains mainly BLUE.
The closest web safe color of #2a1f9b is #333399
#2a1f9b hex color has a decimal value of 2760603.
HEX | 2a1f9b | #2a1f9b |
---|---|---|
RGB | 42, 31, 155 | rgb(42, 31, 155) |
RGB Percent | 16.47, 12.16, 60.78 | rgb(16.47, 12.16, 60.78) |
CMYK | 73, 80, 0, 39 | |
HSL | 245.3°, 66.67, 36.5 | hsl(245.3, 66.67%, 36.5%) |
HSV | 245.3°, 80, 60.8 |
XYZ | 7.361, 3.839, 31.363 |
---|---|
Hunter Lab | 19.593, 32.772, -81.19 |
CIE-LAB | 23.132, 44.454, -64.615 |
CIE-LCH | 23.132, 78.43, 304.527 |
CIE-LUV | 72.9, 80, 0, 39.22 |
Web Safe | 333399 |
RGB percent of color #2a1f9b
CMYK percent of color #2a1f9b
Text with hexadecimal color #2a1f9b
This text has a font color of #2a1f9b
<p style="color:#2a1f9b">Text here</p>
#2a1f9b Background Color
This box has a background color of #2a1f9b
<div style="background-color:#2a1f9b">Text here</div>
#2a1f9b Border Color
This box has a border color of #2a1f9b
<div style="border: 4px solid #2a1f9b">Text here</div>
CSS codes
<p style="color:#2a1f9b">Text here</p>
<div style="background-color:#2a1f9b">Text here</div>
<div style="border: 4px solid #2a1f9b">Text here</div>
#2a1f9b Color on white background
This is how a font and box color of #2a1f9b will look
on a white background.
#2a1f9b Color on black background
This is how a font and box color of #2a1f9b hex color will look
on a black background.