In RGB color space, #1f2a57 hex color has a red value of 31, a green value of 42 and a blue value of 87.
In CMYK color space (used in color printing), #1f2a57 hex color is composed of 64.37% cyan, 51.72% magenta, 0% yellow and 65.88% black.
#1f2a57 color has a hue of 228.2 degrees, a saturation of 47.46% and a lightness of 23.1%.
#1f2a57 hex color contains mainly BLUE.
The closest web safe color of #1f2a57 is #333366
#1f2a57 hex color has a decimal value of 2042455.
HEX | 1f2a57 | #1f2a57 |
---|---|---|
RGB | 31, 42, 87 | rgb(31, 42, 87) |
RGB Percent | 12.16, 16.47, 34.12 | rgb(12.16, 16.47, 34.12) |
CMYK | 64, 52, 0, 66 | |
HSL | 228.2°, 47.46, 23.1 | hsl(228.2, 47.46%, 23.1%) |
HSV | 228.2°, 64.4, 34.1 |
XYZ | 3.113, 2.635, 9.361 |
---|---|
Hunter Lab | 16.233, 5.824, -22.828 |
CIE-LAB | 18.518, 11.188, -28.756 |
CIE-LCH | 18.518, 30.856, 291.259 |
CIE-LUV | 64.37, 51.72, 0, 65.88 |
Web Safe | 333366 |
RGB percent of color #1f2a57
CMYK percent of color #1f2a57
Text with hexadecimal color #1f2a57
This text has a font color of #1f2a57
<p style="color:#1f2a57">Text here</p>
#1f2a57 Background Color
This box has a background color of #1f2a57
<div style="background-color:#1f2a57">Text here</div>
#1f2a57 Border Color
This box has a border color of #1f2a57
<div style="border: 4px solid #1f2a57">Text here</div>
CSS codes
<p style="color:#1f2a57">Text here</p>
<div style="background-color:#1f2a57">Text here</div>
<div style="border: 4px solid #1f2a57">Text here</div>
#1f2a57 Color on white background
This is how a font and box color of #1f2a57 will look
on a white background.
#1f2a57 Color on black background
This is how a font and box color of #1f2a57 hex color will look
on a black background.