In RGB color space, #0c1940 hex color has a red value of 12, a green value of 25 and a blue value of 64.
In CMYK color space (used in color printing), #0c1940 hex color is composed of 81.25% cyan, 60.94% magenta, 0% yellow and 74.9% black.
#0c1940 color has a hue of 225 degrees, a saturation of 68.42% and a lightness of 14.9%.
#0c1940 hex color contains mainly BLUE.
The closest web safe color of #0c1940 is #000033
#0c1940 hex color has a decimal value of 792896.
HEX | 0c1940 | #0c1940 |
---|---|---|
RGB | 12, 25, 64 | rgb(12, 25, 64) |
RGB Percent | 4.71, 9.8, 25.1 | rgb(4.71, 9.8, 25.1) |
CMYK | 81, 61, 0, 75 | |
HSL | 225°, 68.42, 14.9 | hsl(225, 68.42%, 14.9%) |
HSV | 225°, 81.3, 25.1 |
XYZ | 1.425, 1.144, 4.996 |
---|---|
Hunter Lab | 10.696, 5.064, -20.207 |
CIE-LAB | 10.138, 10.628, -26.536 |
CIE-LCH | 10.138, 28.585, 291.827 |
CIE-LUV | 81.25, 60.94, 0, 74.9 |
Web Safe | 000033 |
RGB percent of color #0c1940
CMYK percent of color #0c1940
Text with hexadecimal color #0c1940
This text has a font color of #0c1940
<p style="color:#0c1940">Text here</p>
#0c1940 Background Color
This box has a background color of #0c1940
<div style="background-color:#0c1940">Text here</div>
#0c1940 Border Color
This box has a border color of #0c1940
<div style="border: 4px solid #0c1940">Text here</div>
CSS codes
<p style="color:#0c1940">Text here</p>
<div style="background-color:#0c1940">Text here</div>
<div style="border: 4px solid #0c1940">Text here</div>
#0c1940 Color on white background
This is how a font and box color of #0c1940 will look
on a white background.
#0c1940 Color on black background
This is how a font and box color of #0c1940 hex color will look
on a black background.