In RGB color space, #1f3788 hex color has a red value of 31, a green value of 55 and a blue value of 136.
In CMYK color space (used in color printing), #1f3788 hex color is composed of 77.21% cyan, 59.56% magenta, 0% yellow and 46.67% black.
#1f3788 color has a hue of 226.3 degrees, a saturation of 62.87% and a lightness of 32.7%.
#1f3788 hex color contains mainly BLUE.
The closest web safe color of #1f3788 is #333399
#1f3788 hex color has a decimal value of 2045832.
HEX | 1f3788 | #1f3788 |
---|---|---|
RGB | 31, 55, 136 | rgb(31, 55, 136) |
RGB Percent | 12.16, 21.57, 53.33 | rgb(12.16, 21.57, 53.33) |
CMYK | 77, 60, 0, 47 | |
HSL | 226.3°, 62.87, 32.7 | hsl(226.3, 62.87%, 32.7%) |
HSV | 226.3°, 77.2, 53.3 |
XYZ | 6.375, 4.801, 23.883 |
---|---|
Hunter Lab | 21.911, 13.59, -49.288 |
CIE-LAB | 26.16, 21.426, -47.927 |
CIE-LCH | 26.16, 52.498, 294.087 |
CIE-LUV | 77.21, 59.56, 0, 46.67 |
Web Safe | 333399 |
RGB percent of color #1f3788
CMYK percent of color #1f3788
Text with hexadecimal color #1f3788
This text has a font color of #1f3788
<p style="color:#1f3788">Text here</p>
#1f3788 Background Color
This box has a background color of #1f3788
<div style="background-color:#1f3788">Text here</div>
#1f3788 Border Color
This box has a border color of #1f3788
<div style="border: 4px solid #1f3788">Text here</div>
CSS codes
<p style="color:#1f3788">Text here</p>
<div style="background-color:#1f3788">Text here</div>
<div style="border: 4px solid #1f3788">Text here</div>
#1f3788 Color on white background
This is how a font and box color of #1f3788 will look
on a white background.
#1f3788 Color on black background
This is how a font and box color of #1f3788 hex color will look
on a black background.