In RGB color space, #1f3795 hex color has a red value of 31, a green value of 55 and a blue value of 149.
In CMYK color space (used in color printing), #1f3795 hex color is composed of 79.19% cyan, 63.09% magenta, 0% yellow and 41.57% black.
#1f3795 color has a hue of 227.8 degrees, a saturation of 65.56% and a lightness of 35.3%.
#1f3795 hex color contains mainly BLUE.
The closest web safe color of #1f3795 is #333399
#1f3795 hex color has a decimal value of 2045845.
HEX | 1f3795 | #1f3795 |
---|---|---|
RGB | 31, 55, 149 | rgb(31, 55, 149) |
RGB Percent | 12.16, 21.57, 58.43 | rgb(12.16, 21.57, 58.43) |
CMYK | 79, 63, 0, 42 | |
HSL | 227.8°, 65.56, 35.3 | hsl(227.8, 65.56%, 35.3%) |
HSV | 227.8°, 79.2, 58.4 |
XYZ | 7.356, 5.194, 29.049 |
---|---|
Hunter Lab | 22.79, 17.731, -59.619 |
CIE-LAB | 27.28, 26.524, -54.13 |
CIE-LCH | 27.28, 60.279, 296.105 |
CIE-LUV | 79.19, 63.09, 0, 41.57 |
Web Safe | 333399 |
RGB percent of color #1f3795
CMYK percent of color #1f3795
Text with hexadecimal color #1f3795
This text has a font color of #1f3795
<p style="color:#1f3795">Text here</p>
#1f3795 Background Color
This box has a background color of #1f3795
<div style="background-color:#1f3795">Text here</div>
#1f3795 Border Color
This box has a border color of #1f3795
<div style="border: 4px solid #1f3795">Text here</div>
CSS codes
<p style="color:#1f3795">Text here</p>
<div style="background-color:#1f3795">Text here</div>
<div style="border: 4px solid #1f3795">Text here</div>
#1f3795 Color on white background
This is how a font and box color of #1f3795 will look
on a white background.
#1f3795 Color on black background
This is how a font and box color of #1f3795 hex color will look
on a black background.