In RGB color space, #1f42b0 hex color has a red value of 31, a green value of 66 and a blue value of 176.
In CMYK color space (used in color printing), #1f42b0 hex color is composed of 82.39% cyan, 62.5% magenta, 0% yellow and 30.98% black.
#1f42b0 color has a hue of 225.5 degrees, a saturation of 70.05% and a lightness of 40.6%.
#1f42b0 hex color contains mainly BLUE.
The closest web safe color of #1f42b0 is #333399
#1f42b0 hex color has a decimal value of 2048688.
HEX | 1f42b0 | #1f42b0 |
---|---|---|
RGB | 31, 66, 176 | rgb(31, 66, 176) |
RGB Percent | 12.16, 25.88, 69.02 | rgb(12.16, 25.88, 69.02) |
CMYK | 82, 63, 0, 31 | |
HSL | 225.5°, 70.05, 40.6 | hsl(225.5, 70.05%, 40.6%) |
HSV | 225.5°, 82.4, 69 |
XYZ | 10.35, 7.322, 41.942 |
---|---|
Hunter Lab | 27.059, 20.922, -72.959 |
CIE-LAB | 32.529, 29.588, -61.851 |
CIE-LCH | 32.529, 68.564, 295.565 |
CIE-LUV | 82.39, 62.5, 0, 30.98 |
Web Safe | 333399 |
RGB percent of color #1f42b0
CMYK percent of color #1f42b0
Text with hexadecimal color #1f42b0
This text has a font color of #1f42b0
<p style="color:#1f42b0">Text here</p>
#1f42b0 Background Color
This box has a background color of #1f42b0
<div style="background-color:#1f42b0">Text here</div>
#1f42b0 Border Color
This box has a border color of #1f42b0
<div style="border: 4px solid #1f42b0">Text here</div>
CSS codes
<p style="color:#1f42b0">Text here</p>
<div style="background-color:#1f42b0">Text here</div>
<div style="border: 4px solid #1f42b0">Text here</div>
#1f42b0 Color on white background
This is how a font and box color of #1f42b0 will look
on a white background.
#1f42b0 Color on black background
This is how a font and box color of #1f42b0 hex color will look
on a black background.