In RGB color space, #0c2f9d hex color has a red value of 12, a green value of 47 and a blue value of 157.
In CMYK color space (used in color printing), #0c2f9d hex color is composed of 92.36% cyan, 70.06% magenta, 0% yellow and 38.43% black.
#0c2f9d color has a hue of 225.5 degrees, a saturation of 85.8% and a lightness of 33.1%.
#0c2f9d hex color contains mainly BLUE.
The closest web safe color of #0c2f9d is #003399
#0c2f9d hex color has a decimal value of 798621.
HEX | 0c2f9d | #0c2f9d |
---|---|---|
RGB | 12, 47, 157 | rgb(12, 47, 157) |
RGB Percent | 4.71, 18.43, 61.57 | rgb(4.71, 18.43, 61.57) |
CMYK | 92, 70, 0, 38 | |
HSL | 225.5°, 85.8, 33.1 | hsl(225.5, 85.8%, 33.1%) |
HSV | 225.5°, 92.4, 61.6 |
XYZ | 7.254, 4.546, 32.393 |
---|---|
Hunter Lab | 21.321, 23.417, -75.153 |
CIE-LAB | 25.4, 33.64, -62.135 |
CIE-LCH | 25.4, 70.657, 298.431 |
CIE-LUV | 92.36, 70.06, 0, 38.43 |
Web Safe | 003399 |
RGB percent of color #0c2f9d
CMYK percent of color #0c2f9d
Text with hexadecimal color #0c2f9d
This text has a font color of #0c2f9d
<p style="color:#0c2f9d">Text here</p>
#0c2f9d Background Color
This box has a background color of #0c2f9d
<div style="background-color:#0c2f9d">Text here</div>
#0c2f9d Border Color
This box has a border color of #0c2f9d
<div style="border: 4px solid #0c2f9d">Text here</div>
CSS codes
<p style="color:#0c2f9d">Text here</p>
<div style="background-color:#0c2f9d">Text here</div>
<div style="border: 4px solid #0c2f9d">Text here</div>
#0c2f9d Color on white background
This is how a font and box color of #0c2f9d will look
on a white background.
#0c2f9d Color on black background
This is how a font and box color of #0c2f9d hex color will look
on a black background.