In RGB color space, #1f2a42 hex color has a red value of 31, a green value of 42 and a blue value of 66.
In CMYK color space (used in color printing), #1f2a42 hex color is composed of 53.03% cyan, 36.36% magenta, 0% yellow and 74.12% black.
#1f2a42 color has a hue of 221.1 degrees, a saturation of 36.08% and a lightness of 19%.
#1f2a42 hex color contains mainly BLUE.
The closest web safe color of #1f2a42 is #333333
#1f2a42 hex color has a decimal value of 2042434.
HEX | 1f2a42 | #1f2a42 |
---|---|---|
RGB | 31, 42, 66 | rgb(31, 42, 66) |
RGB Percent | 12.16, 16.47, 25.88 | rgb(12.16, 16.47, 25.88) |
CMYK | 53, 36, 0, 74 | |
HSL | 221.1°, 36.08, 19 | hsl(221.1, 36.08%, 19%) |
HSV | 221.1°, 53, 25.9 |
XYZ | 2.376, 2.341, 5.481 |
---|---|
Hunter Lab | 15.3, 0.944, -10.529 |
CIE-LAB | 17.184, 3.164, -16.633 |
CIE-LCH | 17.184, 16.931, 280.77 |
CIE-LUV | 53.03, 36.36, 0, 74.12 |
Web Safe | 333333 |
RGB percent of color #1f2a42
CMYK percent of color #1f2a42
Text with hexadecimal color #1f2a42
This text has a font color of #1f2a42
<p style="color:#1f2a42">Text here</p>
#1f2a42 Background Color
This box has a background color of #1f2a42
<div style="background-color:#1f2a42">Text here</div>
#1f2a42 Border Color
This box has a border color of #1f2a42
<div style="border: 4px solid #1f2a42">Text here</div>
CSS codes
<p style="color:#1f2a42">Text here</p>
<div style="background-color:#1f2a42">Text here</div>
<div style="border: 4px solid #1f2a42">Text here</div>
#1f2a42 Color on white background
This is how a font and box color of #1f2a42 will look
on a white background.
#1f2a42 Color on black background
This is how a font and box color of #1f2a42 hex color will look
on a black background.