In RGB color space, #0c1c54 hex color has a red value of 12, a green value of 28 and a blue value of 84.
In CMYK color space (used in color printing), #0c1c54 hex color is composed of 85.71% cyan, 66.67% magenta, 0% yellow and 67.06% black.
#0c1c54 color has a hue of 226.7 degrees, a saturation of 75% and a lightness of 18.8%.
#0c1c54 hex color contains mainly BLUE.
The closest web safe color of #0c1c54 is #003366
#0c1c54 hex color has a decimal value of 793684.
HEX | 0c1c54 | #0c1c54 |
---|---|---|
RGB | 12, 28, 84 | rgb(12, 28, 84) |
RGB Percent | 4.71, 10.98, 32.94 | rgb(4.71, 10.98, 32.94) |
CMYK | 86, 67, 0, 67 | |
HSL | 226.7°, 75, 18.8 | hsl(226.7, 75%, 18.8%) |
HSV | 226.7°, 85.7, 32.9 |
XYZ | 2.167, 1.549, 8.572 |
---|---|
Hunter Lab | 12.446, 9.299, -32.123 |
CIE-LAB | 12.916, 17.139, -35.862 |
CIE-LCH | 12.916, 39.747, 295.544 |
CIE-LUV | 85.71, 66.67, 0, 67.06 |
Web Safe | 003366 |
RGB percent of color #0c1c54
CMYK percent of color #0c1c54
Text with hexadecimal color #0c1c54
This text has a font color of #0c1c54
<p style="color:#0c1c54">Text here</p>
#0c1c54 Background Color
This box has a background color of #0c1c54
<div style="background-color:#0c1c54">Text here</div>
#0c1c54 Border Color
This box has a border color of #0c1c54
<div style="border: 4px solid #0c1c54">Text here</div>
CSS codes
<p style="color:#0c1c54">Text here</p>
<div style="background-color:#0c1c54">Text here</div>
<div style="border: 4px solid #0c1c54">Text here</div>
#0c1c54 Color on white background
This is how a font and box color of #0c1c54 will look
on a white background.
#0c1c54 Color on black background
This is how a font and box color of #0c1c54 hex color will look
on a black background.