In RGB color space, #0c42ba hex color has a red value of 12, a green value of 66 and a blue value of 186.
In CMYK color space (used in color printing), #0c42ba hex color is composed of 93.55% cyan, 64.52% magenta, 0% yellow and 27.06% black.
#0c42ba color has a hue of 221.4 degrees, a saturation of 87.88% and a lightness of 38.8%.
#0c42ba hex color contains mainly BLUE.
The closest web safe color of #0c42ba is #0033cc
#0c42ba hex color has a decimal value of 803514.
HEX | 0c42ba | #0c42ba |
---|---|---|
RGB | 12, 66, 186 | rgb(12, 66, 186) |
RGB Percent | 4.71, 25.88, 72.94 | rgb(4.71, 25.88, 72.94) |
CMYK | 94, 65, 0, 27 | |
HSL | 221.4°, 87.88, 38.8 | hsl(221.4, 87.88%, 38.8%) |
HSV | 221.4°, 93.5, 72.9 |
XYZ | 10.963, 7.52, 47.328 |
---|---|
Hunter Lab | 27.423, 23.371, -83.131 |
CIE-LAB | 32.963, 32.343, -67.083 |
CIE-LCH | 32.963, 74.473, 295.74 |
CIE-LUV | 93.55, 64.52, 0, 27.06 |
Web Safe | 0033cc |
RGB percent of color #0c42ba
CMYK percent of color #0c42ba
Text with hexadecimal color #0c42ba
This text has a font color of #0c42ba
<p style="color:#0c42ba">Text here</p>
#0c42ba Background Color
This box has a background color of #0c42ba
<div style="background-color:#0c42ba">Text here</div>
#0c42ba Border Color
This box has a border color of #0c42ba
<div style="border: 4px solid #0c42ba">Text here</div>
CSS codes
<p style="color:#0c42ba">Text here</p>
<div style="background-color:#0c42ba">Text here</div>
<div style="border: 4px solid #0c42ba">Text here</div>
#0c42ba Color on white background
This is how a font and box color of #0c42ba will look
on a white background.
#0c42ba Color on black background
This is how a font and box color of #0c42ba hex color will look
on a black background.