In RGB color space, #1f1a7f hex color has a red value of 31, a green value of 26 and a blue value of 127.
In CMYK color space (used in color printing), #1f1a7f hex color is composed of 75.59% cyan, 79.53% magenta, 0% yellow and 50.2% black.
#1f1a7f color has a hue of 243 degrees, a saturation of 66.01% and a lightness of 30%.
#1f1a7f hex color contains mainly BLUE.
The closest web safe color of #1f1a7f is #333366
#1f1a7f hex color has a decimal value of 2038399.
HEX | 1f1a7f | #1f1a7f |
---|---|---|
RGB | 31, 26, 127 | rgb(31, 26, 127) |
RGB Percent | 12.16, 10.2, 49.8 | rgb(12.16, 10.2, 49.8) |
CMYK | 76, 80, 0, 50 | |
HSL | 243°, 66.01, 30 | hsl(243, 66.01%, 30%) |
HSV | 243°, 79.5, 49.8 |
XYZ | 4.765, 2.562, 20.322 |
---|---|
Hunter Lab | 16.006, 25.128, -64.072 |
CIE-LAB | 18.197, 36.965, -55.336 |
CIE-LCH | 18.197, 66.547, 303.743 |
CIE-LUV | 75.59, 79.53, 0, 50.2 |
Web Safe | 333366 |
RGB percent of color #1f1a7f
CMYK percent of color #1f1a7f
Text with hexadecimal color #1f1a7f
This text has a font color of #1f1a7f
<p style="color:#1f1a7f">Text here</p>
#1f1a7f Background Color
This box has a background color of #1f1a7f
<div style="background-color:#1f1a7f">Text here</div>
#1f1a7f Border Color
This box has a border color of #1f1a7f
<div style="border: 4px solid #1f1a7f">Text here</div>
CSS codes
<p style="color:#1f1a7f">Text here</p>
<div style="background-color:#1f1a7f">Text here</div>
<div style="border: 4px solid #1f1a7f">Text here</div>
#1f1a7f Color on white background
This is how a font and box color of #1f1a7f will look
on a white background.
#1f1a7f Color on black background
This is how a font and box color of #1f1a7f hex color will look
on a black background.