In RGB color space, #0c2f9b hex color has a red value of 12, a green value of 47 and a blue value of 155.
In CMYK color space (used in color printing), #0c2f9b hex color is composed of 92.26% cyan, 69.68% magenta, 0% yellow and 39.22% black.
#0c2f9b color has a hue of 225.3 degrees, a saturation of 85.63% and a lightness of 32.7%.
#0c2f9b hex color contains mainly BLUE.
The closest web safe color of #0c2f9b is #003399
#0c2f9b hex color has a decimal value of 798619.
HEX | 0c2f9b | #0c2f9b |
---|---|---|
RGB | 12, 47, 155 | rgb(12, 47, 155) |
RGB Percent | 4.71, 18.43, 60.78 | rgb(4.71, 18.43, 60.78) |
CMYK | 92, 70, 0, 39 | |
HSL | 225.3°, 85.63, 32.7 | hsl(225.3, 85.63%, 32.7%) |
HSV | 225.3°, 92.3, 60.8 |
XYZ | 7.085, 4.478, 31.501 |
---|---|
Hunter Lab | 21.161, 22.731, -73.447 |
CIE-LAB | 25.193, 32.874, -61.255 |
CIE-LCH | 25.193, 69.519, 298.221 |
CIE-LUV | 92.26, 69.68, 0, 39.22 |
Web Safe | 003399 |
RGB percent of color #0c2f9b
CMYK percent of color #0c2f9b
Text with hexadecimal color #0c2f9b
This text has a font color of #0c2f9b
<p style="color:#0c2f9b">Text here</p>
#0c2f9b Background Color
This box has a background color of #0c2f9b
<div style="background-color:#0c2f9b">Text here</div>
#0c2f9b Border Color
This box has a border color of #0c2f9b
<div style="border: 4px solid #0c2f9b">Text here</div>
CSS codes
<p style="color:#0c2f9b">Text here</p>
<div style="background-color:#0c2f9b">Text here</div>
<div style="border: 4px solid #0c2f9b">Text here</div>
#0c2f9b Color on white background
This is how a font and box color of #0c2f9b will look
on a white background.
#0c2f9b Color on black background
This is how a font and box color of #0c2f9b hex color will look
on a black background.