In RGB color space, #1f2172 hex color has a red value of 31, a green value of 33 and a blue value of 114.
In CMYK color space (used in color printing), #1f2172 hex color is composed of 72.81% cyan, 71.05% magenta, 0% yellow and 55.29% black.
#1f2172 color has a hue of 238.6 degrees, a saturation of 57.24% and a lightness of 28.4%.
#1f2172 hex color contains mainly BLUE.
The closest web safe color of #1f2172 is #333366
#1f2172 hex color has a decimal value of 2040178.
HEX | 1f2172 | #1f2172 |
---|---|---|
RGB | 31, 33, 114 | rgb(31, 33, 114) |
RGB Percent | 12.16, 12.94, 44.71 | rgb(12.16, 12.94, 44.71) |
CMYK | 73, 71, 0, 55 | |
HSL | 238.6°, 57.24, 28.4 | hsl(238.6, 57.24%, 28.4%) |
HSV | 238.6°, 72.8, 44.7 |
XYZ | 4.146, 2.594, 16.202 |
---|---|
Hunter Lab | 16.106, 17.764, -48.37 |
CIE-LAB | 18.338, 27.998, -46.778 |
CIE-LCH | 18.338, 54.517, 300.902 |
CIE-LUV | 72.81, 71.05, 0, 55.29 |
Web Safe | 333366 |
RGB percent of color #1f2172
CMYK percent of color #1f2172
Text with hexadecimal color #1f2172
This text has a font color of #1f2172
<p style="color:#1f2172">Text here</p>
#1f2172 Background Color
This box has a background color of #1f2172
<div style="background-color:#1f2172">Text here</div>
#1f2172 Border Color
This box has a border color of #1f2172
<div style="border: 4px solid #1f2172">Text here</div>
CSS codes
<p style="color:#1f2172">Text here</p>
<div style="background-color:#1f2172">Text here</div>
<div style="border: 4px solid #1f2172">Text here</div>
#1f2172 Color on white background
This is how a font and box color of #1f2172 will look
on a white background.
#1f2172 Color on black background
This is how a font and box color of #1f2172 hex color will look
on a black background.