In RGB color space, #1f5397 hex color has a red value of 31, a green value of 83 and a blue value of 151.
In CMYK color space (used in color printing), #1f5397 hex color is composed of 79.47% cyan, 45.03% magenta, 0% yellow and 40.78% black.
#1f5397 color has a hue of 214 degrees, a saturation of 65.93% and a lightness of 35.7%.
#1f5397 hex color contains mainly BLUE.
The closest web safe color of #1f5397 is #336699
#1f5397 hex color has a decimal value of 2053015.
HEX | 1f5397 | #1f5397 |
---|---|---|
RGB | 31, 83, 151 | rgb(31, 83, 151) |
RGB Percent | 12.16, 32.55, 59.22 | rgb(12.16, 32.55, 59.22) |
CMYK | 79, 45, 0, 41 | |
HSL | 214°, 65.93, 35.7 | hsl(214, 65.93%, 35.7%) |
HSV | 214°, 79.5, 59.2 |
XYZ | 9.244, 8.712, 30.473 |
---|---|
Hunter Lab | 29.516, 4.25, -40.551 |
CIE-LAB | 35.424, 8.284, -42.161 |
CIE-LCH | 35.424, 42.967, 281.116 |
CIE-LUV | 79.47, 45.03, 0, 40.78 |
Web Safe | 336699 |
RGB percent of color #1f5397
CMYK percent of color #1f5397
Text with hexadecimal color #1f5397
This text has a font color of #1f5397
<p style="color:#1f5397">Text here</p>
#1f5397 Background Color
This box has a background color of #1f5397
<div style="background-color:#1f5397">Text here</div>
#1f5397 Border Color
This box has a border color of #1f5397
<div style="border: 4px solid #1f5397">Text here</div>
CSS codes
<p style="color:#1f5397">Text here</p>
<div style="background-color:#1f5397">Text here</div>
<div style="border: 4px solid #1f5397">Text here</div>
#1f5397 Color on white background
This is how a font and box color of #1f5397 will look
on a white background.
#1f5397 Color on black background
This is how a font and box color of #1f5397 hex color will look
on a black background.