In RGB color space, #0c2f9a hex color has a red value of 12, a green value of 47 and a blue value of 154.
In CMYK color space (used in color printing), #0c2f9a hex color is composed of 92.21% cyan, 69.48% magenta, 0% yellow and 39.61% black.
#0c2f9a color has a hue of 225.2 degrees, a saturation of 85.54% and a lightness of 32.5%.
#0c2f9a hex color contains mainly BLUE.
The closest web safe color of #0c2f9a is #003399
#0c2f9a hex color has a decimal value of 798618.
HEX | 0c2f9a | #0c2f9a |
---|---|---|
RGB | 12, 47, 154 | rgb(12, 47, 154) |
RGB Percent | 4.71, 18.43, 60.39 | rgb(4.71, 18.43, 60.39) |
CMYK | 92, 69, 0, 40 | |
HSL | 225.2°, 85.54, 32.5 | hsl(225.2, 85.54%, 32.5%) |
HSV | 225.2°, 92.2, 60.4 |
XYZ | 7.001, 4.444, 31.061 |
---|---|
Hunter Lab | 21.081, 22.389, -72.603 |
CIE-LAB | 25.088, 32.489, -60.817 |
CIE-LCH | 25.088, 68.951, 298.112 |
CIE-LUV | 92.21, 69.48, 0, 39.61 |
Web Safe | 003399 |
RGB percent of color #0c2f9a
CMYK percent of color #0c2f9a
Text with hexadecimal color #0c2f9a
This text has a font color of #0c2f9a
<p style="color:#0c2f9a">Text here</p>
#0c2f9a Background Color
This box has a background color of #0c2f9a
<div style="background-color:#0c2f9a">Text here</div>
#0c2f9a Border Color
This box has a border color of #0c2f9a
<div style="border: 4px solid #0c2f9a">Text here</div>
CSS codes
<p style="color:#0c2f9a">Text here</p>
<div style="background-color:#0c2f9a">Text here</div>
<div style="border: 4px solid #0c2f9a">Text here</div>
#0c2f9a Color on white background
This is how a font and box color of #0c2f9a will look
on a white background.
#0c2f9a Color on black background
This is how a font and box color of #0c2f9a hex color will look
on a black background.