In RGB color space, #1f508c hex color has a red value of 31, a green value of 80 and a blue value of 140.
In CMYK color space (used in color printing), #1f508c hex color is composed of 77.86% cyan, 42.86% magenta, 0% yellow and 45.1% black.
#1f508c color has a hue of 213 degrees, a saturation of 63.74% and a lightness of 33.5%.
#1f508c hex color contains mainly BLUE.
The closest web safe color of #1f508c is #336699
#1f508c hex color has a decimal value of 2052236.
HEX | 1f508c | #1f508c |
---|---|---|
RGB | 31, 80, 140 | rgb(31, 80, 140) |
RGB Percent | 12.16, 31.37, 54.9 | rgb(12.16, 31.37, 54.9) |
CMYK | 78, 43, 0, 45 | |
HSL | 213°, 63.74, 33.5 | hsl(213, 63.74%, 33.5%) |
HSV | 213°, 77.9, 54.9 |
XYZ | 8.167, 7.922, 25.91 |
---|---|
Hunter Lab | 28.146, 2.539, -34.878 |
CIE-LAB | 33.82, 5.896, -38.04 |
CIE-LCH | 33.82, 38.494, 278.81 |
CIE-LUV | 77.86, 42.86, 0, 45.1 |
Web Safe | 336699 |
RGB percent of color #1f508c
CMYK percent of color #1f508c
Text with hexadecimal color #1f508c
This text has a font color of #1f508c
<p style="color:#1f508c">Text here</p>
#1f508c Background Color
This box has a background color of #1f508c
<div style="background-color:#1f508c">Text here</div>
#1f508c Border Color
This box has a border color of #1f508c
<div style="border: 4px solid #1f508c">Text here</div>
CSS codes
<p style="color:#1f508c">Text here</p>
<div style="background-color:#1f508c">Text here</div>
<div style="border: 4px solid #1f508c">Text here</div>
#1f508c Color on white background
This is how a font and box color of #1f508c will look
on a white background.
#1f508c Color on black background
This is how a font and box color of #1f508c hex color will look
on a black background.