In RGB color space, #1f3998 hex color has a red value of 31, a green value of 57 and a blue value of 152.
In CMYK color space (used in color printing), #1f3998 hex color is composed of 79.61% cyan, 62.5% magenta, 0% yellow and 40.39% black.
#1f3998 color has a hue of 227.1 degrees, a saturation of 66.12% and a lightness of 35.9%.
#1f3998 hex color contains mainly BLUE.
The closest web safe color of #1f3998 is #333399
#1f3998 hex color has a decimal value of 2046360.
HEX | 1f3998 | #1f3998 |
---|---|---|
RGB | 31, 57, 152 | rgb(31, 57, 152) |
RGB Percent | 12.16, 22.35, 59.61 | rgb(12.16, 22.35, 59.61) |
CMYK | 80, 63, 0, 40 | |
HSL | 227.1°, 66.12, 35.9 | hsl(227.1, 66.12%, 35.9%) |
HSV | 227.1°, 79.6, 59.6 |
XYZ | 7.696, 5.485, 30.359 |
---|---|
Hunter Lab | 23.42, 17.671, -60.462 |
CIE-LAB | 28.074, 26.337, -54.669 |
CIE-LCH | 28.074, 60.682, 295.723 |
CIE-LUV | 79.61, 62.5, 0, 40.39 |
Web Safe | 333399 |
RGB percent of color #1f3998
CMYK percent of color #1f3998
Text with hexadecimal color #1f3998
This text has a font color of #1f3998
<p style="color:#1f3998">Text here</p>
#1f3998 Background Color
This box has a background color of #1f3998
<div style="background-color:#1f3998">Text here</div>
#1f3998 Border Color
This box has a border color of #1f3998
<div style="border: 4px solid #1f3998">Text here</div>
CSS codes
<p style="color:#1f3998">Text here</p>
<div style="background-color:#1f3998">Text here</div>
<div style="border: 4px solid #1f3998">Text here</div>
#1f3998 Color on white background
This is how a font and box color of #1f3998 will look
on a white background.
#1f3998 Color on black background
This is how a font and box color of #1f3998 hex color will look
on a black background.