In RGB color space, #1f2a4c hex color has a red value of 31, a green value of 42 and a blue value of 76.
In CMYK color space (used in color printing), #1f2a4c hex color is composed of 59.21% cyan, 44.74% magenta, 0% yellow and 70.2% black.
#1f2a4c color has a hue of 225.3 degrees, a saturation of 42.06% and a lightness of 21%.
#1f2a4c hex color contains mainly BLUE.
The closest web safe color of #1f2a4c is #333333
#1f2a4c hex color has a decimal value of 2042444.
HEX | 1f2a4c | #1f2a4c |
---|---|---|
RGB | 31, 42, 76 | rgb(31, 42, 76) |
RGB Percent | 12.16, 16.47, 29.8 | rgb(12.16, 16.47, 29.8) |
CMYK | 59, 45, 0, 70 | |
HSL | 225.3°, 42.06, 21 | hsl(225.3, 42.06%, 21%) |
HSV | 225.3°, 59.2, 29.8 |
XYZ | 2.698, 2.469, 7.172 |
---|---|
Hunter Lab | 15.713, 3.151, -16.063 |
CIE-LAB | 17.778, 6.93, -22.534 |
CIE-LCH | 17.778, 23.576, 287.095 |
CIE-LUV | 59.21, 44.74, 0, 70.2 |
Web Safe | 333333 |
RGB percent of color #1f2a4c
CMYK percent of color #1f2a4c
Text with hexadecimal color #1f2a4c
This text has a font color of #1f2a4c
<p style="color:#1f2a4c">Text here</p>
#1f2a4c Background Color
This box has a background color of #1f2a4c
<div style="background-color:#1f2a4c">Text here</div>
#1f2a4c Border Color
This box has a border color of #1f2a4c
<div style="border: 4px solid #1f2a4c">Text here</div>
CSS codes
<p style="color:#1f2a4c">Text here</p>
<div style="background-color:#1f2a4c">Text here</div>
<div style="border: 4px solid #1f2a4c">Text here</div>
#1f2a4c Color on white background
This is how a font and box color of #1f2a4c will look
on a white background.
#1f2a4c Color on black background
This is how a font and box color of #1f2a4c hex color will look
on a black background.