In RGB color space, #0c1a51 hex color has a red value of 12, a green value of 26 and a blue value of 81.
In CMYK color space (used in color printing), #0c1a51 hex color is composed of 85.19% cyan, 67.9% magenta, 0% yellow and 68.24% black.
#0c1a51 color has a hue of 227.8 degrees, a saturation of 74.19% and a lightness of 18.2%.
#0c1a51 hex color contains mainly BLUE.
The closest web safe color of #0c1a51 is #003366
#0c1a51 hex color has a decimal value of 793169.
HEX | 0c1a51 | #0c1a51 |
---|---|---|
RGB | 12, 26, 81 | rgb(12, 26, 81) |
RGB Percent | 4.71, 10.2, 31.76 | rgb(4.71, 10.2, 31.76) |
CMYK | 85, 68, 0, 68 | |
HSL | 227.8°, 74.19, 18.2 | hsl(227.8, 74.19%, 18.2%) |
HSV | 227.8°, 85.2, 31.8 |
XYZ | 2.006, 1.411, 7.951 |
---|---|
Hunter Lab | 11.879, 9.357, -31.371 |
CIE-LAB | 12.031, 17.355, -35.267 |
CIE-LCH | 12.031, 39.306, 296.202 |
CIE-LUV | 85.19, 67.9, 0, 68.24 |
Web Safe | 003366 |
RGB percent of color #0c1a51
CMYK percent of color #0c1a51
Text with hexadecimal color #0c1a51
This text has a font color of #0c1a51
<p style="color:#0c1a51">Text here</p>
#0c1a51 Background Color
This box has a background color of #0c1a51
<div style="background-color:#0c1a51">Text here</div>
#0c1a51 Border Color
This box has a border color of #0c1a51
<div style="border: 4px solid #0c1a51">Text here</div>
CSS codes
<p style="color:#0c1a51">Text here</p>
<div style="background-color:#0c1a51">Text here</div>
<div style="border: 4px solid #0c1a51">Text here</div>
#0c1a51 Color on white background
This is how a font and box color of #0c1a51 will look
on a white background.
#0c1a51 Color on black background
This is how a font and box color of #0c1a51 hex color will look
on a black background.