In RGB color space, #1f2787 hex color has a red value of 31, a green value of 39 and a blue value of 135.
In CMYK color space (used in color printing), #1f2787 hex color is composed of 77.04% cyan, 71.11% magenta, 0% yellow and 47.06% black.
#1f2787 color has a hue of 235.4 degrees, a saturation of 62.65% and a lightness of 32.5%.
#1f2787 hex color contains mainly BLUE.
The closest web safe color of #1f2787 is #333399
#1f2787 hex color has a decimal value of 2041735.
HEX | 1f2787 | #1f2787 |
---|---|---|
RGB | 31, 39, 135 | rgb(31, 39, 135) |
RGB Percent | 12.16, 15.29, 52.94 | rgb(12.16, 15.29, 52.94) |
CMYK | 77, 71, 0, 47 | |
HSL | 235.4°, 62.65, 32.5 | hsl(235.4, 62.65%, 32.5%) |
HSV | 235.4°, 77, 52.9 |
XYZ | 5.664, 3.492, 23.297 |
---|---|
Hunter Lab | 18.687, 21.401, -60.836 |
CIE-LAB | 21.915, 31.87, -54.25 |
CIE-LCH | 21.915, 62.919, 300.433 |
CIE-LUV | 77.04, 71.11, 0, 47.06 |
Web Safe | 333399 |
RGB percent of color #1f2787
CMYK percent of color #1f2787
Text with hexadecimal color #1f2787
This text has a font color of #1f2787
<p style="color:#1f2787">Text here</p>
#1f2787 Background Color
This box has a background color of #1f2787
<div style="background-color:#1f2787">Text here</div>
#1f2787 Border Color
This box has a border color of #1f2787
<div style="border: 4px solid #1f2787">Text here</div>
CSS codes
<p style="color:#1f2787">Text here</p>
<div style="background-color:#1f2787">Text here</div>
<div style="border: 4px solid #1f2787">Text here</div>
#1f2787 Color on white background
This is how a font and box color of #1f2787 will look
on a white background.
#1f2787 Color on black background
This is how a font and box color of #1f2787 hex color will look
on a black background.