In RGB color space, #1f1870 hex color has a red value of 31, a green value of 24 and a blue value of 112.
In CMYK color space (used in color printing), #1f1870 hex color is composed of 72.32% cyan, 78.57% magenta, 0% yellow and 56.08% black.
#1f1870 color has a hue of 244.8 degrees, a saturation of 64.71% and a lightness of 26.7%.
#1f1870 hex color contains mainly BLUE.
The closest web safe color of #1f1870 is #330066
#1f1870 hex color has a decimal value of 2037872.
HEX | 1f1870 | #1f1870 |
---|---|---|
RGB | 31, 24, 112 | rgb(31, 24, 112) |
RGB Percent | 12.16, 9.41, 43.92 | rgb(12.16, 9.41, 43.92) |
CMYK | 72, 79, 0, 56 | |
HSL | 244.8°, 64.71, 26.7 | hsl(244.8, 64.71%, 26.7%) |
HSV | 244.8°, 78.6, 43.9 |
XYZ | 3.816, 2.114, 15.536 |
---|---|
Hunter Lab | 14.54, 21.404, -53.175 |
CIE-LAB | 16.074, 32.957, -49.209 |
CIE-LCH | 16.074, 59.226, 303.812 |
CIE-LUV | 72.32, 78.57, 0, 56.08 |
Web Safe | 330066 |
RGB percent of color #1f1870
CMYK percent of color #1f1870
Text with hexadecimal color #1f1870
This text has a font color of #1f1870
<p style="color:#1f1870">Text here</p>
#1f1870 Background Color
This box has a background color of #1f1870
<div style="background-color:#1f1870">Text here</div>
#1f1870 Border Color
This box has a border color of #1f1870
<div style="border: 4px solid #1f1870">Text here</div>
CSS codes
<p style="color:#1f1870">Text here</p>
<div style="background-color:#1f1870">Text here</div>
<div style="border: 4px solid #1f1870">Text here</div>
#1f1870 Color on white background
This is how a font and box color of #1f1870 will look
on a white background.
#1f1870 Color on black background
This is how a font and box color of #1f1870 hex color will look
on a black background.