In RGB color space, #1f1570 hex color has a red value of 31, a green value of 21 and a blue value of 112.
In CMYK color space (used in color printing), #1f1570 hex color is composed of 72.32% cyan, 81.25% magenta, 0% yellow and 56.08% black.
#1f1570 color has a hue of 246.6 degrees, a saturation of 68.42% and a lightness of 26.1%.
#1f1570 hex color contains mainly BLUE.
The closest web safe color of #1f1570 is #330066
#1f1570 hex color has a decimal value of 2037104.
HEX | 1f1570 | #1f1570 |
---|---|---|
RGB | 31, 21, 112 | rgb(31, 21, 112) |
RGB Percent | 12.16, 8.24, 43.92 | rgb(12.16, 8.24, 43.92) |
CMYK | 72, 81, 0, 56 | |
HSL | 246.6°, 68.42, 26.1 | hsl(246.6, 68.42%, 26.1%) |
HSV | 246.6°, 81.3, 43.9 |
XYZ | 3.758, 1.997, 15.517 |
---|---|
Hunter Lab | 14.132, 22.738, -55.211 |
CIE-LAB | 15.471, 34.684, -50.206 |
CIE-LCH | 15.471, 61.021, 304.638 |
CIE-LUV | 72.32, 81.25, 0, 56.08 |
Web Safe | 330066 |
RGB percent of color #1f1570
CMYK percent of color #1f1570
Text with hexadecimal color #1f1570
This text has a font color of #1f1570
<p style="color:#1f1570">Text here</p>
#1f1570 Background Color
This box has a background color of #1f1570
<div style="background-color:#1f1570">Text here</div>
#1f1570 Border Color
This box has a border color of #1f1570
<div style="border: 4px solid #1f1570">Text here</div>
CSS codes
<p style="color:#1f1570">Text here</p>
<div style="background-color:#1f1570">Text here</div>
<div style="border: 4px solid #1f1570">Text here</div>
#1f1570 Color on white background
This is how a font and box color of #1f1570 will look
on a white background.
#1f1570 Color on black background
This is how a font and box color of #1f1570 hex color will look
on a black background.