In RGB color space, #1f2478 hex color has a red value of 31, a green value of 36 and a blue value of 120.
In CMYK color space (used in color printing), #1f2478 hex color is composed of 74.17% cyan, 70% magenta, 0% yellow and 52.94% black.
#1f2478 color has a hue of 236.6 degrees, a saturation of 58.94% and a lightness of 29.6%.
#1f2478 hex color contains mainly BLUE.
The closest web safe color of #1f2478 is #333366
#1f2478 hex color has a decimal value of 2040952.
HEX | 1f2478 | #1f2478 |
---|---|---|
RGB | 31, 36, 120 | rgb(31, 36, 120) |
RGB Percent | 12.16, 14.12, 47.06 | rgb(12.16, 14.12, 47.06) |
CMYK | 74, 70, 0, 53 | |
HSL | 236.6°, 58.94, 29.6 | hsl(236.6, 58.94%, 29.6%) |
HSV | 236.6°, 74.2, 47.1 |
XYZ | 4.586, 2.909, 18.089 |
---|---|
Hunter Lab | 17.056, 18.148, -50.943 |
CIE-LAB | 19.676, 28.252, -48.437 |
CIE-LCH | 19.676, 56.074, 300.254 |
CIE-LUV | 74.17, 70, 0, 52.94 |
Web Safe | 333366 |
RGB percent of color #1f2478
CMYK percent of color #1f2478
Text with hexadecimal color #1f2478
This text has a font color of #1f2478
<p style="color:#1f2478">Text here</p>
#1f2478 Background Color
This box has a background color of #1f2478
<div style="background-color:#1f2478">Text here</div>
#1f2478 Border Color
This box has a border color of #1f2478
<div style="border: 4px solid #1f2478">Text here</div>
CSS codes
<p style="color:#1f2478">Text here</p>
<div style="background-color:#1f2478">Text here</div>
<div style="border: 4px solid #1f2478">Text here</div>
#1f2478 Color on white background
This is how a font and box color of #1f2478 will look
on a white background.
#1f2478 Color on black background
This is how a font and box color of #1f2478 hex color will look
on a black background.