In RGB color space, #1f1f8f hex color has a red value of 31, a green value of 31 and a blue value of 143.
In CMYK color space (used in color printing), #1f1f8f hex color is composed of 78.32% cyan, 78.32% magenta, 0% yellow and 43.92% black.
#1f1f8f color has a hue of 240 degrees, a saturation of 64.37% and a lightness of 34.1%.
#1f1f8f hex color contains mainly BLUE.
The closest web safe color of #1f1f8f is #333399
#1f1f8f hex color has a decimal value of 2039695.
HEX | 1f1f8f | #1f1f8f |
---|---|---|
RGB | 31, 31, 143 | rgb(31, 31, 143) |
RGB Percent | 12.16, 12.16, 56.08 | rgb(12.16, 12.16, 56.08) |
CMYK | 78, 78, 0, 44 | |
HSL | 240°, 64.37, 34.1 | hsl(240, 64.37%, 34.1%) |
HSV | 240°, 78.3, 56.1 |
XYZ | 6.013, 3.254, 26.298 |
---|---|
Hunter Lab | 18.039, 27.933, -73.809 |
CIE-LAB | 21.034, 39.602, -60.701 |
CIE-LCH | 21.034, 72.477, 303.121 |
CIE-LUV | 78.32, 78.32, 0, 43.92 |
Web Safe | 333399 |
RGB percent of color #1f1f8f
CMYK percent of color #1f1f8f
Text with hexadecimal color #1f1f8f
This text has a font color of #1f1f8f
<p style="color:#1f1f8f">Text here</p>
#1f1f8f Background Color
This box has a background color of #1f1f8f
<div style="background-color:#1f1f8f">Text here</div>
#1f1f8f Border Color
This box has a border color of #1f1f8f
<div style="border: 4px solid #1f1f8f">Text here</div>
CSS codes
<p style="color:#1f1f8f">Text here</p>
<div style="background-color:#1f1f8f">Text here</div>
<div style="border: 4px solid #1f1f8f">Text here</div>
#1f1f8f Color on white background
This is how a font and box color of #1f1f8f will look
on a white background.
#1f1f8f Color on black background
This is how a font and box color of #1f1f8f hex color will look
on a black background.