In RGB color space, #1f1f8e hex color has a red value of 31, a green value of 31 and a blue value of 142.
In CMYK color space (used in color printing), #1f1f8e hex color is composed of 78.17% cyan, 78.17% magenta, 0% yellow and 44.31% black.
#1f1f8e color has a hue of 240 degrees, a saturation of 64.16% and a lightness of 33.9%.
#1f1f8e hex color contains mainly BLUE.
The closest web safe color of #1f1f8e is #333399
#1f1f8e hex color has a decimal value of 2039694.
HEX | 1f1f8e | #1f1f8e |
---|---|---|
RGB | 31, 31, 142 | rgb(31, 31, 142) |
RGB Percent | 12.16, 12.16, 55.69 | rgb(12.16, 12.16, 55.69) |
CMYK | 78, 78, 0, 44 | |
HSL | 240°, 64.16, 33.9 | hsl(240, 64.16%, 33.9%) |
HSV | 240°, 78.2, 55.7 |
XYZ | 5.938, 3.224, 25.901 |
---|---|
Hunter Lab | 17.956, 27.609, -72.958 |
CIE-LAB | 20.92, 39.262, -60.268 |
CIE-LCH | 20.92, 71.929, 303.083 |
CIE-LUV | 78.17, 78.17, 0, 44.31 |
Web Safe | 333399 |
RGB percent of color #1f1f8e
CMYK percent of color #1f1f8e
Text with hexadecimal color #1f1f8e
This text has a font color of #1f1f8e
<p style="color:#1f1f8e">Text here</p>
#1f1f8e Background Color
This box has a background color of #1f1f8e
<div style="background-color:#1f1f8e">Text here</div>
#1f1f8e Border Color
This box has a border color of #1f1f8e
<div style="border: 4px solid #1f1f8e">Text here</div>
CSS codes
<p style="color:#1f1f8e">Text here</p>
<div style="background-color:#1f1f8e">Text here</div>
<div style="border: 4px solid #1f1f8e">Text here</div>
#1f1f8e Color on white background
This is how a font and box color of #1f1f8e will look
on a white background.
#1f1f8e Color on black background
This is how a font and box color of #1f1f8e hex color will look
on a black background.