In RGB color space, #0c2a4c hex color has a red value of 12, a green value of 42 and a blue value of 76.
In CMYK color space (used in color printing), #0c2a4c hex color is composed of 84.21% cyan, 44.74% magenta, 0% yellow and 70.2% black.
#0c2a4c color has a hue of 211.9 degrees, a saturation of 72.73% and a lightness of 17.3%.
#0c2a4c hex color contains mainly BLUE.
The closest web safe color of #0c2a4c is #003333
#0c2a4c hex color has a decimal value of 797260.
HEX | 0c2a4c | #0c2a4c |
---|---|---|
RGB | 12, 42, 76 | rgb(12, 42, 76) |
RGB Percent | 4.71, 16.47, 29.8 | rgb(4.71, 16.47, 29.8) |
CMYK | 84, 45, 0, 70 | |
HSL | 211.9°, 72.73, 17.3 | hsl(211.9, 72.73%, 17.3%) |
HSV | 211.9°, 84.2, 29.8 |
XYZ | 2.284, 2.256, 7.153 |
---|---|
Hunter Lab | 15.02, 0.858, -17.722 |
CIE-LAB | 16.777, 3.005, -24.188 |
CIE-LCH | 16.777, 24.374, 277.082 |
CIE-LUV | 84.21, 44.74, 0, 70.2 |
Web Safe | 003333 |
RGB percent of color #0c2a4c
CMYK percent of color #0c2a4c
Text with hexadecimal color #0c2a4c
This text has a font color of #0c2a4c
<p style="color:#0c2a4c">Text here</p>
#0c2a4c Background Color
This box has a background color of #0c2a4c
<div style="background-color:#0c2a4c">Text here</div>
#0c2a4c Border Color
This box has a border color of #0c2a4c
<div style="border: 4px solid #0c2a4c">Text here</div>
CSS codes
<p style="color:#0c2a4c">Text here</p>
<div style="background-color:#0c2a4c">Text here</div>
<div style="border: 4px solid #0c2a4c">Text here</div>
#0c2a4c Color on white background
This is how a font and box color of #0c2a4c will look
on a white background.
#0c2a4c Color on black background
This is how a font and box color of #0c2a4c hex color will look
on a black background.