In RGB color space, #0c2e87 hex color has a red value of 12, a green value of 46 and a blue value of 135.
In CMYK color space (used in color printing), #0c2e87 hex color is composed of 91.11% cyan, 65.93% magenta, 0% yellow and 47.06% black.
#0c2e87 color has a hue of 223.4 degrees, a saturation of 83.67% and a lightness of 28.8%.
#0c2e87 hex color contains mainly BLUE.
The closest web safe color of #0c2e87 is #003399
#0c2e87 hex color has a decimal value of 798343.
HEX | 0c2e87 | #0c2e87 |
---|---|---|
RGB | 12, 46, 135 | rgb(12, 46, 135) |
RGB Percent | 4.71, 18.04, 52.94 | rgb(4.71, 18.04, 52.94) |
CMYK | 91, 66, 0, 47 | |
HSL | 223.4°, 83.67, 28.8 | hsl(223.4, 83.67%, 28.8%) |
HSV | 223.4°, 91.1, 52.9 |
XYZ | 5.502, 3.781, 23.362 |
---|---|
Hunter Lab | 19.445, 16.479, -57.623 |
CIE-LAB | 22.934, 25.6, -52.606 |
CIE-LCH | 22.934, 58.504, 295.949 |
CIE-LUV | 91.11, 65.93, 0, 47.06 |
Web Safe | 003399 |
RGB percent of color #0c2e87
CMYK percent of color #0c2e87
Text with hexadecimal color #0c2e87
This text has a font color of #0c2e87
<p style="color:#0c2e87">Text here</p>
#0c2e87 Background Color
This box has a background color of #0c2e87
<div style="background-color:#0c2e87">Text here</div>
#0c2e87 Border Color
This box has a border color of #0c2e87
<div style="border: 4px solid #0c2e87">Text here</div>
CSS codes
<p style="color:#0c2e87">Text here</p>
<div style="background-color:#0c2e87">Text here</div>
<div style="border: 4px solid #0c2e87">Text here</div>
#0c2e87 Color on white background
This is how a font and box color of #0c2e87 will look
on a white background.
#0c2e87 Color on black background
This is how a font and box color of #0c2e87 hex color will look
on a black background.