In RGB color space, #1f2a52 hex color has a red value of 31, a green value of 42 and a blue value of 82.
In CMYK color space (used in color printing), #1f2a52 hex color is composed of 62.2% cyan, 48.78% magenta, 0% yellow and 67.84% black.
#1f2a52 color has a hue of 227.1 degrees, a saturation of 45.13% and a lightness of 22.2%.
#1f2a52 hex color contains mainly BLUE.
The closest web safe color of #1f2a52 is #333366
#1f2a52 hex color has a decimal value of 2042450.
HEX | 1f2a52 | #1f2a52 |
---|---|---|
RGB | 31, 42, 82 | rgb(31, 42, 82) |
RGB Percent | 12.16, 16.47, 32.16 | rgb(12.16, 16.47, 32.16) |
CMYK | 62, 49, 0, 68 | |
HSL | 227.1°, 45.13, 22.2 | hsl(227.1, 45.13%, 22.2%) |
HSV | 227.1°, 62.2, 32.2 |
XYZ | 2.916, 2.556, 8.322 |
---|---|
Hunter Lab | 15.987, 4.579, -19.671 |
CIE-LAB | 18.17, 9.241, -25.962 |
CIE-LCH | 18.17, 27.558, 289.593 |
CIE-LUV | 62.2, 48.78, 0, 67.84 |
Web Safe | 333366 |
RGB percent of color #1f2a52
CMYK percent of color #1f2a52
Text with hexadecimal color #1f2a52
This text has a font color of #1f2a52
<p style="color:#1f2a52">Text here</p>
#1f2a52 Background Color
This box has a background color of #1f2a52
<div style="background-color:#1f2a52">Text here</div>
#1f2a52 Border Color
This box has a border color of #1f2a52
<div style="border: 4px solid #1f2a52">Text here</div>
CSS codes
<p style="color:#1f2a52">Text here</p>
<div style="background-color:#1f2a52">Text here</div>
<div style="border: 4px solid #1f2a52">Text here</div>
#1f2a52 Color on white background
This is how a font and box color of #1f2a52 will look
on a white background.
#1f2a52 Color on black background
This is how a font and box color of #1f2a52 hex color will look
on a black background.