In RGB color space, #0c5791 hex color has a red value of 12, a green value of 87 and a blue value of 145.
In CMYK color space (used in color printing), #0c5791 hex color is composed of 91.72% cyan, 40% magenta, 0% yellow and 43.14% black.
#0c5791 color has a hue of 206.2 degrees, a saturation of 84.71% and a lightness of 30.8%.
#0c5791 hex color contains mainly BLUE.
The closest web safe color of #0c5791 is #006699
#0c5791 hex color has a decimal value of 808849.
HEX | 0c5791 | #0c5791 |
---|---|---|
RGB | 12, 87, 145 | rgb(12, 87, 145) |
RGB Percent | 4.71, 34.12, 56.86 | rgb(4.71, 34.12, 56.86) |
CMYK | 92, 40, 0, 43 | |
HSL | 206.2°, 84.71, 30.8 | hsl(206.2, 84.71%, 30.8%) |
HSV | 206.2°, 91.7, 56.9 |
XYZ | 8.671, 8.939, 28.056 |
---|---|
Hunter Lab | 29.898, -0.554, -34.708 |
CIE-LAB | 35.867, 1.522, -37.843 |
CIE-LCH | 35.867, 37.874, 272.303 |
CIE-LUV | 91.72, 40, 0, 43.14 |
Web Safe | 006699 |
RGB percent of color #0c5791
CMYK percent of color #0c5791
Text with hexadecimal color #0c5791
This text has a font color of #0c5791
<p style="color:#0c5791">Text here</p>
#0c5791 Background Color
This box has a background color of #0c5791
<div style="background-color:#0c5791">Text here</div>
#0c5791 Border Color
This box has a border color of #0c5791
<div style="border: 4px solid #0c5791">Text here</div>
CSS codes
<p style="color:#0c5791">Text here</p>
<div style="background-color:#0c5791">Text here</div>
<div style="border: 4px solid #0c5791">Text here</div>
#0c5791 Color on white background
This is how a font and box color of #0c5791 will look
on a white background.
#0c5791 Color on black background
This is how a font and box color of #0c5791 hex color will look
on a black background.