In RGB color space, #1f2e9e hex color has a red value of 31, a green value of 46 and a blue value of 158.
In CMYK color space (used in color printing), #1f2e9e hex color is composed of 80.38% cyan, 70.89% magenta, 0% yellow and 38.04% black.
#1f2e9e color has a hue of 232.9 degrees, a saturation of 67.2% and a lightness of 37.1%.
#1f2e9e hex color contains mainly BLUE.
The closest web safe color of #1f2e9e is #333399
#1f2e9e hex color has a decimal value of 2043550.
HEX | 1f2e9e | #1f2e9e |
---|---|---|
RGB | 31, 46, 158 | rgb(31, 46, 158) |
RGB Percent | 12.16, 18.04, 61.96 | rgb(12.16, 18.04, 61.96) |
CMYK | 80, 71, 0, 38 | |
HSL | 232.9°, 67.2, 37.1 | hsl(232.9, 67.2%, 37.1%) |
HSV | 232.9°, 80.4, 62 |
XYZ | 7.714, 4.714, 32.851 |
---|---|
Hunter Lab | 21.712, 25.424, -74.511 |
CIE-LAB | 25.904, 35.859, -61.892 |
CIE-LCH | 25.904, 71.53, 300.087 |
CIE-LUV | 80.38, 70.89, 0, 38.04 |
Web Safe | 333399 |
RGB percent of color #1f2e9e
CMYK percent of color #1f2e9e
Text with hexadecimal color #1f2e9e
This text has a font color of #1f2e9e
<p style="color:#1f2e9e">Text here</p>
#1f2e9e Background Color
This box has a background color of #1f2e9e
<div style="background-color:#1f2e9e">Text here</div>
#1f2e9e Border Color
This box has a border color of #1f2e9e
<div style="border: 4px solid #1f2e9e">Text here</div>
CSS codes
<p style="color:#1f2e9e">Text here</p>
<div style="background-color:#1f2e9e">Text here</div>
<div style="border: 4px solid #1f2e9e">Text here</div>
#1f2e9e Color on white background
This is how a font and box color of #1f2e9e will look
on a white background.
#1f2e9e Color on black background
This is how a font and box color of #1f2e9e hex color will look
on a black background.