In RGB color space, #2c31a4 hex color has a red value of 44, a green value of 49 and a blue value of 164.
In CMYK color space (used in color printing), #2c31a4 hex color is composed of 73.17% cyan, 70.12% magenta, 0% yellow and 35.69% black.
#2c31a4 color has a hue of 237.5 degrees, a saturation of 57.69% and a lightness of 40.8%.
#2c31a4 hex color contains mainly BLUE.
The closest web safe color of #2c31a4 is #333399
#2c31a4 hex color has a decimal value of 2896292.
HEX | 2c31a4 | #2c31a4 |
---|---|---|
RGB | 44, 49, 164 | rgb(44, 49, 164) |
RGB Percent | 17.25, 19.22, 64.31 | rgb(17.25, 19.22, 64.31) |
CMYK | 73, 70, 0, 36 | |
HSL | 237.5°, 57.69, 40.8 | hsl(237.5, 57.69%, 40.8%) |
HSV | 237.5°, 73.2, 64.3 |
XYZ | 8.838, 5.412, 35.701 |
---|---|
Hunter Lab | 23.264, 27.102, -74.703 |
CIE-LAB | 27.878, 37.393, -62.261 |
CIE-LCH | 27.878, 72.627, 300.988 |
CIE-LUV | 73.17, 70.12, 0, 35.69 |
Web Safe | 333399 |
RGB percent of color #2c31a4
CMYK percent of color #2c31a4
Text with hexadecimal color #2c31a4
This text has a font color of #2c31a4
<p style="color:#2c31a4">Text here</p>
#2c31a4 Background Color
This box has a background color of #2c31a4
<div style="background-color:#2c31a4">Text here</div>
#2c31a4 Border Color
This box has a border color of #2c31a4
<div style="border: 4px solid #2c31a4">Text here</div>
CSS codes
<p style="color:#2c31a4">Text here</p>
<div style="background-color:#2c31a4">Text here</div>
<div style="border: 4px solid #2c31a4">Text here</div>
#2c31a4 Color on white background
This is how a font and box color of #2c31a4 will look
on a white background.
#2c31a4 Color on black background
This is how a font and box color of #2c31a4 hex color will look
on a black background.