In RGB color space, #2c40d4 hex color has a red value of 44, a green value of 64 and a blue value of 212.
In CMYK color space (used in color printing), #2c40d4 hex color is composed of 79.25% cyan, 69.81% magenta, 0% yellow and 16.86% black.
#2c40d4 color has a hue of 232.9 degrees, a saturation of 66.14% and a lightness of 50.2%.
#2c40d4 hex color contains mainly BLUE.
The closest web safe color of #2c40d4 is #3333cc
#2c40d4 hex color has a decimal value of 2900180.
HEX | 2c40d4 | #2c40d4 |
---|---|---|
RGB | 44, 64, 212 | rgb(44, 64, 212) |
RGB Percent | 17.25, 25.1, 83.14 | rgb(17.25, 25.1, 83.14) |
CMYK | 79, 70, 0, 17 | |
HSL | 232.9°, 66.14, 50.2 | hsl(232.9, 66.14%, 50.2%) |
HSV | 232.9°, 79.2, 83.1 |
XYZ | 14.756, 8.956, 63.238 |
---|---|
Hunter Lab | 29.927, 35.642, -104.337 |
CIE-LAB | 35.899, 45.024, -77.385 |
CIE-LCH | 35.899, 89.53, 300.192 |
CIE-LUV | 79.25, 69.81, 0, 16.86 |
Web Safe | 3333cc |
RGB percent of color #2c40d4
CMYK percent of color #2c40d4
Text with hexadecimal color #2c40d4
This text has a font color of #2c40d4
<p style="color:#2c40d4">Text here</p>
#2c40d4 Background Color
This box has a background color of #2c40d4
<div style="background-color:#2c40d4">Text here</div>
#2c40d4 Border Color
This box has a border color of #2c40d4
<div style="border: 4px solid #2c40d4">Text here</div>
CSS codes
<p style="color:#2c40d4">Text here</p>
<div style="background-color:#2c40d4">Text here</div>
<div style="border: 4px solid #2c40d4">Text here</div>
#2c40d4 Color on white background
This is how a font and box color of #2c40d4 will look
on a white background.
#2c40d4 Color on black background
This is how a font and box color of #2c40d4 hex color will look
on a black background.