In RGB color space, #1f42b8 hex color has a red value of 31, a green value of 66 and a blue value of 184.
In CMYK color space (used in color printing), #1f42b8 hex color is composed of 83.15% cyan, 64.13% magenta, 0% yellow and 27.84% black.
#1f42b8 color has a hue of 226.3 degrees, a saturation of 71.16% and a lightness of 42.2%.
#1f42b8 hex color contains mainly BLUE.
The closest web safe color of #1f42b8 is #3333cc
#1f42b8 hex color has a decimal value of 2048696.
HEX | 1f42b8 | #1f42b8 |
---|---|---|
RGB | 31, 66, 184 | rgb(31, 66, 184) |
RGB Percent | 12.16, 25.88, 72.16 | rgb(12.16, 25.88, 72.16) |
CMYK | 83, 64, 0, 28 | |
HSL | 226.3°, 71.16, 42.2 | hsl(226.3, 71.16%, 42.2%) |
HSV | 226.3°, 83.2, 72.2 |
XYZ | 11.165, 7.648, 46.235 |
---|---|
Hunter Lab | 27.655, 23.668, -79.765 |
CIE-LAB | 33.239, 32.638, -65.431 |
CIE-LCH | 33.239, 73.119, 296.511 |
CIE-LUV | 83.15, 64.13, 0, 27.84 |
Web Safe | 3333cc |
RGB percent of color #1f42b8
CMYK percent of color #1f42b8
Text with hexadecimal color #1f42b8
This text has a font color of #1f42b8
<p style="color:#1f42b8">Text here</p>
#1f42b8 Background Color
This box has a background color of #1f42b8
<div style="background-color:#1f42b8">Text here</div>
#1f42b8 Border Color
This box has a border color of #1f42b8
<div style="border: 4px solid #1f42b8">Text here</div>
CSS codes
<p style="color:#1f42b8">Text here</p>
<div style="background-color:#1f42b8">Text here</div>
<div style="border: 4px solid #1f42b8">Text here</div>
#1f42b8 Color on white background
This is how a font and box color of #1f42b8 will look
on a white background.
#1f42b8 Color on black background
This is how a font and box color of #1f42b8 hex color will look
on a black background.