In RGB color space, #1f2238 hex color has a red value of 31, a green value of 34 and a blue value of 56.
In CMYK color space (used in color printing), #1f2238 hex color is composed of 44.64% cyan, 39.29% magenta, 0% yellow and 78.04% black.
#1f2238 color has a hue of 232.8 degrees, a saturation of 28.74% and a lightness of 17.1%.
#1f2238 hex color contains mainly BLUE.
The closest web safe color of #1f2238 is #333333
#1f2238 hex color has a decimal value of 2040376.
HEX | 1f2238 | #1f2238 |
---|---|---|
RGB | 31, 34, 56 | rgb(31, 34, 56) |
RGB Percent | 12.16, 13.33, 21.96 | rgb(12.16, 13.33, 21.96) |
CMYK | 45, 39, 0, 78 | |
HSL | 232.8°, 28.74, 17.1 | hsl(232.8, 28.74%, 17.1%) |
HSV | 232.8°, 44.6, 22 |
XYZ | 1.851, 1.721, 3.976 |
---|---|
Hunter Lab | 13.119, 2.228, -8.786 |
CIE-LAB | 13.949, 5.431, -14.716 |
CIE-LCH | 13.949, 15.686, 290.257 |
CIE-LUV | 44.64, 39.29, 0, 78.04 |
Web Safe | 333333 |
RGB percent of color #1f2238
CMYK percent of color #1f2238
Text with hexadecimal color #1f2238
This text has a font color of #1f2238
<p style="color:#1f2238">Text here</p>
#1f2238 Background Color
This box has a background color of #1f2238
<div style="background-color:#1f2238">Text here</div>
#1f2238 Border Color
This box has a border color of #1f2238
<div style="border: 4px solid #1f2238">Text here</div>
CSS codes
<p style="color:#1f2238">Text here</p>
<div style="background-color:#1f2238">Text here</div>
<div style="border: 4px solid #1f2238">Text here</div>
#1f2238 Color on white background
This is how a font and box color of #1f2238 will look
on a white background.
#1f2238 Color on black background
This is how a font and box color of #1f2238 hex color will look
on a black background.