In RGB color space, #1f5a97 hex color has a red value of 31, a green value of 90 and a blue value of 151.
In CMYK color space (used in color printing), #1f5a97 hex color is composed of 79.47% cyan, 40.4% magenta, 0% yellow and 40.78% black.
#1f5a97 color has a hue of 210.5 degrees, a saturation of 65.93% and a lightness of 35.7%.
#1f5a97 hex color contains mainly BLUE.
The closest web safe color of #1f5a97 is #336699
#1f5a97 hex color has a decimal value of 2054807.
HEX | 1f5a97 | #1f5a97 |
---|---|---|
RGB | 31, 90, 151 | rgb(31, 90, 151) |
RGB Percent | 12.16, 35.29, 59.22 | rgb(12.16, 35.29, 59.22) |
CMYK | 79, 40, 0, 41 | |
HSL | 210.5°, 65.93, 35.7 | hsl(210.5, 65.93%, 35.7%) |
HSV | 210.5°, 79.5, 59.2 |
XYZ | 9.807, 9.838, 30.66 |
---|---|
Hunter Lab | 31.366, 0.921, -36 |
CIE-LAB | 37.55, 3.695, -38.762 |
CIE-LCH | 37.55, 38.938, 275.445 |
CIE-LUV | 79.47, 40.4, 0, 40.78 |
Web Safe | 336699 |
RGB percent of color #1f5a97
CMYK percent of color #1f5a97
Text with hexadecimal color #1f5a97
This text has a font color of #1f5a97
<p style="color:#1f5a97">Text here</p>
#1f5a97 Background Color
This box has a background color of #1f5a97
<div style="background-color:#1f5a97">Text here</div>
#1f5a97 Border Color
This box has a border color of #1f5a97
<div style="border: 4px solid #1f5a97">Text here</div>
CSS codes
<p style="color:#1f5a97">Text here</p>
<div style="background-color:#1f5a97">Text here</div>
<div style="border: 4px solid #1f5a97">Text here</div>
#1f5a97 Color on white background
This is how a font and box color of #1f5a97 will look
on a white background.
#1f5a97 Color on black background
This is how a font and box color of #1f5a97 hex color will look
on a black background.