In RGB color space, #1f1a8f hex color has a red value of 31, a green value of 26 and a blue value of 143.
In CMYK color space (used in color printing), #1f1a8f hex color is composed of 78.32% cyan, 81.82% magenta, 0% yellow and 43.92% black.
#1f1a8f color has a hue of 242.6 degrees, a saturation of 69.23% and a lightness of 33.1%.
#1f1a8f hex color contains mainly BLUE.
The closest web safe color of #1f1a8f is #333399
#1f1a8f hex color has a decimal value of 2038415.
HEX | 1f1a8f | #1f1a8f |
---|---|---|
RGB | 31, 26, 143 | rgb(31, 26, 143) |
RGB Percent | 12.16, 10.2, 56.08 | rgb(12.16, 10.2, 56.08) |
CMYK | 78, 82, 0, 44 | |
HSL | 242.6°, 69.23, 33.1 | hsl(242.6, 69.23%, 33.1%) |
HSV | 242.6°, 81.8, 56.1 |
XYZ | 5.892, 3.013, 26.258 |
---|---|
Hunter Lab | 17.358, 30.214, -77.539 |
CIE-LAB | 20.096, 42.299, -62.255 |
CIE-LCH | 20.096, 75.265, 304.194 |
CIE-LUV | 78.32, 81.82, 0, 43.92 |
Web Safe | 333399 |
RGB percent of color #1f1a8f
CMYK percent of color #1f1a8f
Text with hexadecimal color #1f1a8f
This text has a font color of #1f1a8f
<p style="color:#1f1a8f">Text here</p>
#1f1a8f Background Color
This box has a background color of #1f1a8f
<div style="background-color:#1f1a8f">Text here</div>
#1f1a8f Border Color
This box has a border color of #1f1a8f
<div style="border: 4px solid #1f1a8f">Text here</div>
CSS codes
<p style="color:#1f1a8f">Text here</p>
<div style="background-color:#1f1a8f">Text here</div>
<div style="border: 4px solid #1f1a8f">Text here</div>
#1f1a8f Color on white background
This is how a font and box color of #1f1a8f will look
on a white background.
#1f1a8f Color on black background
This is how a font and box color of #1f1a8f hex color will look
on a black background.