In RGB color space, #0c2c9d hex color has a red value of 12, a green value of 44 and a blue value of 157.
In CMYK color space (used in color printing), #0c2c9d hex color is composed of 92.36% cyan, 71.97% magenta, 0% yellow and 38.43% black.
#0c2c9d color has a hue of 226.8 degrees, a saturation of 85.8% and a lightness of 33.1%.
#0c2c9d hex color contains mainly BLUE.
The closest web safe color of #0c2c9d is #003399
#0c2c9d hex color has a decimal value of 797853.
HEX | 0c2c9d | #0c2c9d |
---|---|---|
RGB | 12, 44, 157 | rgb(12, 44, 157) |
RGB Percent | 4.71, 17.25, 61.57 | rgb(4.71, 17.25, 61.57) |
CMYK | 92, 72, 0, 38 | |
HSL | 226.8°, 85.8, 33.1 | hsl(226.8, 85.8%, 33.1%) |
HSV | 226.8°, 92.4, 61.6 |
XYZ | 7.138, 4.314, 32.355 |
---|---|
Hunter Lab | 20.77, 24.997, -77.821 |
CIE-LAB | 24.683, 35.592, -63.318 |
CIE-LCH | 24.683, 72.636, 299.341 |
CIE-LUV | 92.36, 71.97, 0, 38.43 |
Web Safe | 003399 |
RGB percent of color #0c2c9d
CMYK percent of color #0c2c9d
Text with hexadecimal color #0c2c9d
This text has a font color of #0c2c9d
<p style="color:#0c2c9d">Text here</p>
#0c2c9d Background Color
This box has a background color of #0c2c9d
<div style="background-color:#0c2c9d">Text here</div>
#0c2c9d Border Color
This box has a border color of #0c2c9d
<div style="border: 4px solid #0c2c9d">Text here</div>
CSS codes
<p style="color:#0c2c9d">Text here</p>
<div style="background-color:#0c2c9d">Text here</div>
<div style="border: 4px solid #0c2c9d">Text here</div>
#0c2c9d Color on white background
This is how a font and box color of #0c2c9d will look
on a white background.
#0c2c9d Color on black background
This is how a font and box color of #0c2c9d hex color will look
on a black background.