In RGB color space, #0c1a40 hex color has a red value of 12, a green value of 26 and a blue value of 64.
In CMYK color space (used in color printing), #0c1a40 hex color is composed of 81.25% cyan, 59.38% magenta, 0% yellow and 74.9% black.
#0c1a40 color has a hue of 223.8 degrees, a saturation of 68.42% and a lightness of 14.9%.
#0c1a40 hex color contains mainly BLUE.
The closest web safe color of #0c1a40 is #003333
#0c1a40 hex color has a decimal value of 793152.
HEX | 0c1a40 | #0c1a40 |
---|---|---|
RGB | 12, 26, 64 | rgb(12, 26, 64) |
RGB Percent | 4.71, 10.2, 25.1 | rgb(4.71, 10.2, 25.1) |
CMYK | 81, 59, 0, 75 | |
HSL | 223.8°, 68.42, 14.9 | hsl(223.8, 68.42%, 14.9%) |
HSV | 223.8°, 81.3, 25.1 |
XYZ | 1.446, 1.187, 5.003 |
---|---|
Hunter Lab | 10.895, 4.625, -19.6 |
CIE-LAB | 10.461, 9.836, -26.012 |
CIE-LCH | 10.461, 27.81, 290.713 |
CIE-LUV | 81.25, 59.38, 0, 74.9 |
Web Safe | 003333 |
RGB percent of color #0c1a40
CMYK percent of color #0c1a40
Text with hexadecimal color #0c1a40
This text has a font color of #0c1a40
<p style="color:#0c1a40">Text here</p>
#0c1a40 Background Color
This box has a background color of #0c1a40
<div style="background-color:#0c1a40">Text here</div>
#0c1a40 Border Color
This box has a border color of #0c1a40
<div style="border: 4px solid #0c1a40">Text here</div>
CSS codes
<p style="color:#0c1a40">Text here</p>
<div style="background-color:#0c1a40">Text here</div>
<div style="border: 4px solid #0c1a40">Text here</div>
#0c1a40 Color on white background
This is how a font and box color of #0c1a40 will look
on a white background.
#0c1a40 Color on black background
This is how a font and box color of #0c1a40 hex color will look
on a black background.