In RGB color space, #1f2a3a hex color has a red value of 31, a green value of 42 and a blue value of 58.
In CMYK color space (used in color printing), #1f2a3a hex color is composed of 46.55% cyan, 27.59% magenta, 0% yellow and 77.25% black.
#1f2a3a color has a hue of 215.6 degrees, a saturation of 30.34% and a lightness of 17.5%.
#1f2a3a hex color contains mainly BLUE.
The closest web safe color of #1f2a3a is #333333
#1f2a3a hex color has a decimal value of 2042426.
HEX | 1f2a3a | #1f2a3a |
---|---|---|
RGB | 31, 42, 58 | rgb(31, 42, 58) |
RGB Percent | 12.16, 16.47, 22.75 | rgb(12.16, 16.47, 22.75) |
CMYK | 47, 28, 0, 77 | |
HSL | 215.6°, 30.34, 17.5 | hsl(215.6, 30.34%, 17.5%) |
HSV | 215.6°, 46.6, 22.7 |
XYZ | 2.157, 2.253, 4.324 |
---|---|
Hunter Lab | 15.01, -0.616, -6.573 |
CIE-LAB | 16.763, 0.342, -11.747 |
CIE-LCH | 16.763, 11.752, 271.668 |
CIE-LUV | 46.55, 27.59, 0, 77.25 |
Web Safe | 333333 |
RGB percent of color #1f2a3a
CMYK percent of color #1f2a3a
Text with hexadecimal color #1f2a3a
This text has a font color of #1f2a3a
<p style="color:#1f2a3a">Text here</p>
#1f2a3a Background Color
This box has a background color of #1f2a3a
<div style="background-color:#1f2a3a">Text here</div>
#1f2a3a Border Color
This box has a border color of #1f2a3a
<div style="border: 4px solid #1f2a3a">Text here</div>
CSS codes
<p style="color:#1f2a3a">Text here</p>
<div style="background-color:#1f2a3a">Text here</div>
<div style="border: 4px solid #1f2a3a">Text here</div>
#1f2a3a Color on white background
This is how a font and box color of #1f2a3a will look
on a white background.
#1f2a3a Color on black background
This is how a font and box color of #1f2a3a hex color will look
on a black background.