In RGB color space, #0c5f97 hex color has a red value of 12, a green value of 95 and a blue value of 151.
In CMYK color space (used in color printing), #0c5f97 hex color is composed of 92.05% cyan, 37.09% magenta, 0% yellow and 40.78% black.
#0c5f97 color has a hue of 204.2 degrees, a saturation of 85.28% and a lightness of 32%.
#0c5f97 hex color contains mainly BLUE.
The closest web safe color of #0c5f97 is #006699
#0c5f97 hex color has a decimal value of 810903.
HEX | 0c5f97 | #0c5f97 |
---|---|---|
RGB | 12, 95, 151 | rgb(12, 95, 151) |
RGB Percent | 4.71, 37.25, 59.22 | rgb(4.71, 37.25, 59.22) |
CMYK | 92, 37, 0, 41 | |
HSL | 204.2°, 85.28, 32 | hsl(204.2, 85.28%, 32%) |
HSV | 204.2°, 92.1, 59.2 |
XYZ | 9.83, 10.497, 30.786 |
---|---|
Hunter Lab | 32.399, -2.541, -33.659 |
CIE-LAB | 38.72, -1.165, -36.924 |
CIE-LCH | 38.72, 36.942, 268.193 |
CIE-LUV | 92.05, 37.09, 0, 40.78 |
Web Safe | 006699 |
RGB percent of color #0c5f97
CMYK percent of color #0c5f97
Text with hexadecimal color #0c5f97
This text has a font color of #0c5f97
<p style="color:#0c5f97">Text here</p>
#0c5f97 Background Color
This box has a background color of #0c5f97
<div style="background-color:#0c5f97">Text here</div>
#0c5f97 Border Color
This box has a border color of #0c5f97
<div style="border: 4px solid #0c5f97">Text here</div>
CSS codes
<p style="color:#0c5f97">Text here</p>
<div style="background-color:#0c5f97">Text here</div>
<div style="border: 4px solid #0c5f97">Text here</div>
#0c5f97 Color on white background
This is how a font and box color of #0c5f97 will look
on a white background.
#0c5f97 Color on black background
This is how a font and box color of #0c5f97 hex color will look
on a black background.