In RGB color space, #1f3498 hex color has a red value of 31, a green value of 52 and a blue value of 152.
In CMYK color space (used in color printing), #1f3498 hex color is composed of 79.61% cyan, 65.79% magenta, 0% yellow and 40.39% black.
#1f3498 color has a hue of 229.6 degrees, a saturation of 66.12% and a lightness of 35.9%.
#1f3498 hex color contains mainly BLUE.
The closest web safe color of #1f3498 is #333399
#1f3498 hex color has a decimal value of 2045080.
HEX | 1f3498 | #1f3498 |
---|---|---|
RGB | 31, 52, 152 | rgb(31, 52, 152) |
RGB Percent | 12.16, 20.39, 59.61 | rgb(12.16, 20.39, 59.61) |
CMYK | 80, 66, 0, 40 | |
HSL | 229.6°, 66.12, 35.9 | hsl(229.6, 66.12%, 35.9%) |
HSV | 229.6°, 79.6, 59.6 |
XYZ | 7.461, 5.014, 30.28 |
---|---|
Hunter Lab | 22.392, 20.29, -64.502 |
CIE-LAB | 26.775, 29.713, -56.796 |
CIE-LCH | 26.775, 64.099, 297.616 |
CIE-LUV | 79.61, 65.79, 0, 40.39 |
Web Safe | 333399 |
RGB percent of color #1f3498
CMYK percent of color #1f3498
Text with hexadecimal color #1f3498
This text has a font color of #1f3498
<p style="color:#1f3498">Text here</p>
#1f3498 Background Color
This box has a background color of #1f3498
<div style="background-color:#1f3498">Text here</div>
#1f3498 Border Color
This box has a border color of #1f3498
<div style="border: 4px solid #1f3498">Text here</div>
CSS codes
<p style="color:#1f3498">Text here</p>
<div style="background-color:#1f3498">Text here</div>
<div style="border: 4px solid #1f3498">Text here</div>
#1f3498 Color on white background
This is how a font and box color of #1f3498 will look
on a white background.
#1f3498 Color on black background
This is how a font and box color of #1f3498 hex color will look
on a black background.