In RGB color space, #1f0c7b hex color has a red value of 31, a green value of 12 and a blue value of 123.
In CMYK color space (used in color printing), #1f0c7b hex color is composed of 74.8% cyan, 90.24% magenta, 0% yellow and 51.76% black.
#1f0c7b color has a hue of 250.3 degrees, a saturation of 82.22% and a lightness of 26.5%.
#1f0c7b hex color contains mainly BLUE.
The closest web safe color of #1f0c7b is #330066
#1f0c7b hex color has a decimal value of 2034811.
HEX | 1f0c7b | #1f0c7b |
---|---|---|
RGB | 31, 12, 123 | rgb(31, 12, 123) |
RGB Percent | 12.16, 4.71, 48.24 | rgb(12.16, 4.71, 48.24) |
CMYK | 75, 90, 0, 52 | |
HSL | 250.3°, 82.22, 26.5 | hsl(250.3, 82.22%, 26.5%) |
HSV | 250.3°, 90.2, 48.2 |
XYZ | 4.272, 1.984, 18.897 |
---|---|
Hunter Lab | 14.085, 29.488, -69.683 |
CIE-LAB | 15.403, 42.416, -57.417 |
CIE-LCH | 15.403, 71.385, 306.455 |
CIE-LUV | 74.8, 90.24, 0, 51.76 |
Web Safe | 330066 |
RGB percent of color #1f0c7b
CMYK percent of color #1f0c7b
Text with hexadecimal color #1f0c7b
This text has a font color of #1f0c7b
<p style="color:#1f0c7b">Text here</p>
#1f0c7b Background Color
This box has a background color of #1f0c7b
<div style="background-color:#1f0c7b">Text here</div>
#1f0c7b Border Color
This box has a border color of #1f0c7b
<div style="border: 4px solid #1f0c7b">Text here</div>
CSS codes
<p style="color:#1f0c7b">Text here</p>
<div style="background-color:#1f0c7b">Text here</div>
<div style="border: 4px solid #1f0c7b">Text here</div>
#1f0c7b Color on white background
This is how a font and box color of #1f0c7b will look
on a white background.
#1f0c7b Color on black background
This is how a font and box color of #1f0c7b hex color will look
on a black background.