In RGB color space, #1f3aa1 hex color has a red value of 31, a green value of 58 and a blue value of 161.
In CMYK color space (used in color printing), #1f3aa1 hex color is composed of 80.75% cyan, 63.98% magenta, 0% yellow and 36.86% black.
#1f3aa1 color has a hue of 227.5 degrees, a saturation of 67.71% and a lightness of 37.6%.
#1f3aa1 hex color contains mainly BLUE.
The closest web safe color of #1f3aa1 is #333399
#1f3aa1 hex color has a decimal value of 2046625.
HEX | 1f3aa1 | #1f3aa1 |
---|---|---|
RGB | 31, 58, 161 | rgb(31, 58, 161) |
RGB Percent | 12.16, 22.75, 63.14 | rgb(12.16, 22.75, 63.14) |
CMYK | 81, 64, 0, 37 | |
HSL | 227.5°, 67.71, 37.6 | hsl(227.5, 67.71%, 37.6%) |
HSV | 227.5°, 80.7, 63.1 |
XYZ | 8.511, 5.891, 34.407 |
---|---|
Hunter Lab | 24.271, 20.118, -67.059 |
CIE-LAB | 29.136, 29.141, -58.405 |
CIE-LCH | 29.136, 65.271, 296.517 |
CIE-LUV | 80.75, 63.98, 0, 36.86 |
Web Safe | 333399 |
RGB percent of color #1f3aa1
CMYK percent of color #1f3aa1
Text with hexadecimal color #1f3aa1
This text has a font color of #1f3aa1
<p style="color:#1f3aa1">Text here</p>
#1f3aa1 Background Color
This box has a background color of #1f3aa1
<div style="background-color:#1f3aa1">Text here</div>
#1f3aa1 Border Color
This box has a border color of #1f3aa1
<div style="border: 4px solid #1f3aa1">Text here</div>
CSS codes
<p style="color:#1f3aa1">Text here</p>
<div style="background-color:#1f3aa1">Text here</div>
<div style="border: 4px solid #1f3aa1">Text here</div>
#1f3aa1 Color on white background
This is how a font and box color of #1f3aa1 will look
on a white background.
#1f3aa1 Color on black background
This is how a font and box color of #1f3aa1 hex color will look
on a black background.