In RGB color space, #0c4fa6 hex color has a red value of 12, a green value of 79 and a blue value of 166.
In CMYK color space (used in color printing), #0c4fa6 hex color is composed of 92.77% cyan, 52.41% magenta, 0% yellow and 34.9% black.
#0c4fa6 color has a hue of 213.9 degrees, a saturation of 86.52% and a lightness of 34.9%.
#0c4fa6 hex color contains mainly BLUE.
The closest web safe color of #0c4fa6 is #006699
#0c4fa6 hex color has a decimal value of 806822.
HEX | 0c4fa6 | #0c4fa6 |
---|---|---|
RGB | 12, 79, 166 | rgb(12, 79, 166) |
RGB Percent | 4.71, 30.98, 65.1 | rgb(4.71, 30.98, 65.1) |
CMYK | 93, 52, 0, 35 | |
HSL | 213.9°, 86.52, 34.9 | hsl(213.9, 86.52%, 34.9%) |
HSV | 213.9°, 92.8, 65.1 |
XYZ | 9.831, 8.423, 37.184 |
---|---|
Hunter Lab | 29.022, 9.676, -55.648 |
CIE-LAB | 34.849, 15.53, -52.126 |
CIE-LCH | 34.849, 54.39, 286.59 |
CIE-LUV | 92.77, 52.41, 0, 34.9 |
Web Safe | 006699 |
RGB percent of color #0c4fa6
CMYK percent of color #0c4fa6
Text with hexadecimal color #0c4fa6
This text has a font color of #0c4fa6
<p style="color:#0c4fa6">Text here</p>
#0c4fa6 Background Color
This box has a background color of #0c4fa6
<div style="background-color:#0c4fa6">Text here</div>
#0c4fa6 Border Color
This box has a border color of #0c4fa6
<div style="border: 4px solid #0c4fa6">Text here</div>
CSS codes
<p style="color:#0c4fa6">Text here</p>
<div style="background-color:#0c4fa6">Text here</div>
<div style="border: 4px solid #0c4fa6">Text here</div>
#0c4fa6 Color on white background
This is how a font and box color of #0c4fa6 will look
on a white background.
#0c4fa6 Color on black background
This is how a font and box color of #0c4fa6 hex color will look
on a black background.