In RGB color space, #2c51a1 hex color has a red value of 44, a green value of 81 and a blue value of 161.
In CMYK color space (used in color printing), #2c51a1 hex color is composed of 72.67% cyan, 49.69% magenta, 0% yellow and 36.86% black.
#2c51a1 color has a hue of 221 degrees, a saturation of 57.07% and a lightness of 40.2%.
#2c51a1 hex color contains mainly BLUE.
The closest web safe color of #2c51a1 is #336699
#2c51a1 hex color has a decimal value of 2904481.
HEX | 2c51a1 | #2c51a1 |
---|---|---|
RGB | 44, 81, 161 | rgb(44, 81, 161) |
RGB Percent | 17.25, 31.76, 63.14 | rgb(17.25, 31.76, 63.14) |
CMYK | 73, 50, 0, 37 | |
HSL | 221°, 57.07, 40.2 | hsl(221, 57.07%, 40.2%) |
HSV | 221°, 72.7, 63.1 |
XYZ | 10.414, 8.994, 34.905 |
---|---|
Hunter Lab | 29.99, 9.501, -48.014 |
CIE-LAB | 35.973, 15.236, -47.272 |
CIE-LCH | 35.973, 49.667, 287.864 |
CIE-LUV | 72.67, 49.69, 0, 36.86 |
Web Safe | 336699 |
RGB percent of color #2c51a1
CMYK percent of color #2c51a1
Text with hexadecimal color #2c51a1
This text has a font color of #2c51a1
<p style="color:#2c51a1">Text here</p>
#2c51a1 Background Color
This box has a background color of #2c51a1
<div style="background-color:#2c51a1">Text here</div>
#2c51a1 Border Color
This box has a border color of #2c51a1
<div style="border: 4px solid #2c51a1">Text here</div>
CSS codes
<p style="color:#2c51a1">Text here</p>
<div style="background-color:#2c51a1">Text here</div>
<div style="border: 4px solid #2c51a1">Text here</div>
#2c51a1 Color on white background
This is how a font and box color of #2c51a1 will look
on a white background.
#2c51a1 Color on black background
This is how a font and box color of #2c51a1 hex color will look
on a black background.