In RGB color space, #1f2162 hex color has a red value of 31, a green value of 33 and a blue value of 98.
In CMYK color space (used in color printing), #1f2162 hex color is composed of 68.37% cyan, 66.33% magenta, 0% yellow and 61.57% black.
#1f2162 color has a hue of 238.2 degrees, a saturation of 51.94% and a lightness of 25.3%.
#1f2162 hex color contains mainly BLUE.
The closest web safe color of #1f2162 is #333366
#1f2162 hex color has a decimal value of 2040162.
HEX | 1f2162 | #1f2162 |
---|---|---|
RGB | 31, 33, 98 | rgb(31, 33, 98) |
RGB Percent | 12.16, 12.94, 38.43 | rgb(12.16, 12.94, 38.43) |
CMYK | 68, 66, 0, 62 | |
HSL | 238.2°, 51.94, 25.3 | hsl(238.2, 51.94%, 25.3%) |
HSV | 238.2°, 68.4, 38.4 |
XYZ | 3.314, 2.261, 11.817 |
---|---|
Hunter Lab | 15.037, 13.026, -36.069 |
CIE-LAB | 16.801, 21.961, -38.845 |
CIE-LCH | 16.801, 44.623, 299.482 |
CIE-LUV | 68.37, 66.33, 0, 61.57 |
Web Safe | 333366 |
RGB percent of color #1f2162
CMYK percent of color #1f2162
Text with hexadecimal color #1f2162
This text has a font color of #1f2162
<p style="color:#1f2162">Text here</p>
#1f2162 Background Color
This box has a background color of #1f2162
<div style="background-color:#1f2162">Text here</div>
#1f2162 Border Color
This box has a border color of #1f2162
<div style="border: 4px solid #1f2162">Text here</div>
CSS codes
<p style="color:#1f2162">Text here</p>
<div style="background-color:#1f2162">Text here</div>
<div style="border: 4px solid #1f2162">Text here</div>
#1f2162 Color on white background
This is how a font and box color of #1f2162 will look
on a white background.
#1f2162 Color on black background
This is how a font and box color of #1f2162 hex color will look
on a black background.