In RGB color space, #1f2138 hex color has a red value of 31, a green value of 33 and a blue value of 56.
In CMYK color space (used in color printing), #1f2138 hex color is composed of 44.64% cyan, 41.07% magenta, 0% yellow and 78.04% black.
#1f2138 color has a hue of 235.2 degrees, a saturation of 28.74% and a lightness of 17.1%.
#1f2138 hex color contains mainly BLUE.
The closest web safe color of #1f2138 is #333333
#1f2138 hex color has a decimal value of 2040120.
HEX | 1f2138 | #1f2138 |
---|---|---|
RGB | 31, 33, 56 | rgb(31, 33, 56) |
RGB Percent | 12.16, 12.94, 21.96 | rgb(12.16, 12.94, 21.96) |
CMYK | 45, 41, 0, 78 | |
HSL | 235.2°, 28.74, 17.1 | hsl(235.2, 28.74%, 17.1%) |
HSV | 235.2°, 44.6, 22 |
XYZ | 1.823, 1.665, 3.967 |
---|---|
Hunter Lab | 12.903, 2.637, -9.195 |
CIE-LAB | 13.621, 6.164, -15.232 |
CIE-LCH | 13.621, 16.432, 292.032 |
CIE-LUV | 44.64, 41.07, 0, 78.04 |
Web Safe | 333333 |
RGB percent of color #1f2138
CMYK percent of color #1f2138
Text with hexadecimal color #1f2138
This text has a font color of #1f2138
<p style="color:#1f2138">Text here</p>
#1f2138 Background Color
This box has a background color of #1f2138
<div style="background-color:#1f2138">Text here</div>
#1f2138 Border Color
This box has a border color of #1f2138
<div style="border: 4px solid #1f2138">Text here</div>
CSS codes
<p style="color:#1f2138">Text here</p>
<div style="background-color:#1f2138">Text here</div>
<div style="border: 4px solid #1f2138">Text here</div>
#1f2138 Color on white background
This is how a font and box color of #1f2138 will look
on a white background.
#1f2138 Color on black background
This is how a font and box color of #1f2138 hex color will look
on a black background.