In RGB color space, #2a1f9d hex color has a red value of 42, a green value of 31 and a blue value of 157.
In CMYK color space (used in color printing), #2a1f9d hex color is composed of 73.25% cyan, 80.25% magenta, 0% yellow and 38.43% black.
#2a1f9d color has a hue of 245.2 degrees, a saturation of 67.02% and a lightness of 36.9%.
#2a1f9d hex color contains mainly BLUE.
The closest web safe color of #2a1f9d is #333399
#2a1f9d hex color has a decimal value of 2760605.
HEX | 2a1f9d | #2a1f9d |
---|---|---|
RGB | 42, 31, 157 | rgb(42, 31, 157) |
RGB Percent | 16.47, 12.16, 61.57 | rgb(16.47, 12.16, 61.57) |
CMYK | 73, 80, 0, 38 | |
HSL | 245.2°, 67.02, 36.9 | hsl(245.2, 67.02%, 36.9%) |
HSV | 245.2°, 80.3, 61.6 |
XYZ | 7.531, 3.907, 32.255 |
---|---|
Hunter Lab | 19.766, 33.419, -82.915 |
CIE-LAB | 23.362, 45.092, -65.459 |
CIE-LCH | 23.362, 79.487, 304.561 |
CIE-LUV | 73.25, 80.25, 0, 38.43 |
Web Safe | 333399 |
RGB percent of color #2a1f9d
CMYK percent of color #2a1f9d
Text with hexadecimal color #2a1f9d
This text has a font color of #2a1f9d
<p style="color:#2a1f9d">Text here</p>
#2a1f9d Background Color
This box has a background color of #2a1f9d
<div style="background-color:#2a1f9d">Text here</div>
#2a1f9d Border Color
This box has a border color of #2a1f9d
<div style="border: 4px solid #2a1f9d">Text here</div>
CSS codes
<p style="color:#2a1f9d">Text here</p>
<div style="background-color:#2a1f9d">Text here</div>
<div style="border: 4px solid #2a1f9d">Text here</div>
#2a1f9d Color on white background
This is how a font and box color of #2a1f9d will look
on a white background.
#2a1f9d Color on black background
This is how a font and box color of #2a1f9d hex color will look
on a black background.