In RGB color space, #1f7fa2 hex color has a red value of 31, a green value of 127 and a blue value of 162.
In CMYK color space (used in color printing), #1f7fa2 hex color is composed of 80.86% cyan, 21.6% magenta, 0% yellow and 36.47% black.
#1f7fa2 color has a hue of 196 degrees, a saturation of 67.88% and a lightness of 37.8%.
#1f7fa2 hex color contains mainly BLUE.
The closest web safe color of #1f7fa2 is #336699
#1f7fa2 hex color has a decimal value of 2064290.
HEX | 1f7fa2 | #1f7fa2 |
---|---|---|
RGB | 31, 127, 162 | rgb(31, 127, 162) |
RGB Percent | 12.16, 49.8, 63.53 | rgb(12.16, 49.8, 63.53) |
CMYK | 81, 22, 0, 36 | |
HSL | 196°, 67.88, 37.8 | hsl(196, 67.88%, 37.8%) |
HSV | 196°, 80.9, 63.5 |
XYZ | 14.676, 18.079, 36.898 |
---|---|
Hunter Lab | 42.519, -12.798, -21.688 |
CIE-LAB | 49.592, -14.481, -26.348 |
CIE-LCH | 49.592, 30.065, 241.207 |
CIE-LUV | 80.86, 21.6, 0, 36.47 |
Web Safe | 336699 |
RGB percent of color #1f7fa2
CMYK percent of color #1f7fa2
Text with hexadecimal color #1f7fa2
This text has a font color of #1f7fa2
<p style="color:#1f7fa2">Text here</p>
#1f7fa2 Background Color
This box has a background color of #1f7fa2
<div style="background-color:#1f7fa2">Text here</div>
#1f7fa2 Border Color
This box has a border color of #1f7fa2
<div style="border: 4px solid #1f7fa2">Text here</div>
CSS codes
<p style="color:#1f7fa2">Text here</p>
<div style="background-color:#1f7fa2">Text here</div>
<div style="border: 4px solid #1f7fa2">Text here</div>
#1f7fa2 Color on white background
This is how a font and box color of #1f7fa2 will look
on a white background.
#1f7fa2 Color on black background
This is how a font and box color of #1f7fa2 hex color will look
on a black background.