In RGB color space, #1f1c40 hex color has a red value of 31, a green value of 28 and a blue value of 64.
In CMYK color space (used in color printing), #1f1c40 hex color is composed of 51.56% cyan, 56.25% magenta, 0% yellow and 74.9% black.
#1f1c40 color has a hue of 245 degrees, a saturation of 39.13% and a lightness of 18%.
#1f1c40 hex color contains mainly BLUE.
The closest web safe color of #1f1c40 is #333333
#1f1c40 hex color has a decimal value of 2038848.
HEX | 1f1c40 | #1f1c40 |
---|---|---|
RGB | 31, 28, 64 | rgb(31, 28, 64) |
RGB Percent | 12.16, 10.98, 25.1 | rgb(12.16, 10.98, 25.1) |
CMYK | 52, 56, 0, 75 | |
HSL | 245°, 39.13, 18 | hsl(245, 39.13%, 18%) |
HSV | 245°, 56.3, 25.1 |
XYZ | 1.906, 1.492, 5.038 |
---|---|
Hunter Lab | 12.215, 6.477, -15.904 |
CIE-LAB | 12.557, 12.75, -22.564 |
CIE-LCH | 12.557, 25.917, 299.469 |
CIE-LUV | 51.56, 56.25, 0, 74.9 |
Web Safe | 333333 |
RGB percent of color #1f1c40
CMYK percent of color #1f1c40
Text with hexadecimal color #1f1c40
This text has a font color of #1f1c40
<p style="color:#1f1c40">Text here</p>
#1f1c40 Background Color
This box has a background color of #1f1c40
<div style="background-color:#1f1c40">Text here</div>
#1f1c40 Border Color
This box has a border color of #1f1c40
<div style="border: 4px solid #1f1c40">Text here</div>
CSS codes
<p style="color:#1f1c40">Text here</p>
<div style="background-color:#1f1c40">Text here</div>
<div style="border: 4px solid #1f1c40">Text here</div>
#1f1c40 Color on white background
This is how a font and box color of #1f1c40 will look
on a white background.
#1f1c40 Color on black background
This is how a font and box color of #1f1c40 hex color will look
on a black background.