In RGB color space, #2a1f60 hex color has a red value of 42, a green value of 31 and a blue value of 96.
In CMYK color space (used in color printing), #2a1f60 hex color is composed of 56.25% cyan, 67.71% magenta, 0% yellow and 62.35% black.
#2a1f60 color has a hue of 250.2 degrees, a saturation of 51.18% and a lightness of 24.9%.
#2a1f60 hex color contains mainly BLUE.
The closest web safe color of #2a1f60 is #333366
#2a1f60 hex color has a decimal value of 2760544.
HEX | 2a1f60 | #2a1f60 |
---|---|---|
RGB | 42, 31, 96 | rgb(42, 31, 96) |
RGB Percent | 16.47, 12.16, 37.65 | rgb(16.47, 12.16, 37.65) |
CMYK | 56, 68, 0, 62 | |
HSL | 250.2°, 51.18, 24.9 | hsl(250.2, 51.18%, 24.9%) |
HSV | 250.2°, 67.7, 37.6 |
XYZ | 3.556, 2.317, 11.326 |
---|---|
Hunter Lab | 15.222, 15.062, -33.461 |
CIE-LAB | 17.07, 24.686, -37.042 |
CIE-LCH | 17.07, 44.514, 303.681 |
CIE-LUV | 56.25, 67.71, 0, 62.35 |
Web Safe | 333366 |
RGB percent of color #2a1f60
CMYK percent of color #2a1f60
Text with hexadecimal color #2a1f60
This text has a font color of #2a1f60
<p style="color:#2a1f60">Text here</p>
#2a1f60 Background Color
This box has a background color of #2a1f60
<div style="background-color:#2a1f60">Text here</div>
#2a1f60 Border Color
This box has a border color of #2a1f60
<div style="border: 4px solid #2a1f60">Text here</div>
CSS codes
<p style="color:#2a1f60">Text here</p>
<div style="background-color:#2a1f60">Text here</div>
<div style="border: 4px solid #2a1f60">Text here</div>
#2a1f60 Color on white background
This is how a font and box color of #2a1f60 will look
on a white background.
#2a1f60 Color on black background
This is how a font and box color of #2a1f60 hex color will look
on a black background.