In RGB color space, #2c31a8 hex color has a red value of 44, a green value of 49 and a blue value of 168.
In CMYK color space (used in color printing), #2c31a8 hex color is composed of 73.81% cyan, 70.83% magenta, 0% yellow and 34.12% black.
#2c31a8 color has a hue of 237.6 degrees, a saturation of 58.49% and a lightness of 41.6%.
#2c31a8 hex color contains mainly BLUE.
The closest web safe color of #2c31a8 is #333399
#2c31a8 hex color has a decimal value of 2896296.
HEX | 2c31a8 | #2c31a8 |
---|---|---|
RGB | 44, 49, 168 | rgb(44, 49, 168) |
RGB Percent | 17.25, 19.22, 65.88 | rgb(17.25, 19.22, 65.88) |
CMYK | 74, 71, 0, 34 | |
HSL | 237.6°, 58.49, 41.6 | hsl(237.6, 58.49%, 41.6%) |
HSV | 237.6°, 73.8, 65.9 |
XYZ | 9.205, 5.559, 37.634 |
---|---|
Hunter Lab | 23.578, 28.428, -78.133 |
CIE-LAB | 28.271, 38.789, -64.028 |
CIE-LCH | 28.271, 74.861, 301.208 |
CIE-LUV | 73.81, 70.83, 0, 34.12 |
Web Safe | 333399 |
RGB percent of color #2c31a8
CMYK percent of color #2c31a8
Text with hexadecimal color #2c31a8
This text has a font color of #2c31a8
<p style="color:#2c31a8">Text here</p>
#2c31a8 Background Color
This box has a background color of #2c31a8
<div style="background-color:#2c31a8">Text here</div>
#2c31a8 Border Color
This box has a border color of #2c31a8
<div style="border: 4px solid #2c31a8">Text here</div>
CSS codes
<p style="color:#2c31a8">Text here</p>
<div style="background-color:#2c31a8">Text here</div>
<div style="border: 4px solid #2c31a8">Text here</div>
#2c31a8 Color on white background
This is how a font and box color of #2c31a8 will look
on a white background.
#2c31a8 Color on black background
This is how a font and box color of #2c31a8 hex color will look
on a black background.