In RGB color space, #1f1f50 hex color has a red value of 31, a green value of 31 and a blue value of 80.
In CMYK color space (used in color printing), #1f1f50 hex color is composed of 61.25% cyan, 61.25% magenta, 0% yellow and 68.63% black.
#1f1f50 color has a hue of 240 degrees, a saturation of 44.14% and a lightness of 21.8%.
#1f1f50 hex color contains mainly BLUE.
The closest web safe color of #1f1f50 is #333366
#1f1f50 hex color has a decimal value of 2039632.
HEX | 1f1f50 | #1f1f50 |
---|---|---|
RGB | 31, 31, 80 | rgb(31, 31, 80) |
RGB Percent | 12.16, 12.16, 31.37 | rgb(12.16, 12.16, 31.37) |
CMYK | 61, 61, 0, 69 | |
HSL | 240°, 44.14, 21.8 | hsl(240, 44.14%, 21.8%) |
HSV | 240°, 61.3, 31.4 |
XYZ | 2.503, 1.85, 7.815 |
---|---|
Hunter Lab | 13.601, 9.046, -24.545 |
CIE-LAB | 14.68, 16.518, -30.221 |
CIE-LCH | 14.68, 34.441, 298.66 |
CIE-LUV | 61.25, 61.25, 0, 68.63 |
Web Safe | 333366 |
RGB percent of color #1f1f50
CMYK percent of color #1f1f50
Text with hexadecimal color #1f1f50
This text has a font color of #1f1f50
<p style="color:#1f1f50">Text here</p>
#1f1f50 Background Color
This box has a background color of #1f1f50
<div style="background-color:#1f1f50">Text here</div>
#1f1f50 Border Color
This box has a border color of #1f1f50
<div style="border: 4px solid #1f1f50">Text here</div>
CSS codes
<p style="color:#1f1f50">Text here</p>
<div style="background-color:#1f1f50">Text here</div>
<div style="border: 4px solid #1f1f50">Text here</div>
#1f1f50 Color on white background
This is how a font and box color of #1f1f50 will look
on a white background.
#1f1f50 Color on black background
This is how a font and box color of #1f1f50 hex color will look
on a black background.