In RGB color space, #0c2d7e hex color has a red value of 12, a green value of 45 and a blue value of 126.
In CMYK color space (used in color printing), #0c2d7e hex color is composed of 90.48% cyan, 64.29% magenta, 0% yellow and 50.59% black.
#0c2d7e color has a hue of 222.6 degrees, a saturation of 82.61% and a lightness of 27.1%.
#0c2d7e hex color contains mainly BLUE.
The closest web safe color of #0c2d7e is #003366
#0c2d7e hex color has a decimal value of 798078.
HEX | 0c2d7e | #0c2d7e |
---|---|---|
RGB | 12, 45, 126 | rgb(12, 45, 126) |
RGB Percent | 4.71, 17.65, 49.41 | rgb(4.71, 17.65, 49.41) |
CMYK | 90, 64, 0, 51 | |
HSL | 222.6°, 82.61, 27.1 | hsl(222.6, 82.61%, 27.1%) |
HSV | 222.6°, 90.5, 49.4 |
XYZ | 4.856, 3.461, 20.151 |
---|---|
Hunter Lab | 18.604, 14.036, -51.198 |
CIE-LAB | 21.803, 22.588, -48.797 |
CIE-LCH | 21.803, 53.771, 294.839 |
CIE-LUV | 90.48, 64.29, 0, 50.59 |
Web Safe | 003366 |
RGB percent of color #0c2d7e
CMYK percent of color #0c2d7e
Text with hexadecimal color #0c2d7e
This text has a font color of #0c2d7e
<p style="color:#0c2d7e">Text here</p>
#0c2d7e Background Color
This box has a background color of #0c2d7e
<div style="background-color:#0c2d7e">Text here</div>
#0c2d7e Border Color
This box has a border color of #0c2d7e
<div style="border: 4px solid #0c2d7e">Text here</div>
CSS codes
<p style="color:#0c2d7e">Text here</p>
<div style="background-color:#0c2d7e">Text here</div>
<div style="border: 4px solid #0c2d7e">Text here</div>
#0c2d7e Color on white background
This is how a font and box color of #0c2d7e will look
on a white background.
#0c2d7e Color on black background
This is how a font and box color of #0c2d7e hex color will look
on a black background.