In RGB color space, #1f1857 hex color has a red value of 31, a green value of 24 and a blue value of 87.
In CMYK color space (used in color printing), #1f1857 hex color is composed of 64.37% cyan, 72.41% magenta, 0% yellow and 65.88% black.
#1f1857 color has a hue of 246.7 degrees, a saturation of 56.76% and a lightness of 21.8%.
#1f1857 hex color contains mainly BLUE.
The closest web safe color of #1f1857 is #330066
#1f1857 hex color has a decimal value of 2037847.
HEX | 1f1857 | #1f1857 |
---|---|---|
RGB | 31, 24, 87 | rgb(31, 24, 87) |
RGB Percent | 12.16, 9.41, 34.12 | rgb(12.16, 9.41, 34.12) |
CMYK | 64, 72, 0, 66 | |
HSL | 246.7°, 56.76, 21.8 | hsl(246.7, 56.76%, 21.8%) |
HSV | 246.7°, 72.4, 34.1 |
XYZ | 2.612, 1.633, 9.194 |
---|---|
Hunter Lab | 12.779, 14.122, -33.712 |
CIE-LAB | 13.43, 24.033, -37.002 |
CIE-LCH | 13.43, 44.122, 303.004 |
CIE-LUV | 64.37, 72.41, 0, 65.88 |
Web Safe | 330066 |
RGB percent of color #1f1857
CMYK percent of color #1f1857
Text with hexadecimal color #1f1857
This text has a font color of #1f1857
<p style="color:#1f1857">Text here</p>
#1f1857 Background Color
This box has a background color of #1f1857
<div style="background-color:#1f1857">Text here</div>
#1f1857 Border Color
This box has a border color of #1f1857
<div style="border: 4px solid #1f1857">Text here</div>
CSS codes
<p style="color:#1f1857">Text here</p>
<div style="background-color:#1f1857">Text here</div>
<div style="border: 4px solid #1f1857">Text here</div>
#1f1857 Color on white background
This is how a font and box color of #1f1857 will look
on a white background.
#1f1857 Color on black background
This is how a font and box color of #1f1857 hex color will look
on a black background.