In RGB color space, #0c2f7e hex color has a red value of 12, a green value of 47 and a blue value of 126.
In CMYK color space (used in color printing), #0c2f7e hex color is composed of 90.48% cyan, 62.7% magenta, 0% yellow and 50.59% black.
#0c2f7e color has a hue of 221.6 degrees, a saturation of 82.61% and a lightness of 27.1%.
#0c2f7e hex color contains mainly BLUE.
The closest web safe color of #0c2f7e is #003366
#0c2f7e hex color has a decimal value of 798590.
HEX | 0c2f7e | #0c2f7e |
---|---|---|
RGB | 12, 47, 126 | rgb(12, 47, 126) |
RGB Percent | 4.71, 18.43, 49.41 | rgb(4.71, 18.43, 49.41) |
CMYK | 90, 63, 0, 51 | |
HSL | 221.6°, 82.61, 27.1 | hsl(221.6, 82.61%, 27.1%) |
HSV | 221.6°, 90.5, 49.4 |
XYZ | 4.934, 3.618, 20.177 |
---|---|
Hunter Lab | 19.021, 13.016, -49.578 |
CIE-LAB | 22.366, 21.148, -47.875 |
CIE-LCH | 22.366, 52.338, 293.833 |
CIE-LUV | 90.48, 62.7, 0, 50.59 |
Web Safe | 003366 |
RGB percent of color #0c2f7e
CMYK percent of color #0c2f7e
Text with hexadecimal color #0c2f7e
This text has a font color of #0c2f7e
<p style="color:#0c2f7e">Text here</p>
#0c2f7e Background Color
This box has a background color of #0c2f7e
<div style="background-color:#0c2f7e">Text here</div>
#0c2f7e Border Color
This box has a border color of #0c2f7e
<div style="border: 4px solid #0c2f7e">Text here</div>
CSS codes
<p style="color:#0c2f7e">Text here</p>
<div style="background-color:#0c2f7e">Text here</div>
<div style="border: 4px solid #0c2f7e">Text here</div>
#0c2f7e Color on white background
This is how a font and box color of #0c2f7e will look
on a white background.
#0c2f7e Color on black background
This is how a font and box color of #0c2f7e hex color will look
on a black background.