In RGB color space, #1f51b6 hex color has a red value of 31, a green value of 81 and a blue value of 182.
In CMYK color space (used in color printing), #1f51b6 hex color is composed of 82.97% cyan, 55.49% magenta, 0% yellow and 28.63% black.
#1f51b6 color has a hue of 220.1 degrees, a saturation of 70.89% and a lightness of 41.8%.
#1f51b6 hex color contains mainly BLUE.
The closest web safe color of #1f51b6 is #3366cc
#1f51b6 hex color has a decimal value of 2052534.
HEX | 1f51b6 | #1f51b6 |
---|---|---|
RGB | 31, 81, 182 | rgb(31, 81, 182) |
RGB Percent | 12.16, 31.76, 71.37 | rgb(12.16, 31.76, 71.37) |
CMYK | 83, 55, 0, 29 | |
HSL | 220.1°, 70.89, 41.8 | hsl(220.1, 70.89%, 41.8%) |
HSV | 220.1°, 83, 71.4 |
XYZ | 11.951, 9.554, 45.47 |
---|---|
Hunter Lab | 30.91, 14.924, -65.583 |
CIE-LAB | 37.03, 21.914, -58.061 |
CIE-LCH | 37.03, 62.059, 290.678 |
CIE-LUV | 82.97, 55.49, 0, 28.63 |
Web Safe | 3366cc |
RGB percent of color #1f51b6
CMYK percent of color #1f51b6
Text with hexadecimal color #1f51b6
This text has a font color of #1f51b6
<p style="color:#1f51b6">Text here</p>
#1f51b6 Background Color
This box has a background color of #1f51b6
<div style="background-color:#1f51b6">Text here</div>
#1f51b6 Border Color
This box has a border color of #1f51b6
<div style="border: 4px solid #1f51b6">Text here</div>
CSS codes
<p style="color:#1f51b6">Text here</p>
<div style="background-color:#1f51b6">Text here</div>
<div style="border: 4px solid #1f51b6">Text here</div>
#1f51b6 Color on white background
This is how a font and box color of #1f51b6 will look
on a white background.
#1f51b6 Color on black background
This is how a font and box color of #1f51b6 hex color will look
on a black background.