In RGB color space, #0c1a5e hex color has a red value of 12, a green value of 26 and a blue value of 94.
In CMYK color space (used in color printing), #0c1a5e hex color is composed of 87.23% cyan, 72.34% magenta, 0% yellow and 63.14% black.
#0c1a5e color has a hue of 229.8 degrees, a saturation of 77.36% and a lightness of 20.8%.
#0c1a5e hex color contains mainly BLUE.
The closest web safe color of #0c1a5e is #003366
#0c1a5e hex color has a decimal value of 793182.
HEX | 0c1a5e | #0c1a5e |
---|---|---|
RGB | 12, 26, 94 | rgb(12, 26, 94) |
RGB Percent | 4.71, 10.2, 36.86 | rgb(4.71, 10.2, 36.86) |
CMYK | 87, 72, 0, 63 | |
HSL | 229.8°, 77.36, 20.8 | hsl(229.8, 77.36%, 20.8%) |
HSV | 229.8°, 87.2, 36.9 |
XYZ | 2.541, 1.625, 10.769 |
---|---|
Hunter Lab | 12.748, 13.273, -41.164 |
CIE-LAB | 13.382, 22.861, -41.834 |
CIE-LCH | 13.382, 47.673, 298.655 |
CIE-LUV | 87.23, 72.34, 0, 63.14 |
Web Safe | 003366 |
RGB percent of color #0c1a5e
CMYK percent of color #0c1a5e
Text with hexadecimal color #0c1a5e
This text has a font color of #0c1a5e
<p style="color:#0c1a5e">Text here</p>
#0c1a5e Background Color
This box has a background color of #0c1a5e
<div style="background-color:#0c1a5e">Text here</div>
#0c1a5e Border Color
This box has a border color of #0c1a5e
<div style="border: 4px solid #0c1a5e">Text here</div>
CSS codes
<p style="color:#0c1a5e">Text here</p>
<div style="background-color:#0c1a5e">Text here</div>
<div style="border: 4px solid #0c1a5e">Text here</div>
#0c1a5e Color on white background
This is how a font and box color of #0c1a5e will look
on a white background.
#0c1a5e Color on black background
This is how a font and box color of #0c1a5e hex color will look
on a black background.