In RGB color space, #1f3987 hex color has a red value of 31, a green value of 57 and a blue value of 135.
In CMYK color space (used in color printing), #1f3987 hex color is composed of 77.04% cyan, 57.78% magenta, 0% yellow and 47.06% black.
#1f3987 color has a hue of 225 degrees, a saturation of 62.65% and a lightness of 32.5%.
#1f3987 hex color contains mainly BLUE.
The closest web safe color of #1f3987 is #333399
#1f3987 hex color has a decimal value of 2046343.
HEX | 1f3987 | #1f3987 |
---|---|---|
RGB | 31, 57, 135 | rgb(31, 57, 135) |
RGB Percent | 12.16, 22.35, 52.94 | rgb(12.16, 22.35, 52.94) |
CMYK | 77, 58, 0, 47 | |
HSL | 225°, 62.65, 32.5 | hsl(225, 62.65%, 32.5%) |
HSV | 225°, 77, 52.9 |
XYZ | 6.401, 4.967, 23.543 |
---|---|
Hunter Lab | 22.287, 12.265, -47.031 |
CIE-LAB | 26.641, 19.631, -46.523 |
CIE-LCH | 26.641, 50.495, 292.878 |
CIE-LUV | 77.04, 57.78, 0, 47.06 |
Web Safe | 333399 |
RGB percent of color #1f3987
CMYK percent of color #1f3987
Text with hexadecimal color #1f3987
This text has a font color of #1f3987
<p style="color:#1f3987">Text here</p>
#1f3987 Background Color
This box has a background color of #1f3987
<div style="background-color:#1f3987">Text here</div>
#1f3987 Border Color
This box has a border color of #1f3987
<div style="border: 4px solid #1f3987">Text here</div>
CSS codes
<p style="color:#1f3987">Text here</p>
<div style="background-color:#1f3987">Text here</div>
<div style="border: 4px solid #1f3987">Text here</div>
#1f3987 Color on white background
This is how a font and box color of #1f3987 will look
on a white background.
#1f3987 Color on black background
This is how a font and box color of #1f3987 hex color will look
on a black background.