In RGB color space, #0c2f6c hex color has a red value of 12, a green value of 47 and a blue value of 108.
In CMYK color space (used in color printing), #0c2f6c hex color is composed of 88.89% cyan, 56.48% magenta, 0% yellow and 57.65% black.
#0c2f6c color has a hue of 218.1 degrees, a saturation of 80% and a lightness of 23.5%.
#0c2f6c hex color contains mainly BLUE.
The closest web safe color of #0c2f6c is #003366
#0c2f6c hex color has a decimal value of 798572.
HEX | 0c2f6c | #0c2f6c |
---|---|---|
RGB | 12, 47, 108 | rgb(12, 47, 108) |
RGB Percent | 4.71, 18.43, 42.35 | rgb(4.71, 18.43, 42.35) |
CMYK | 89, 56, 0, 58 | |
HSL | 218.1°, 80, 23.5 | hsl(218.1, 80%, 23.5%) |
HSV | 218.1°, 88.9, 42.4 |
XYZ | 3.875, 3.194, 14.6 |
---|---|
Hunter Lab | 17.872, 7.427, -35.926 |
CIE-LAB | 20.805, 13.446, -38.911 |
CIE-LCH | 20.805, 41.169, 289.063 |
CIE-LUV | 88.89, 56.48, 0, 57.65 |
Web Safe | 003366 |
RGB percent of color #0c2f6c
CMYK percent of color #0c2f6c
Text with hexadecimal color #0c2f6c
This text has a font color of #0c2f6c
<p style="color:#0c2f6c">Text here</p>
#0c2f6c Background Color
This box has a background color of #0c2f6c
<div style="background-color:#0c2f6c">Text here</div>
#0c2f6c Border Color
This box has a border color of #0c2f6c
<div style="border: 4px solid #0c2f6c">Text here</div>
CSS codes
<p style="color:#0c2f6c">Text here</p>
<div style="background-color:#0c2f6c">Text here</div>
<div style="border: 4px solid #0c2f6c">Text here</div>
#0c2f6c Color on white background
This is how a font and box color of #0c2f6c will look
on a white background.
#0c2f6c Color on black background
This is how a font and box color of #0c2f6c hex color will look
on a black background.