In RGB color space, #1f3798 hex color has a red value of 31, a green value of 55 and a blue value of 152.
In CMYK color space (used in color printing), #1f3798 hex color is composed of 79.61% cyan, 63.82% magenta, 0% yellow and 40.39% black.
#1f3798 color has a hue of 228.1 degrees, a saturation of 66.12% and a lightness of 35.9%.
#1f3798 hex color contains mainly BLUE.
The closest web safe color of #1f3798 is #333399
#1f3798 hex color has a decimal value of 2045848.
HEX | 1f3798 | #1f3798 |
---|---|---|
RGB | 31, 55, 152 | rgb(31, 55, 152) |
RGB Percent | 12.16, 21.57, 59.61 | rgb(12.16, 21.57, 59.61) |
CMYK | 80, 64, 0, 40 | |
HSL | 228.1°, 66.12, 35.9 | hsl(228.1, 66.12%, 35.9%) |
HSV | 228.1°, 79.6, 59.6 |
XYZ | 7.599, 5.291, 30.326 |
---|---|
Hunter Lab | 23.002, 18.715, -62.066 |
CIE-LAB | 27.548, 27.691, -55.528 |
CIE-LCH | 27.548, 62.05, 296.505 |
CIE-LUV | 79.61, 63.82, 0, 40.39 |
Web Safe | 333399 |
RGB percent of color #1f3798
CMYK percent of color #1f3798
Text with hexadecimal color #1f3798
This text has a font color of #1f3798
<p style="color:#1f3798">Text here</p>
#1f3798 Background Color
This box has a background color of #1f3798
<div style="background-color:#1f3798">Text here</div>
#1f3798 Border Color
This box has a border color of #1f3798
<div style="border: 4px solid #1f3798">Text here</div>
CSS codes
<p style="color:#1f3798">Text here</p>
<div style="background-color:#1f3798">Text here</div>
<div style="border: 4px solid #1f3798">Text here</div>
#1f3798 Color on white background
This is how a font and box color of #1f3798 will look
on a white background.
#1f3798 Color on black background
This is how a font and box color of #1f3798 hex color will look
on a black background.