In RGB color space, #1f21ab hex color has a red value of 31, a green value of 33 and a blue value of 171.
In CMYK color space (used in color printing), #1f21ab hex color is composed of 81.87% cyan, 80.7% magenta, 0% yellow and 32.94% black.
#1f21ab color has a hue of 239.1 degrees, a saturation of 69.31% and a lightness of 39.6%.
#1f21ab hex color contains mainly BLUE.
The closest web safe color of #1f21ab is #333399
#1f21ab hex color has a decimal value of 2040235.
HEX | 1f21ab | #1f21ab |
---|---|---|
RGB | 31, 33, 171 | rgb(31, 33, 171) |
RGB Percent | 12.16, 12.94, 67.06 | rgb(12.16, 12.94, 67.06) |
CMYK | 82, 81, 0, 33 | |
HSL | 239.1°, 69.31, 39.6 | hsl(239.1, 69.31%, 39.6%) |
HSV | 239.1°, 81.9, 67.1 |
XYZ | 8.46, 4.319, 38.916 |
---|---|
Hunter Lab | 20.782, 36.295, -96.477 |
CIE-LAB | 24.699, 47.817, -71.763 |
CIE-LCH | 24.699, 86.235, 303.676 |
CIE-LUV | 81.87, 80.7, 0, 32.94 |
Web Safe | 333399 |
RGB percent of color #1f21ab
CMYK percent of color #1f21ab
Text with hexadecimal color #1f21ab
This text has a font color of #1f21ab
<p style="color:#1f21ab">Text here</p>
#1f21ab Background Color
This box has a background color of #1f21ab
<div style="background-color:#1f21ab">Text here</div>
#1f21ab Border Color
This box has a border color of #1f21ab
<div style="border: 4px solid #1f21ab">Text here</div>
CSS codes
<p style="color:#1f21ab">Text here</p>
<div style="background-color:#1f21ab">Text here</div>
<div style="border: 4px solid #1f21ab">Text here</div>
#1f21ab Color on white background
This is how a font and box color of #1f21ab will look
on a white background.
#1f21ab Color on black background
This is how a font and box color of #1f21ab hex color will look
on a black background.