In RGB color space, #1f31a3 hex color has a red value of 31, a green value of 49 and a blue value of 163.
In CMYK color space (used in color printing), #1f31a3 hex color is composed of 80.98% cyan, 69.94% magenta, 0% yellow and 36.08% black.
#1f31a3 color has a hue of 231.8 degrees, a saturation of 68.04% and a lightness of 38%.
#1f31a3 hex color contains mainly BLUE.
The closest web safe color of #1f31a3 is #333399
#1f31a3 hex color has a decimal value of 2044323.
HEX | 1f31a3 | #1f31a3 |
---|---|---|
RGB | 31, 49, 163 | rgb(31, 49, 163) |
RGB Percent | 12.16, 19.22, 63.92 | rgb(12.16, 19.22, 63.92) |
CMYK | 81, 70, 0, 36 | |
HSL | 231.8°, 68.04, 38 | hsl(231.8, 68.04%, 38%) |
HSV | 231.8°, 81, 63.9 |
XYZ | 8.274, 5.132, 35.205 |
---|---|
Hunter Lab | 22.654, 25.55, -76.281 |
CIE-LAB | 27.108, 35.788, -62.947 |
CIE-LCH | 27.108, 72.409, 299.62 |
CIE-LUV | 80.98, 69.94, 0, 36.08 |
Web Safe | 333399 |
RGB percent of color #1f31a3
CMYK percent of color #1f31a3
Text with hexadecimal color #1f31a3
This text has a font color of #1f31a3
<p style="color:#1f31a3">Text here</p>
#1f31a3 Background Color
This box has a background color of #1f31a3
<div style="background-color:#1f31a3">Text here</div>
#1f31a3 Border Color
This box has a border color of #1f31a3
<div style="border: 4px solid #1f31a3">Text here</div>
CSS codes
<p style="color:#1f31a3">Text here</p>
<div style="background-color:#1f31a3">Text here</div>
<div style="border: 4px solid #1f31a3">Text here</div>
#1f31a3 Color on white background
This is how a font and box color of #1f31a3 will look
on a white background.
#1f31a3 Color on black background
This is how a font and box color of #1f31a3 hex color will look
on a black background.