In RGB color space, #1f21ec hex color has a red value of 31, a green value of 33 and a blue value of 236.
In CMYK color space (used in color printing), #1f21ec hex color is composed of 86.86% cyan, 86.02% magenta, 0% yellow and 7.45% black.
#1f21ec color has a hue of 239.4 degrees, a saturation of 84.36% and a lightness of 52.4%.
#1f21ec hex color contains mainly BLUE.
The closest web safe color of #1f21ec is #3333ff
#1f21ec hex color has a decimal value of 2040300.
HEX | 1f21ec | #1f21ec |
---|---|---|
RGB | 31, 33, 236 | rgb(31, 33, 236) |
RGB Percent | 12.16, 12.94, 92.55 | rgb(12.16, 12.94, 92.55) |
CMYK | 87, 86, 0, 7 | |
HSL | 239.4°, 84.36, 52.4 | hsl(239.4, 84.36%, 52.4%) |
HSV | 239.4°, 86.9, 92.5 |
XYZ | 16.249, 7.435, 79.936 |
---|---|
Hunter Lab | 27.267, 58.654, -154.726 |
CIE-LAB | 32.777, 67.255, -96.324 |
CIE-LCH | 32.777, 117.48, 304.923 |
CIE-LUV | 86.86, 86.02, 0, 7.45 |
Web Safe | 3333ff |
RGB percent of color #1f21ec
CMYK percent of color #1f21ec
Text with hexadecimal color #1f21ec
This text has a font color of #1f21ec
<p style="color:#1f21ec">Text here</p>
#1f21ec Background Color
This box has a background color of #1f21ec
<div style="background-color:#1f21ec">Text here</div>
#1f21ec Border Color
This box has a border color of #1f21ec
<div style="border: 4px solid #1f21ec">Text here</div>
CSS codes
<p style="color:#1f21ec">Text here</p>
<div style="background-color:#1f21ec">Text here</div>
<div style="border: 4px solid #1f21ec">Text here</div>
#1f21ec Color on white background
This is how a font and box color of #1f21ec will look
on a white background.
#1f21ec Color on black background
This is how a font and box color of #1f21ec hex color will look
on a black background.