In RGB color space, #1f21b7 hex color has a red value of 31, a green value of 33 and a blue value of 183.
In CMYK color space (used in color printing), #1f21b7 hex color is composed of 83.06% cyan, 81.97% magenta, 0% yellow and 28.24% black.
#1f21b7 color has a hue of 239.2 degrees, a saturation of 71.03% and a lightness of 42%.
#1f21b7 hex color contains mainly BLUE.
The closest web safe color of #1f21b7 is #3333cc
#1f21b7 hex color has a decimal value of 2040247.
HEX | 1f21b7 | #1f21b7 |
---|---|---|
RGB | 31, 33, 183 | rgb(31, 33, 183) |
RGB Percent | 12.16, 12.94, 71.76 | rgb(12.16, 12.94, 71.76) |
CMYK | 83, 82, 0, 28 | |
HSL | 239.2°, 71.03, 42 | hsl(239.2, 71.03%, 42%) |
HSV | 239.2°, 83.1, 71.8 |
XYZ | 9.656, 4.798, 45.217 |
---|---|
Hunter Lab | 21.904, 40.355, -107.059 |
CIE-LAB | 26.151, 51.618, -76.54 |
CIE-LCH | 26.151, 92.319, 303.995 |
CIE-LUV | 83.06, 81.97, 0, 28.24 |
Web Safe | 3333cc |
RGB percent of color #1f21b7
CMYK percent of color #1f21b7
Text with hexadecimal color #1f21b7
This text has a font color of #1f21b7
<p style="color:#1f21b7">Text here</p>
#1f21b7 Background Color
This box has a background color of #1f21b7
<div style="background-color:#1f21b7">Text here</div>
#1f21b7 Border Color
This box has a border color of #1f21b7
<div style="border: 4px solid #1f21b7">Text here</div>
CSS codes
<p style="color:#1f21b7">Text here</p>
<div style="background-color:#1f21b7">Text here</div>
<div style="border: 4px solid #1f21b7">Text here</div>
#1f21b7 Color on white background
This is how a font and box color of #1f21b7 will look
on a white background.
#1f21b7 Color on black background
This is how a font and box color of #1f21b7 hex color will look
on a black background.