In RGB color space, #1f21b8 hex color has a red value of 31, a green value of 33 and a blue value of 184.
In CMYK color space (used in color printing), #1f21b8 hex color is composed of 83.15% cyan, 82.07% magenta, 0% yellow and 27.84% black.
#1f21b8 color has a hue of 239.2 degrees, a saturation of 71.16% and a lightness of 42.2%.
#1f21b8 hex color contains mainly BLUE.
The closest web safe color of #1f21b8 is #3333cc
#1f21b8 hex color has a decimal value of 2040248.
HEX | 1f21b8 | #1f21b8 |
---|---|---|
RGB | 31, 33, 184 | rgb(31, 33, 184) |
RGB Percent | 12.16, 12.94, 72.16 | rgb(12.16, 12.94, 72.16) |
CMYK | 83, 82, 0, 28 | |
HSL | 239.2°, 71.16, 42.2 | hsl(239.2, 71.16%, 42.2%) |
HSV | 239.2°, 83.2, 72.2 |
XYZ | 9.761, 4.84, 45.767 |
---|---|
Hunter Lab | 22, 40.697, -107.942 |
CIE-LAB | 26.274, 51.932, -76.931 |
CIE-LCH | 26.274, 92.819, 304.021 |
CIE-LUV | 83.15, 82.07, 0, 27.84 |
Web Safe | 3333cc |
RGB percent of color #1f21b8
CMYK percent of color #1f21b8
Text with hexadecimal color #1f21b8
This text has a font color of #1f21b8
<p style="color:#1f21b8">Text here</p>
#1f21b8 Background Color
This box has a background color of #1f21b8
<div style="background-color:#1f21b8">Text here</div>
#1f21b8 Border Color
This box has a border color of #1f21b8
<div style="border: 4px solid #1f21b8">Text here</div>
CSS codes
<p style="color:#1f21b8">Text here</p>
<div style="background-color:#1f21b8">Text here</div>
<div style="border: 4px solid #1f21b8">Text here</div>
#1f21b8 Color on white background
This is how a font and box color of #1f21b8 will look
on a white background.
#1f21b8 Color on black background
This is how a font and box color of #1f21b8 hex color will look
on a black background.