In RGB color space, #1f2878 hex color has a red value of 31, a green value of 40 and a blue value of 120.
In CMYK color space (used in color printing), #1f2878 hex color is composed of 74.17% cyan, 66.67% magenta, 0% yellow and 52.94% black.
#1f2878 color has a hue of 233.9 degrees, a saturation of 58.94% and a lightness of 29.6%.
#1f2878 hex color contains mainly BLUE.
The closest web safe color of #1f2878 is #333366
#1f2878 hex color has a decimal value of 2041976.
HEX | 1f2878 | #1f2878 |
---|---|---|
RGB | 31, 40, 120 | rgb(31, 40, 120) |
RGB Percent | 12.16, 15.69, 47.06 | rgb(12.16, 15.69, 47.06) |
CMYK | 74, 67, 0, 53 | |
HSL | 233.9°, 58.94, 29.6 | hsl(233.9, 58.94%, 29.6%) |
HSV | 233.9°, 74.2, 47.1 |
XYZ | 4.714, 3.165, 18.132 |
---|---|
Hunter Lab | 17.79, 16.165, -47.975 |
CIE-LAB | 20.693, 25.546, -46.77 |
CIE-LCH | 20.693, 53.292, 298.644 |
CIE-LUV | 74.17, 66.67, 0, 52.94 |
Web Safe | 333366 |
RGB percent of color #1f2878
CMYK percent of color #1f2878
Text with hexadecimal color #1f2878
This text has a font color of #1f2878
<p style="color:#1f2878">Text here</p>
#1f2878 Background Color
This box has a background color of #1f2878
<div style="background-color:#1f2878">Text here</div>
#1f2878 Border Color
This box has a border color of #1f2878
<div style="border: 4px solid #1f2878">Text here</div>
CSS codes
<p style="color:#1f2878">Text here</p>
<div style="background-color:#1f2878">Text here</div>
<div style="border: 4px solid #1f2878">Text here</div>
#1f2878 Color on white background
This is how a font and box color of #1f2878 will look
on a white background.
#1f2878 Color on black background
This is how a font and box color of #1f2878 hex color will look
on a black background.