In RGB color space, #1f1797 hex color has a red value of 31, a green value of 23 and a blue value of 151.
In CMYK color space (used in color printing), #1f1797 hex color is composed of 79.47% cyan, 84.77% magenta, 0% yellow and 40.78% black.
#1f1797 color has a hue of 243.8 degrees, a saturation of 73.56% and a lightness of 34.1%.
#1f1797 hex color contains mainly BLUE.
The closest web safe color of #1f1797 is #330099
#1f1797 hex color has a decimal value of 2037655.
HEX | 1f1797 | #1f1797 |
---|---|---|
RGB | 31, 23, 151 | rgb(31, 23, 151) |
RGB Percent | 12.16, 9.02, 59.22 | rgb(12.16, 9.02, 59.22) |
CMYK | 79, 85, 0, 41 | |
HSL | 243.8°, 73.56, 34.1 | hsl(243.8, 73.56%, 34.1%) |
HSV | 243.8°, 84.8, 59.2 |
XYZ | 6.457, 3.138, 29.544 |
---|---|
Hunter Lab | 17.714, 34.064, -86.484 |
CIE-LAB | 20.588, 46.309, -66.396 |
CIE-LCH | 20.588, 80.95, 304.894 |
CIE-LUV | 79.47, 84.77, 0, 40.78 |
Web Safe | 330099 |
RGB percent of color #1f1797
CMYK percent of color #1f1797
Text with hexadecimal color #1f1797
This text has a font color of #1f1797
<p style="color:#1f1797">Text here</p>
#1f1797 Background Color
This box has a background color of #1f1797
<div style="background-color:#1f1797">Text here</div>
#1f1797 Border Color
This box has a border color of #1f1797
<div style="border: 4px solid #1f1797">Text here</div>
CSS codes
<p style="color:#1f1797">Text here</p>
<div style="background-color:#1f1797">Text here</div>
<div style="border: 4px solid #1f1797">Text here</div>
#1f1797 Color on white background
This is how a font and box color of #1f1797 will look
on a white background.
#1f1797 Color on black background
This is how a font and box color of #1f1797 hex color will look
on a black background.