In RGB color space, #1f31b2 hex color has a red value of 31, a green value of 49 and a blue value of 178.
In CMYK color space (used in color printing), #1f31b2 hex color is composed of 82.58% cyan, 72.47% magenta, 0% yellow and 30.2% black.
#1f31b2 color has a hue of 232.7 degrees, a saturation of 70.33% and a lightness of 41%.
#1f31b2 hex color contains mainly BLUE.
The closest web safe color of #1f31b2 is #333399
#1f31b2 hex color has a decimal value of 2044338.
HEX | 1f31b2 | #1f31b2 |
---|---|---|
RGB | 31, 49, 178 | rgb(31, 49, 178) |
RGB Percent | 12.16, 19.22, 69.8 | rgb(12.16, 19.22, 69.8) |
CMYK | 83, 72, 0, 30 | |
HSL | 232.7°, 70.33, 41 | hsl(232.7, 70.33%, 41%) |
HSV | 232.7°, 82.6, 69.8 |
XYZ | 9.699, 5.702, 42.709 |
---|---|
Hunter Lab | 23.879, 30.714, -89.329 |
CIE-LAB | 28.648, 41.203, -69.424 |
CIE-LCH | 28.648, 80.73, 300.689 |
CIE-LUV | 82.58, 72.47, 0, 30.2 |
Web Safe | 333399 |
RGB percent of color #1f31b2
CMYK percent of color #1f31b2
Text with hexadecimal color #1f31b2
This text has a font color of #1f31b2
<p style="color:#1f31b2">Text here</p>
#1f31b2 Background Color
This box has a background color of #1f31b2
<div style="background-color:#1f31b2">Text here</div>
#1f31b2 Border Color
This box has a border color of #1f31b2
<div style="border: 4px solid #1f31b2">Text here</div>
CSS codes
<p style="color:#1f31b2">Text here</p>
<div style="background-color:#1f31b2">Text here</div>
<div style="border: 4px solid #1f31b2">Text here</div>
#1f31b2 Color on white background
This is how a font and box color of #1f31b2 will look
on a white background.
#1f31b2 Color on black background
This is how a font and box color of #1f31b2 hex color will look
on a black background.