In RGB color space, #0c1a4e hex color has a red value of 12, a green value of 26 and a blue value of 78.
In CMYK color space (used in color printing), #0c1a4e hex color is composed of 84.62% cyan, 66.67% magenta, 0% yellow and 69.41% black.
#0c1a4e color has a hue of 227.3 degrees, a saturation of 73.33% and a lightness of 17.6%.
#0c1a4e hex color contains mainly BLUE.
The closest web safe color of #0c1a4e is #003366
#0c1a4e hex color has a decimal value of 793166.
HEX | 0c1a4e | #0c1a4e |
---|---|---|
RGB | 12, 26, 78 | rgb(12, 26, 78) |
RGB Percent | 4.71, 10.2, 30.59 | rgb(4.71, 10.2, 30.59) |
CMYK | 85, 67, 0, 69 | |
HSL | 227.3°, 73.33, 17.6 | hsl(227.3, 73.33%, 17.6%) |
HSV | 227.3°, 84.6, 30.6 |
XYZ | 1.896, 1.367, 7.372 |
---|---|
Hunter Lab | 11.692, 8.485, -29.199 |
CIE-LAB | 11.736, 16.05, -33.694 |
CIE-LCH | 11.736, 37.321, 295.471 |
CIE-LUV | 84.62, 66.67, 0, 69.41 |
Web Safe | 003366 |
RGB percent of color #0c1a4e
CMYK percent of color #0c1a4e
Text with hexadecimal color #0c1a4e
This text has a font color of #0c1a4e
<p style="color:#0c1a4e">Text here</p>
#0c1a4e Background Color
This box has a background color of #0c1a4e
<div style="background-color:#0c1a4e">Text here</div>
#0c1a4e Border Color
This box has a border color of #0c1a4e
<div style="border: 4px solid #0c1a4e">Text here</div>
CSS codes
<p style="color:#0c1a4e">Text here</p>
<div style="background-color:#0c1a4e">Text here</div>
<div style="border: 4px solid #0c1a4e">Text here</div>
#0c1a4e Color on white background
This is how a font and box color of #0c1a4e will look
on a white background.
#0c1a4e Color on black background
This is how a font and box color of #0c1a4e hex color will look
on a black background.