In RGB color space, #1f1f6a hex color has a red value of 31, a green value of 31 and a blue value of 106.
In CMYK color space (used in color printing), #1f1f6a hex color is composed of 70.75% cyan, 70.75% magenta, 0% yellow and 58.43% black.
#1f1f6a color has a hue of 240 degrees, a saturation of 54.74% and a lightness of 26.9%.
#1f1f6a hex color contains mainly BLUE.
The closest web safe color of #1f1f6a is #333366
#1f1f6a hex color has a decimal value of 2039658.
HEX | 1f1f6a | #1f1f6a |
---|---|---|
RGB | 31, 31, 106 | rgb(31, 31, 106) |
RGB Percent | 12.16, 12.16, 41.57 | rgb(12.16, 12.16, 41.57) |
CMYK | 71, 71, 0, 58 | |
HSL | 240°, 54.74, 26.9 | hsl(240, 54.74%, 26.9%) |
HSV | 240°, 70.8, 41.6 |
XYZ | 3.657, 2.312, 13.889 |
---|---|
Hunter Lab | 15.205, 16.322, -43.514 |
CIE-LAB | 17.046, 26.357, -43.702 |
CIE-LCH | 17.046, 51.035, 301.094 |
CIE-LUV | 70.75, 70.75, 0, 58.43 |
Web Safe | 333366 |
RGB percent of color #1f1f6a
CMYK percent of color #1f1f6a
Text with hexadecimal color #1f1f6a
This text has a font color of #1f1f6a
<p style="color:#1f1f6a">Text here</p>
#1f1f6a Background Color
This box has a background color of #1f1f6a
<div style="background-color:#1f1f6a">Text here</div>
#1f1f6a Border Color
This box has a border color of #1f1f6a
<div style="border: 4px solid #1f1f6a">Text here</div>
CSS codes
<p style="color:#1f1f6a">Text here</p>
<div style="background-color:#1f1f6a">Text here</div>
<div style="border: 4px solid #1f1f6a">Text here</div>
#1f1f6a Color on white background
This is how a font and box color of #1f1f6a will look
on a white background.
#1f1f6a Color on black background
This is how a font and box color of #1f1f6a hex color will look
on a black background.