In RGB color space, #1f5a9e hex color has a red value of 31, a green value of 90 and a blue value of 158.
In CMYK color space (used in color printing), #1f5a9e hex color is composed of 80.38% cyan, 43.04% magenta, 0% yellow and 38.04% black.
#1f5a9e color has a hue of 212.1 degrees, a saturation of 67.2% and a lightness of 37.1%.
#1f5a9e hex color contains mainly BLUE.
The closest web safe color of #1f5a9e is #336699
#1f5a9e hex color has a decimal value of 2054814.
HEX | 1f5a9e | #1f5a9e |
---|---|---|
RGB | 31, 90, 158 | rgb(31, 90, 158) |
RGB Percent | 12.16, 35.29, 61.96 | rgb(12.16, 35.29, 61.96) |
CMYK | 80, 43, 0, 38 | |
HSL | 212.1°, 67.2, 37.1 | hsl(212.1, 67.2%, 37.1%) |
HSV | 212.1°, 80.4, 62 |
XYZ | 10.393, 10.072, 33.744 |
---|---|
Hunter Lab | 31.736, 2.916, -40.825 |
CIE-LAB | 37.971, 6.46, -42.291 |
CIE-LCH | 37.971, 42.782, 278.685 |
CIE-LUV | 80.38, 43.04, 0, 38.04 |
Web Safe | 336699 |
RGB percent of color #1f5a9e
CMYK percent of color #1f5a9e
Text with hexadecimal color #1f5a9e
This text has a font color of #1f5a9e
<p style="color:#1f5a9e">Text here</p>
#1f5a9e Background Color
This box has a background color of #1f5a9e
<div style="background-color:#1f5a9e">Text here</div>
#1f5a9e Border Color
This box has a border color of #1f5a9e
<div style="border: 4px solid #1f5a9e">Text here</div>
CSS codes
<p style="color:#1f5a9e">Text here</p>
<div style="background-color:#1f5a9e">Text here</div>
<div style="border: 4px solid #1f5a9e">Text here</div>
#1f5a9e Color on white background
This is how a font and box color of #1f5a9e will look
on a white background.
#1f5a9e Color on black background
This is how a font and box color of #1f5a9e hex color will look
on a black background.