In RGB color space, #1f42d9 hex color has a red value of 31, a green value of 66 and a blue value of 217.
In CMYK color space (used in color printing), #1f42d9 hex color is composed of 85.71% cyan, 69.59% magenta, 0% yellow and 14.9% black.
#1f42d9 color has a hue of 228.7 degrees, a saturation of 75% and a lightness of 48.6%.
#1f42d9 hex color contains mainly BLUE.
The closest web safe color of #1f42d9 is #3333cc
#1f42d9 hex color has a decimal value of 2048729.
HEX | 1f42d9 | #1f42d9 |
---|---|---|
RGB | 31, 66, 217 | rgb(31, 66, 217) |
RGB Percent | 12.16, 25.88, 85.1 | rgb(12.16, 25.88, 85.1) |
CMYK | 86, 70, 0, 15 | |
HSL | 228.7°, 75, 48.6 | hsl(228.7, 75%, 48.6%) |
HSV | 228.7°, 85.7, 85.1 |
XYZ | 15.038, 9.197, 66.628 |
---|---|
Hunter Lab | 30.327, 35.441, -109.033 |
CIE-LAB | 36.361, 44.736, -79.519 |
CIE-LCH | 36.361, 91.239, 299.361 |
CIE-LUV | 85.71, 69.59, 0, 14.9 |
Web Safe | 3333cc |
RGB percent of color #1f42d9
CMYK percent of color #1f42d9
Text with hexadecimal color #1f42d9
This text has a font color of #1f42d9
<p style="color:#1f42d9">Text here</p>
#1f42d9 Background Color
This box has a background color of #1f42d9
<div style="background-color:#1f42d9">Text here</div>
#1f42d9 Border Color
This box has a border color of #1f42d9
<div style="border: 4px solid #1f42d9">Text here</div>
CSS codes
<p style="color:#1f42d9">Text here</p>
<div style="background-color:#1f42d9">Text here</div>
<div style="border: 4px solid #1f42d9">Text here</div>
#1f42d9 Color on white background
This is how a font and box color of #1f42d9 will look
on a white background.
#1f42d9 Color on black background
This is how a font and box color of #1f42d9 hex color will look
on a black background.