In RGB color space, #1f42ba hex color has a red value of 31, a green value of 66 and a blue value of 186.
In CMYK color space (used in color printing), #1f42ba hex color is composed of 83.33% cyan, 64.52% magenta, 0% yellow and 27.06% black.
#1f42ba color has a hue of 226.5 degrees, a saturation of 71.43% and a lightness of 42.5%.
#1f42ba hex color contains mainly BLUE.
The closest web safe color of #1f42ba is #3333cc
#1f42ba hex color has a decimal value of 2048698.
HEX | 1f42ba | #1f42ba |
---|---|---|
RGB | 31, 66, 186 | rgb(31, 66, 186) |
RGB Percent | 12.16, 25.88, 72.94 | rgb(12.16, 25.88, 72.94) |
CMYK | 83, 65, 0, 27 | |
HSL | 226.5°, 71.43, 42.5 | hsl(226.5, 71.43%, 42.5%) |
HSV | 226.5°, 83.3, 72.9 |
XYZ | 11.376, 7.733, 47.347 |
---|---|
Hunter Lab | 27.808, 24.358, -81.483 |
CIE-LAB | 33.421, 33.388, -66.314 |
CIE-LCH | 33.421, 74.245, 296.724 |
CIE-LUV | 83.33, 64.52, 0, 27.06 |
Web Safe | 3333cc |
RGB percent of color #1f42ba
CMYK percent of color #1f42ba
Text with hexadecimal color #1f42ba
This text has a font color of #1f42ba
<p style="color:#1f42ba">Text here</p>
#1f42ba Background Color
This box has a background color of #1f42ba
<div style="background-color:#1f42ba">Text here</div>
#1f42ba Border Color
This box has a border color of #1f42ba
<div style="border: 4px solid #1f42ba">Text here</div>
CSS codes
<p style="color:#1f42ba">Text here</p>
<div style="background-color:#1f42ba">Text here</div>
<div style="border: 4px solid #1f42ba">Text here</div>
#1f42ba Color on white background
This is how a font and box color of #1f42ba will look
on a white background.
#1f42ba Color on black background
This is how a font and box color of #1f42ba hex color will look
on a black background.