In RGB color space, #0c42a2 hex color has a red value of 12, a green value of 66 and a blue value of 162.
In CMYK color space (used in color printing), #0c42a2 hex color is composed of 92.59% cyan, 59.26% magenta, 0% yellow and 36.47% black.
#0c42a2 color has a hue of 218.4 degrees, a saturation of 86.21% and a lightness of 34.1%.
#0c42a2 hex color contains mainly BLUE.
The closest web safe color of #0c42a2 is #003399
#0c42a2 hex color has a decimal value of 803490.
HEX | 0c42a2 | #0c42a2 |
---|---|---|
RGB | 12, 66, 162 | rgb(12, 66, 162) |
RGB Percent | 4.71, 25.88, 63.53 | rgb(4.71, 25.88, 63.53) |
CMYK | 93, 59, 0, 36 | |
HSL | 218.4°, 86.21, 34.1 | hsl(218.4, 86.21%, 34.1%) |
HSV | 218.4°, 92.6, 63.5 |
XYZ | 8.621, 6.583, 34.999 |
---|---|
Hunter Lab | 25.657, 15.077, -62.917 |
CIE-LAB | 30.838, 22.763, -56.247 |
CIE-LCH | 30.838, 60.678, 292.033 |
CIE-LUV | 92.59, 59.26, 0, 36.47 |
Web Safe | 003399 |
RGB percent of color #0c42a2
CMYK percent of color #0c42a2
Text with hexadecimal color #0c42a2
This text has a font color of #0c42a2
<p style="color:#0c42a2">Text here</p>
#0c42a2 Background Color
This box has a background color of #0c42a2
<div style="background-color:#0c42a2">Text here</div>
#0c42a2 Border Color
This box has a border color of #0c42a2
<div style="border: 4px solid #0c42a2">Text here</div>
CSS codes
<p style="color:#0c42a2">Text here</p>
<div style="background-color:#0c42a2">Text here</div>
<div style="border: 4px solid #0c42a2">Text here</div>
#0c42a2 Color on white background
This is how a font and box color of #0c42a2 will look
on a white background.
#0c42a2 Color on black background
This is how a font and box color of #0c42a2 hex color will look
on a black background.