In RGB color space, #1f2c7e hex color has a red value of 31, a green value of 44 and a blue value of 126.
In CMYK color space (used in color printing), #1f2c7e hex color is composed of 75.4% cyan, 65.08% magenta, 0% yellow and 50.59% black.
#1f2c7e color has a hue of 231.8 degrees, a saturation of 60.51% and a lightness of 30.8%.
#1f2c7e hex color contains mainly BLUE.
The closest web safe color of #1f2c7e is #333366
#1f2c7e hex color has a decimal value of 2043006.
HEX | 1f2c7e | #1f2c7e |
---|---|---|
RGB | 31, 44, 126 | rgb(31, 44, 126) |
RGB Percent | 12.16, 17.25, 49.41 | rgb(12.16, 17.25, 49.41) |
CMYK | 75, 65, 0, 51 | |
HSL | 231.8°, 60.51, 30.8 | hsl(231.8, 60.51%, 30.8%) |
HSV | 231.8°, 75.4, 49.4 |
XYZ | 5.232, 3.599, 20.158 |
---|---|
Hunter Lab | 18.971, 16.029, -49.72 |
CIE-LAB | 22.299, 25.12, -47.956 |
CIE-LCH | 22.299, 54.137, 297.646 |
CIE-LUV | 75.4, 65.08, 0, 50.59 |
Web Safe | 333366 |
RGB percent of color #1f2c7e
CMYK percent of color #1f2c7e
Text with hexadecimal color #1f2c7e
This text has a font color of #1f2c7e
<p style="color:#1f2c7e">Text here</p>
#1f2c7e Background Color
This box has a background color of #1f2c7e
<div style="background-color:#1f2c7e">Text here</div>
#1f2c7e Border Color
This box has a border color of #1f2c7e
<div style="border: 4px solid #1f2c7e">Text here</div>
CSS codes
<p style="color:#1f2c7e">Text here</p>
<div style="background-color:#1f2c7e">Text here</div>
<div style="border: 4px solid #1f2c7e">Text here</div>
#1f2c7e Color on white background
This is how a font and box color of #1f2c7e will look
on a white background.
#1f2c7e Color on black background
This is how a font and box color of #1f2c7e hex color will look
on a black background.