In RGB color space, #1f1b8e hex color has a red value of 31, a green value of 27 and a blue value of 142.
In CMYK color space (used in color printing), #1f1b8e hex color is composed of 78.17% cyan, 80.99% magenta, 0% yellow and 44.31% black.
#1f1b8e color has a hue of 242.1 degrees, a saturation of 68.05% and a lightness of 33.1%.
#1f1b8e hex color contains mainly BLUE.
The closest web safe color of #1f1b8e is #333399
#1f1b8e hex color has a decimal value of 2038670.
HEX | 1f1b8e | #1f1b8e |
---|---|---|
RGB | 31, 27, 142 | rgb(31, 27, 142) |
RGB Percent | 12.16, 10.59, 55.69 | rgb(12.16, 10.59, 55.69) |
CMYK | 78, 81, 0, 44 | |
HSL | 242.1°, 68.05, 33.1 | hsl(242.1, 68.05%, 33.1%) |
HSV | 242.1°, 81, 55.7 |
XYZ | 5.839, 3.028, 25.868 |
---|---|
Hunter Lab | 17.401, 29.444, -75.958 |
CIE-LAB | 20.156, 41.446, -61.532 |
CIE-LCH | 20.156, 74.189, 303.963 |
CIE-LUV | 78.17, 80.99, 0, 44.31 |
Web Safe | 333399 |
RGB percent of color #1f1b8e
CMYK percent of color #1f1b8e
Text with hexadecimal color #1f1b8e
This text has a font color of #1f1b8e
<p style="color:#1f1b8e">Text here</p>
#1f1b8e Background Color
This box has a background color of #1f1b8e
<div style="background-color:#1f1b8e">Text here</div>
#1f1b8e Border Color
This box has a border color of #1f1b8e
<div style="border: 4px solid #1f1b8e">Text here</div>
CSS codes
<p style="color:#1f1b8e">Text here</p>
<div style="background-color:#1f1b8e">Text here</div>
<div style="border: 4px solid #1f1b8e">Text here</div>
#1f1b8e Color on white background
This is how a font and box color of #1f1b8e will look
on a white background.
#1f1b8e Color on black background
This is how a font and box color of #1f1b8e hex color will look
on a black background.