In RGB color space, #1f3898 hex color has a red value of 31, a green value of 56 and a blue value of 152.
In CMYK color space (used in color printing), #1f3898 hex color is composed of 79.61% cyan, 63.16% magenta, 0% yellow and 40.39% black.
#1f3898 color has a hue of 227.6 degrees, a saturation of 66.12% and a lightness of 35.9%.
#1f3898 hex color contains mainly BLUE.
The closest web safe color of #1f3898 is #333399
#1f3898 hex color has a decimal value of 2046104.
HEX | 1f3898 | #1f3898 |
---|---|---|
RGB | 31, 56, 152 | rgb(31, 56, 152) |
RGB Percent | 12.16, 21.96, 59.61 | rgb(12.16, 21.96, 59.61) |
CMYK | 80, 63, 0, 40 | |
HSL | 227.6°, 66.12, 35.9 | hsl(227.6, 66.12%, 35.9%) |
HSV | 227.6°, 79.6, 59.6 |
XYZ | 7.647, 5.387, 30.342 |
---|---|
Hunter Lab | 23.21, 18.193, -61.262 |
CIE-LAB | 27.81, 27.015, -55.1 |
CIE-LCH | 27.81, 61.366, 296.118 |
CIE-LUV | 79.61, 63.16, 0, 40.39 |
Web Safe | 333399 |
RGB percent of color #1f3898
CMYK percent of color #1f3898
Text with hexadecimal color #1f3898
This text has a font color of #1f3898
<p style="color:#1f3898">Text here</p>
#1f3898 Background Color
This box has a background color of #1f3898
<div style="background-color:#1f3898">Text here</div>
#1f3898 Border Color
This box has a border color of #1f3898
<div style="border: 4px solid #1f3898">Text here</div>
CSS codes
<p style="color:#1f3898">Text here</p>
<div style="background-color:#1f3898">Text here</div>
<div style="border: 4px solid #1f3898">Text here</div>
#1f3898 Color on white background
This is how a font and box color of #1f3898 will look
on a white background.
#1f3898 Color on black background
This is how a font and box color of #1f3898 hex color will look
on a black background.