In RGB color space, #1f2170 hex color has a red value of 31, a green value of 33 and a blue value of 112.
In CMYK color space (used in color printing), #1f2170 hex color is composed of 72.32% cyan, 70.54% magenta, 0% yellow and 56.08% black.
#1f2170 color has a hue of 238.5 degrees, a saturation of 56.64% and a lightness of 28%.
#1f2170 hex color contains mainly BLUE.
The closest web safe color of #1f2170 is #333366
#1f2170 hex color has a decimal value of 2040176.
HEX | 1f2170 | #1f2170 |
---|---|---|
RGB | 31, 33, 112 | rgb(31, 33, 112) |
RGB Percent | 12.16, 12.94, 43.92 | rgb(12.16, 12.94, 43.92) |
CMYK | 72, 71, 0, 56 | |
HSL | 238.5°, 56.64, 28 | hsl(238.5, 56.64%, 28%) |
HSV | 238.5°, 72.3, 43.9 |
XYZ | 4.034, 2.549, 15.609 |
---|---|
Hunter Lab | 15.966, 17.162, -46.79 |
CIE-LAB | 18.139, 27.259, -45.813 |
CIE-LCH | 18.139, 53.309, 300.753 |
CIE-LUV | 72.32, 70.54, 0, 56.08 |
Web Safe | 333366 |
RGB percent of color #1f2170
CMYK percent of color #1f2170
Text with hexadecimal color #1f2170
This text has a font color of #1f2170
<p style="color:#1f2170">Text here</p>
#1f2170 Background Color
This box has a background color of #1f2170
<div style="background-color:#1f2170">Text here</div>
#1f2170 Border Color
This box has a border color of #1f2170
<div style="border: 4px solid #1f2170">Text here</div>
CSS codes
<p style="color:#1f2170">Text here</p>
<div style="background-color:#1f2170">Text here</div>
<div style="border: 4px solid #1f2170">Text here</div>
#1f2170 Color on white background
This is how a font and box color of #1f2170 will look
on a white background.
#1f2170 Color on black background
This is how a font and box color of #1f2170 hex color will look
on a black background.