In RGB color space, #0c1a7c hex color has a red value of 12, a green value of 26 and a blue value of 124.
In CMYK color space (used in color printing), #0c1a7c hex color is composed of 90.32% cyan, 79.03% magenta, 0% yellow and 51.37% black.
#0c1a7c color has a hue of 232.5 degrees, a saturation of 82.35% and a lightness of 26.7%.
#0c1a7c hex color contains mainly BLUE.
The closest web safe color of #0c1a7c is #003366
#0c1a7c hex color has a decimal value of 793212.
HEX | 0c1a7c | #0c1a7c |
---|---|---|
RGB | 12, 26, 124 | rgb(12, 26, 124) |
RGB Percent | 4.71, 10.2, 48.63 | rgb(4.71, 10.2, 48.63) |
CMYK | 90, 79, 0, 51 | |
HSL | 232.5°, 82.35, 26.7 | hsl(232.5, 82.35%, 26.7%) |
HSV | 232.5°, 90.3, 48.6 |
XYZ | 4.159, 2.272, 19.288 |
---|---|
Hunter Lab | 15.073, 22.874, -65.318 |
CIE-LAB | 16.854, 34.578, -55.678 |
CIE-LCH | 16.854, 65.541, 301.842 |
CIE-LUV | 90.32, 79.03, 0, 51.37 |
Web Safe | 003366 |
RGB percent of color #0c1a7c
CMYK percent of color #0c1a7c
Text with hexadecimal color #0c1a7c
This text has a font color of #0c1a7c
<p style="color:#0c1a7c">Text here</p>
#0c1a7c Background Color
This box has a background color of #0c1a7c
<div style="background-color:#0c1a7c">Text here</div>
#0c1a7c Border Color
This box has a border color of #0c1a7c
<div style="border: 4px solid #0c1a7c">Text here</div>
CSS codes
<p style="color:#0c1a7c">Text here</p>
<div style="background-color:#0c1a7c">Text here</div>
<div style="border: 4px solid #0c1a7c">Text here</div>
#0c1a7c Color on white background
This is how a font and box color of #0c1a7c will look
on a white background.
#0c1a7c Color on black background
This is how a font and box color of #0c1a7c hex color will look
on a black background.