In RGB color space, #0c1f7d hex color has a red value of 12, a green value of 31 and a blue value of 125.
In CMYK color space (used in color printing), #0c1f7d hex color is composed of 90.4% cyan, 75.2% magenta, 0% yellow and 50.98% black.
#0c1f7d color has a hue of 229.9 degrees, a saturation of 82.48% and a lightness of 26.9%.
#0c1f7d hex color contains mainly BLUE.
The closest web safe color of #0c1f7d is #003366
#0c1f7d hex color has a decimal value of 794493.
HEX | 0c1f7d | #0c1f7d |
---|---|---|
RGB | 12, 31, 125 | rgb(12, 31, 125) |
RGB Percent | 4.71, 12.16, 49.02 | rgb(4.71, 12.16, 49.02) |
CMYK | 90, 75, 0, 51 | |
HSL | 229.9°, 82.48, 26.9 | hsl(229.9, 82.48%, 26.9%) |
HSV | 229.9°, 90.4, 49 |
XYZ | 4.343, 2.539, 19.663 |
---|---|
Hunter Lab | 15.934, 20.767, -62.01 |
CIE-LAB | 18.094, 31.796, -54.264 |
CIE-LCH | 18.094, 62.893, 300.368 |
CIE-LUV | 90.4, 75.2, 0, 50.98 |
Web Safe | 003366 |
RGB percent of color #0c1f7d
CMYK percent of color #0c1f7d
Text with hexadecimal color #0c1f7d
This text has a font color of #0c1f7d
<p style="color:#0c1f7d">Text here</p>
#0c1f7d Background Color
This box has a background color of #0c1f7d
<div style="background-color:#0c1f7d">Text here</div>
#0c1f7d Border Color
This box has a border color of #0c1f7d
<div style="border: 4px solid #0c1f7d">Text here</div>
CSS codes
<p style="color:#0c1f7d">Text here</p>
<div style="background-color:#0c1f7d">Text here</div>
<div style="border: 4px solid #0c1f7d">Text here</div>
#0c1f7d Color on white background
This is how a font and box color of #0c1f7d will look
on a white background.
#0c1f7d Color on black background
This is how a font and box color of #0c1f7d hex color will look
on a black background.