In RGB color space, #2a1f99 hex color has a red value of 42, a green value of 31 and a blue value of 153.
In CMYK color space (used in color printing), #2a1f99 hex color is composed of 72.55% cyan, 79.74% magenta, 0% yellow and 40% black.
#2a1f99 color has a hue of 245.4 degrees, a saturation of 66.3% and a lightness of 36.1%.
#2a1f99 hex color contains mainly BLUE.
The closest web safe color of #2a1f99 is #333399
#2a1f99 hex color has a decimal value of 2760601.
HEX | 2a1f99 | #2a1f99 |
---|---|---|
RGB | 42, 31, 153 | rgb(42, 31, 153) |
RGB Percent | 16.47, 12.16, 60 | rgb(16.47, 12.16, 60) |
CMYK | 73, 80, 0, 40 | |
HSL | 245.4°, 66.3, 36.1 | hsl(245.4, 66.3%, 36.1%) |
HSV | 245.4°, 79.7, 60 |
XYZ | 7.195, 3.772, 30.486 |
---|---|
Hunter Lab | 19.422, 32.14, -79.472 |
CIE-LAB | 22.903, 43.827, -63.767 |
CIE-LCH | 22.903, 77.376, 304.501 |
CIE-LUV | 72.55, 79.74, 0, 40 |
Web Safe | 333399 |
RGB percent of color #2a1f99
CMYK percent of color #2a1f99
Text with hexadecimal color #2a1f99
This text has a font color of #2a1f99
<p style="color:#2a1f99">Text here</p>
#2a1f99 Background Color
This box has a background color of #2a1f99
<div style="background-color:#2a1f99">Text here</div>
#2a1f99 Border Color
This box has a border color of #2a1f99
<div style="border: 4px solid #2a1f99">Text here</div>
CSS codes
<p style="color:#2a1f99">Text here</p>
<div style="background-color:#2a1f99">Text here</div>
<div style="border: 4px solid #2a1f99">Text here</div>
#2a1f99 Color on white background
This is how a font and box color of #2a1f99 will look
on a white background.
#2a1f99 Color on black background
This is how a font and box color of #2a1f99 hex color will look
on a black background.