In RGB color space, #1f3aff hex color has a red value of 31, a green value of 58 and a blue value of 255.
In CMYK color space (used in color printing), #1f3aff hex color is composed of 87.84% cyan, 77.25% magenta, 0% yellow and 0% black.
#1f3aff color has a hue of 232.8 degrees, a saturation of 100% and a lightness of 56.1%.
#1f3aff hex color contains mainly BLUE.
The closest web safe color of #1f3aff is #3333ff
#1f3aff hex color has a decimal value of 2046719.
HEX | 1f3aff | #1f3aff |
---|---|---|
RGB | 31, 58, 255 | rgb(31, 58, 255) |
RGB Percent | 12.16, 22.75, 100 | rgb(12.16, 22.75, 100) |
CMYK | 88, 77, 0, 0 | |
HSL | 232.8°, 100, 56.1 | hsl(232.8, 100%, 56.1%) |
HSV | 232.8°, 87.8, 100 |
XYZ | 20.128, 10.537, 95.581 |
---|---|
Hunter Lab | 32.461, 53.877, -151.857 |
CIE-LAB | 38.789, 61.867, -97.035 |
CIE-LCH | 38.789, 115.08, 302.521 |
CIE-LUV | 87.84, 77.25, 0, 0 |
Web Safe | 3333ff |
RGB percent of color #1f3aff
CMYK percent of color #1f3aff
Text with hexadecimal color #1f3aff
This text has a font color of #1f3aff
<p style="color:#1f3aff">Text here</p>
#1f3aff Background Color
This box has a background color of #1f3aff
<div style="background-color:#1f3aff">Text here</div>
#1f3aff Border Color
This box has a border color of #1f3aff
<div style="border: 4px solid #1f3aff">Text here</div>
CSS codes
<p style="color:#1f3aff">Text here</p>
<div style="background-color:#1f3aff">Text here</div>
<div style="border: 4px solid #1f3aff">Text here</div>
#1f3aff Color on white background
This is how a font and box color of #1f3aff will look
on a white background.
#1f3aff Color on black background
This is how a font and box color of #1f3aff hex color will look
on a black background.