In RGB color space, #1f1a9f hex color has a red value of 31, a green value of 26 and a blue value of 159.
In CMYK color space (used in color printing), #1f1a9f hex color is composed of 80.5% cyan, 83.65% magenta, 0% yellow and 37.65% black.
#1f1a9f color has a hue of 242.3 degrees, a saturation of 71.89% and a lightness of 36.3%.
#1f1a9f hex color contains mainly BLUE.
The closest web safe color of #1f1a9f is #333399
#1f1a9f hex color has a decimal value of 2038431.
HEX | 1f1a9f | #1f1a9f |
---|---|---|
RGB | 31, 26, 159 | rgb(31, 26, 159) |
RGB Percent | 12.16, 10.2, 62.35 | rgb(12.16, 10.2, 62.35) |
CMYK | 81, 84, 0, 38 | |
HSL | 242.3°, 71.89, 36.3 | hsl(242.3, 71.89%, 36.3%) |
HSV | 242.3°, 83.6, 62.4 |
XYZ | 7.192, 3.533, 33.104 |
---|---|
Hunter Lab | 18.796, 35.406, -91.264 |
CIE-LAB | 22.063, 47.416, -68.858 |
CIE-LCH | 22.063, 83.604, 304.552 |
CIE-LUV | 80.5, 83.65, 0, 37.65 |
Web Safe | 333399 |
RGB percent of color #1f1a9f
CMYK percent of color #1f1a9f
Text with hexadecimal color #1f1a9f
This text has a font color of #1f1a9f
<p style="color:#1f1a9f">Text here</p>
#1f1a9f Background Color
This box has a background color of #1f1a9f
<div style="background-color:#1f1a9f">Text here</div>
#1f1a9f Border Color
This box has a border color of #1f1a9f
<div style="border: 4px solid #1f1a9f">Text here</div>
CSS codes
<p style="color:#1f1a9f">Text here</p>
<div style="background-color:#1f1a9f">Text here</div>
<div style="border: 4px solid #1f1a9f">Text here</div>
#1f1a9f Color on white background
This is how a font and box color of #1f1a9f will look
on a white background.
#1f1a9f Color on black background
This is how a font and box color of #1f1a9f hex color will look
on a black background.