In RGB color space, #2a31ab hex color has a red value of 42, a green value of 49 and a blue value of 171.
In CMYK color space (used in color printing), #2a31ab hex color is composed of 75.44% cyan, 71.35% magenta, 0% yellow and 32.94% black.
#2a31ab color has a hue of 236.7 degrees, a saturation of 60.56% and a lightness of 41.8%.
#2a31ab hex color contains mainly BLUE.
The closest web safe color of #2a31ab is #333399
#2a31ab hex color has a decimal value of 2765227.
HEX | 2a31ab | #2a31ab |
---|---|---|
RGB | 42, 49, 171 | rgb(42, 49, 171) |
RGB Percent | 16.47, 19.22, 67.06 | rgb(16.47, 19.22, 67.06) |
CMYK | 75, 71, 0, 33 | |
HSL | 236.7°, 60.56, 41.8 | hsl(236.7, 60.56%, 41.8%) |
HSV | 236.7°, 75.4, 67.1 |
XYZ | 9.404, 5.629, 39.119 |
---|---|
Hunter Lab | 23.726, 29.232, -81.15 |
CIE-LAB | 28.456, 39.634, -65.531 |
CIE-LCH | 28.456, 76.584, 301.166 |
CIE-LUV | 75.44, 71.35, 0, 32.94 |
Web Safe | 333399 |
RGB percent of color #2a31ab
CMYK percent of color #2a31ab
Text with hexadecimal color #2a31ab
This text has a font color of #2a31ab
<p style="color:#2a31ab">Text here</p>
#2a31ab Background Color
This box has a background color of #2a31ab
<div style="background-color:#2a31ab">Text here</div>
#2a31ab Border Color
This box has a border color of #2a31ab
<div style="border: 4px solid #2a31ab">Text here</div>
CSS codes
<p style="color:#2a31ab">Text here</p>
<div style="background-color:#2a31ab">Text here</div>
<div style="border: 4px solid #2a31ab">Text here</div>
#2a31ab Color on white background
This is how a font and box color of #2a31ab will look
on a white background.
#2a31ab Color on black background
This is how a font and box color of #2a31ab hex color will look
on a black background.