In RGB color space, #1f42e3 hex color has a red value of 31, a green value of 66 and a blue value of 227.
In CMYK color space (used in color printing), #1f42e3 hex color is composed of 86.34% cyan, 70.93% magenta, 0% yellow and 10.98% black.
#1f42e3 color has a hue of 229.3 degrees, a saturation of 77.78% and a lightness of 50.6%.
#1f42e3 hex color contains mainly BLUE.
The closest web safe color of #1f42e3 is #3333cc
#1f42e3 hex color has a decimal value of 2048739.
HEX | 1f42e3 | #1f42e3 |
---|---|---|
RGB | 31, 66, 227 | rgb(31, 66, 227) |
RGB Percent | 12.16, 25.88, 89.02 | rgb(12.16, 25.88, 89.02) |
CMYK | 86, 71, 0, 11 | |
HSL | 229.3°, 77.78, 50.6 | hsl(229.3, 77.78%, 50.6%) |
HSV | 229.3°, 86.3, 89 |
XYZ | 16.378, 9.734, 73.689 |
---|---|
Hunter Lab | 31.199, 39.104, -118.196 |
CIE-LAB | 37.361, 48.231, -83.593 |
CIE-LCH | 37.361, 96.509, 299.984 |
CIE-LUV | 86.34, 70.93, 0, 10.98 |
Web Safe | 3333cc |
RGB percent of color #1f42e3
CMYK percent of color #1f42e3
Text with hexadecimal color #1f42e3
This text has a font color of #1f42e3
<p style="color:#1f42e3">Text here</p>
#1f42e3 Background Color
This box has a background color of #1f42e3
<div style="background-color:#1f42e3">Text here</div>
#1f42e3 Border Color
This box has a border color of #1f42e3
<div style="border: 4px solid #1f42e3">Text here</div>
CSS codes
<p style="color:#1f42e3">Text here</p>
<div style="background-color:#1f42e3">Text here</div>
<div style="border: 4px solid #1f42e3">Text here</div>
#1f42e3 Color on white background
This is how a font and box color of #1f42e3 will look
on a white background.
#1f42e3 Color on black background
This is how a font and box color of #1f42e3 hex color will look
on a black background.