In RGB color space, #1f1f7c hex color has a red value of 31, a green value of 31 and a blue value of 124.
In CMYK color space (used in color printing), #1f1f7c hex color is composed of 75% cyan, 75% magenta, 0% yellow and 51.37% black.
#1f1f7c color has a hue of 240 degrees, a saturation of 60% and a lightness of 30.4%.
#1f1f7c hex color contains mainly BLUE.
The closest web safe color of #1f1f7c is #333366
#1f1f7c hex color has a decimal value of 2039676.
HEX | 1f1f7c | #1f1f7c |
---|---|---|
RGB | 31, 31, 124 | rgb(31, 31, 124) |
RGB Percent | 12.16, 12.16, 48.63 | rgb(12.16, 12.16, 48.63) |
CMYK | 75, 75, 0, 51 | |
HSL | 240°, 60, 30.4 | hsl(240, 60%, 30.4%) |
HSV | 240°, 75, 48.6 |
XYZ | 4.693, 2.727, 19.348 |
---|---|
Hunter Lab | 16.514, 21.829, -57.907 |
CIE-LAB | 18.916, 32.933, -52.241 |
CIE-LCH | 18.916, 61.755, 302.228 |
CIE-LUV | 75, 75, 0, 51.37 |
Web Safe | 333366 |
RGB percent of color #1f1f7c
CMYK percent of color #1f1f7c
Text with hexadecimal color #1f1f7c
This text has a font color of #1f1f7c
<p style="color:#1f1f7c">Text here</p>
#1f1f7c Background Color
This box has a background color of #1f1f7c
<div style="background-color:#1f1f7c">Text here</div>
#1f1f7c Border Color
This box has a border color of #1f1f7c
<div style="border: 4px solid #1f1f7c">Text here</div>
CSS codes
<p style="color:#1f1f7c">Text here</p>
<div style="background-color:#1f1f7c">Text here</div>
<div style="border: 4px solid #1f1f7c">Text here</div>
#1f1f7c Color on white background
This is how a font and box color of #1f1f7c will look
on a white background.
#1f1f7c Color on black background
This is how a font and box color of #1f1f7c hex color will look
on a black background.