In RGB color space, #1f5a98 hex color has a red value of 31, a green value of 90 and a blue value of 152.
In CMYK color space (used in color printing), #1f5a98 hex color is composed of 79.61% cyan, 40.79% magenta, 0% yellow and 40.39% black.
#1f5a98 color has a hue of 210.7 degrees, a saturation of 66.12% and a lightness of 35.9%.
#1f5a98 hex color contains mainly BLUE.
The closest web safe color of #1f5a98 is #336699
#1f5a98 hex color has a decimal value of 2054808.
HEX | 1f5a98 | #1f5a98 |
---|---|---|
RGB | 31, 90, 152 | rgb(31, 90, 152) |
RGB Percent | 12.16, 35.29, 59.61 | rgb(12.16, 35.29, 59.61) |
CMYK | 80, 41, 0, 40 | |
HSL | 210.7°, 66.12, 35.9 | hsl(210.7, 66.12%, 35.9%) |
HSV | 210.7°, 79.6, 59.6 |
XYZ | 9.889, 9.871, 31.09 |
---|---|
Hunter Lab | 31.418, 1.202, -36.678 |
CIE-LAB | 37.61, 4.089, -39.268 |
CIE-LCH | 37.61, 39.48, 275.945 |
CIE-LUV | 79.61, 40.79, 0, 40.39 |
Web Safe | 336699 |
RGB percent of color #1f5a98
CMYK percent of color #1f5a98
Text with hexadecimal color #1f5a98
This text has a font color of #1f5a98
<p style="color:#1f5a98">Text here</p>
#1f5a98 Background Color
This box has a background color of #1f5a98
<div style="background-color:#1f5a98">Text here</div>
#1f5a98 Border Color
This box has a border color of #1f5a98
<div style="border: 4px solid #1f5a98">Text here</div>
CSS codes
<p style="color:#1f5a98">Text here</p>
<div style="background-color:#1f5a98">Text here</div>
<div style="border: 4px solid #1f5a98">Text here</div>
#1f5a98 Color on white background
This is how a font and box color of #1f5a98 will look
on a white background.
#1f5a98 Color on black background
This is how a font and box color of #1f5a98 hex color will look
on a black background.