In RGB color space, #2a31a6 hex color has a red value of 42, a green value of 49 and a blue value of 166.
In CMYK color space (used in color printing), #2a31a6 hex color is composed of 74.7% cyan, 70.48% magenta, 0% yellow and 34.9% black.
#2a31a6 color has a hue of 236.6 degrees, a saturation of 59.62% and a lightness of 40.8%.
#2a31a6 hex color contains mainly BLUE.
The closest web safe color of #2a31a6 is #333399
#2a31a6 hex color has a decimal value of 2765222.
HEX | 2a31a6 | #2a31a6 |
---|---|---|
RGB | 42, 49, 166 | rgb(42, 49, 166) |
RGB Percent | 16.47, 19.22, 65.1 | rgb(16.47, 19.22, 65.1) |
CMYK | 75, 70, 0, 35 | |
HSL | 236.6°, 59.62, 40.8 | hsl(236.6, 59.62%, 40.8%) |
HSV | 236.6°, 74.7, 65.1 |
XYZ | 8.936, 5.442, 36.656 |
---|---|
Hunter Lab | 23.328, 27.552, -76.834 |
CIE-LAB | 27.959, 37.878, -63.341 |
CIE-LCH | 27.959, 73.803, 300.879 |
CIE-LUV | 74.7, 70.48, 0, 34.9 |
Web Safe | 333399 |
RGB percent of color #2a31a6
CMYK percent of color #2a31a6
Text with hexadecimal color #2a31a6
This text has a font color of #2a31a6
<p style="color:#2a31a6">Text here</p>
#2a31a6 Background Color
This box has a background color of #2a31a6
<div style="background-color:#2a31a6">Text here</div>
#2a31a6 Border Color
This box has a border color of #2a31a6
<div style="border: 4px solid #2a31a6">Text here</div>
CSS codes
<p style="color:#2a31a6">Text here</p>
<div style="background-color:#2a31a6">Text here</div>
<div style="border: 4px solid #2a31a6">Text here</div>
#2a31a6 Color on white background
This is how a font and box color of #2a31a6 will look
on a white background.
#2a31a6 Color on black background
This is how a font and box color of #2a31a6 hex color will look
on a black background.