In RGB color space, #1f0c8a hex color has a red value of 31, a green value of 12 and a blue value of 138.
In CMYK color space (used in color printing), #1f0c8a hex color is composed of 77.54% cyan, 91.3% magenta, 0% yellow and 45.88% black.
#1f0c8a color has a hue of 249 degrees, a saturation of 84% and a lightness of 29.4%.
#1f0c8a hex color contains mainly BLUE.
The closest web safe color of #1f0c8a is #330099
#1f0c8a hex color has a decimal value of 2034826.
HEX | 1f0c8a | #1f0c8a |
---|---|---|
RGB | 31, 12, 138 | rgb(31, 12, 138) |
RGB Percent | 12.16, 4.71, 54.12 | rgb(12.16, 4.71, 54.12) |
CMYK | 78, 91, 0, 46 | |
HSL | 249°, 84, 29.4 | hsl(249, 84%, 29.4%) |
HSV | 249°, 91.3, 54.1 |
XYZ | 5.284, 2.389, 24.227 |
---|---|
Hunter Lab | 15.456, 33.974, -82.114 |
CIE-LAB | 17.409, 46.825, -63.591 |
CIE-LCH | 17.409, 78.971, 306.366 |
CIE-LUV | 77.54, 91.3, 0, 45.88 |
Web Safe | 330099 |
RGB percent of color #1f0c8a
CMYK percent of color #1f0c8a
Text with hexadecimal color #1f0c8a
This text has a font color of #1f0c8a
<p style="color:#1f0c8a">Text here</p>
#1f0c8a Background Color
This box has a background color of #1f0c8a
<div style="background-color:#1f0c8a">Text here</div>
#1f0c8a Border Color
This box has a border color of #1f0c8a
<div style="border: 4px solid #1f0c8a">Text here</div>
CSS codes
<p style="color:#1f0c8a">Text here</p>
<div style="background-color:#1f0c8a">Text here</div>
<div style="border: 4px solid #1f0c8a">Text here</div>
#1f0c8a Color on white background
This is how a font and box color of #1f0c8a will look
on a white background.
#1f0c8a Color on black background
This is how a font and box color of #1f0c8a hex color will look
on a black background.