In RGB color space, #1f1f7d hex color has a red value of 31, a green value of 31 and a blue value of 125.
In CMYK color space (used in color printing), #1f1f7d hex color is composed of 75.2% cyan, 75.2% magenta, 0% yellow and 50.98% black.
#1f1f7d color has a hue of 240 degrees, a saturation of 60.26% and a lightness of 30.6%.
#1f1f7d hex color contains mainly BLUE.
The closest web safe color of #1f1f7d is #333366
#1f1f7d hex color has a decimal value of 2039677.
HEX | 1f1f7d | #1f1f7d |
---|---|---|
RGB | 31, 31, 125 | rgb(31, 31, 125) |
RGB Percent | 12.16, 12.16, 49.02 | rgb(12.16, 12.16, 49.02) |
CMYK | 75, 75, 0, 51 | |
HSL | 240°, 60.26, 30.6 | hsl(240, 60.26%, 30.6%) |
HSV | 240°, 75.2, 49 |
XYZ | 4.757, 2.752, 19.683 |
---|---|
Hunter Lab | 16.589, 22.155, -58.735 |
CIE-LAB | 19.022, 33.305, -52.703 |
CIE-LCH | 19.022, 62.344, 302.29 |
CIE-LUV | 75.2, 75.2, 0, 50.98 |
Web Safe | 333366 |
RGB percent of color #1f1f7d
CMYK percent of color #1f1f7d
Text with hexadecimal color #1f1f7d
This text has a font color of #1f1f7d
<p style="color:#1f1f7d">Text here</p>
#1f1f7d Background Color
This box has a background color of #1f1f7d
<div style="background-color:#1f1f7d">Text here</div>
#1f1f7d Border Color
This box has a border color of #1f1f7d
<div style="border: 4px solid #1f1f7d">Text here</div>
CSS codes
<p style="color:#1f1f7d">Text here</p>
<div style="background-color:#1f1f7d">Text here</div>
<div style="border: 4px solid #1f1f7d">Text here</div>
#1f1f7d Color on white background
This is how a font and box color of #1f1f7d will look
on a white background.
#1f1f7d Color on black background
This is how a font and box color of #1f1f7d hex color will look
on a black background.