In RGB color space, #1f21ef hex color has a red value of 31, a green value of 33 and a blue value of 239.
In CMYK color space (used in color printing), #1f21ef hex color is composed of 87.03% cyan, 86.19% magenta, 0% yellow and 6.27% black.
#1f21ef color has a hue of 239.4 degrees, a saturation of 86.67% and a lightness of 52.9%.
#1f21ef hex color contains mainly BLUE.
The closest web safe color of #1f21ef is #3333ff
#1f21ef hex color has a decimal value of 2040303.
HEX | 1f21ef | #1f21ef |
---|---|---|
RGB | 31, 33, 239 | rgb(31, 33, 239) |
RGB Percent | 12.16, 12.94, 93.73 | rgb(12.16, 12.94, 93.73) |
CMYK | 87, 86, 0, 6 | |
HSL | 239.4°, 86.67, 52.9 | hsl(239.4, 86.67%, 52.9%) |
HSV | 239.4°, 87, 93.7 |
XYZ | 16.689, 7.611, 82.251 |
---|---|
Hunter Lab | 27.588, 59.702, -157.456 |
CIE-LAB | 33.159, 68.091, -97.39 |
CIE-LCH | 33.159, 118.833, 304.96 |
CIE-LUV | 87.03, 86.19, 0, 6.27 |
Web Safe | 3333ff |
RGB percent of color #1f21ef
CMYK percent of color #1f21ef
Text with hexadecimal color #1f21ef
This text has a font color of #1f21ef
<p style="color:#1f21ef">Text here</p>
#1f21ef Background Color
This box has a background color of #1f21ef
<div style="background-color:#1f21ef">Text here</div>
#1f21ef Border Color
This box has a border color of #1f21ef
<div style="border: 4px solid #1f21ef">Text here</div>
CSS codes
<p style="color:#1f21ef">Text here</p>
<div style="background-color:#1f21ef">Text here</div>
<div style="border: 4px solid #1f21ef">Text here</div>
#1f21ef Color on white background
This is how a font and box color of #1f21ef will look
on a white background.
#1f21ef Color on black background
This is how a font and box color of #1f21ef hex color will look
on a black background.