In RGB color space, #1f2f7d hex color has a red value of 31, a green value of 47 and a blue value of 125.
In CMYK color space (used in color printing), #1f2f7d hex color is composed of 75.2% cyan, 62.4% magenta, 0% yellow and 50.98% black.
#1f2f7d color has a hue of 229.8 degrees, a saturation of 60.26% and a lightness of 30.6%.
#1f2f7d hex color contains mainly BLUE.
The closest web safe color of #1f2f7d is #333366
#1f2f7d hex color has a decimal value of 2043773.
HEX | 1f2f7d | #1f2f7d |
---|---|---|
RGB | 31, 47, 125 | rgb(31, 47, 125) |
RGB Percent | 12.16, 18.43, 49.02 | rgb(12.16, 18.43, 49.02) |
CMYK | 75, 62, 0, 51 | |
HSL | 229.8°, 60.26, 30.6 | hsl(229.8, 60.26%, 30.6%) |
HSV | 229.8°, 75.2, 49 |
XYZ | 5.283, 3.805, 19.858 |
---|---|
Hunter Lab | 19.506, 14.208, -46.704 |
CIE-LAB | 23.016, 22.645, -46.151 |
CIE-LCH | 23.016, 51.407, 296.136 |
CIE-LUV | 75.2, 62.4, 0, 50.98 |
Web Safe | 333366 |
RGB percent of color #1f2f7d
CMYK percent of color #1f2f7d
Text with hexadecimal color #1f2f7d
This text has a font color of #1f2f7d
<p style="color:#1f2f7d">Text here</p>
#1f2f7d Background Color
This box has a background color of #1f2f7d
<div style="background-color:#1f2f7d">Text here</div>
#1f2f7d Border Color
This box has a border color of #1f2f7d
<div style="border: 4px solid #1f2f7d">Text here</div>
CSS codes
<p style="color:#1f2f7d">Text here</p>
<div style="background-color:#1f2f7d">Text here</div>
<div style="border: 4px solid #1f2f7d">Text here</div>
#1f2f7d Color on white background
This is how a font and box color of #1f2f7d will look
on a white background.
#1f2f7d Color on black background
This is how a font and box color of #1f2f7d hex color will look
on a black background.