In RGB color space, #1f3faf hex color has a red value of 31, a green value of 63 and a blue value of 175.
In CMYK color space (used in color printing), #1f3faf hex color is composed of 82.29% cyan, 64% magenta, 0% yellow and 31.37% black.
#1f3faf color has a hue of 226.7 degrees, a saturation of 69.9% and a lightness of 40.4%.
#1f3faf hex color contains mainly BLUE.
The closest web safe color of #1f3faf is #333399
#1f3faf hex color has a decimal value of 2047919.
HEX | 1f3faf | #1f3faf |
---|---|---|
RGB | 31, 63, 175 | rgb(31, 63, 175) |
RGB Percent | 12.16, 24.71, 68.63 | rgb(12.16, 24.71, 68.63) |
CMYK | 82, 64, 0, 31 | |
HSL | 226.7°, 69.9, 40.4 | hsl(226.7, 69.9%, 40.4%) |
HSV | 226.7°, 82.3, 68.6 |
XYZ | 10.08, 6.941, 41.366 |
---|---|
Hunter Lab | 26.346, 22.19, -74.65 |
CIE-LAB | 31.672, 31.187, -62.659 |
CIE-LCH | 31.672, 69.991, 296.461 |
CIE-LUV | 82.29, 64, 0, 31.37 |
Web Safe | 333399 |
RGB percent of color #1f3faf
CMYK percent of color #1f3faf
Text with hexadecimal color #1f3faf
This text has a font color of #1f3faf
<p style="color:#1f3faf">Text here</p>
#1f3faf Background Color
This box has a background color of #1f3faf
<div style="background-color:#1f3faf">Text here</div>
#1f3faf Border Color
This box has a border color of #1f3faf
<div style="border: 4px solid #1f3faf">Text here</div>
CSS codes
<p style="color:#1f3faf">Text here</p>
<div style="background-color:#1f3faf">Text here</div>
<div style="border: 4px solid #1f3faf">Text here</div>
#1f3faf Color on white background
This is how a font and box color of #1f3faf will look
on a white background.
#1f3faf Color on black background
This is how a font and box color of #1f3faf hex color will look
on a black background.