In RGB color space, #1f21d2 hex color has a red value of 31, a green value of 33 and a blue value of 210.
In CMYK color space (used in color printing), #1f21d2 hex color is composed of 85.24% cyan, 84.29% magenta, 0% yellow and 17.65% black.
#1f21d2 color has a hue of 239.3 degrees, a saturation of 74.27% and a lightness of 47.3%.
#1f21d2 hex color contains mainly BLUE.
The closest web safe color of #1f21d2 is #3333cc
#1f21d2 hex color has a decimal value of 2040274.
HEX | 1f21d2 | #1f21d2 |
---|---|---|
RGB | 31, 33, 210 | rgb(31, 33, 210) |
RGB Percent | 12.16, 12.94, 82.35 | rgb(12.16, 12.94, 82.35) |
CMYK | 85, 84, 0, 18 | |
HSL | 239.3°, 74.27, 47.3 | hsl(239.3, 74.27%, 47.3%) |
HSV | 239.3°, 85.2, 82.4 |
XYZ | 12.742, 6.032, 61.466 |
---|---|
Hunter Lab | 24.56, 49.627, -131.191 |
CIE-LAB | 29.493, 59.809, -86.857 |
CIE-LCH | 29.493, 105.457, 304.551 |
CIE-LUV | 85.24, 84.29, 0, 17.65 |
Web Safe | 3333cc |
RGB percent of color #1f21d2
CMYK percent of color #1f21d2
Text with hexadecimal color #1f21d2
This text has a font color of #1f21d2
<p style="color:#1f21d2">Text here</p>
#1f21d2 Background Color
This box has a background color of #1f21d2
<div style="background-color:#1f21d2">Text here</div>
#1f21d2 Border Color
This box has a border color of #1f21d2
<div style="border: 4px solid #1f21d2">Text here</div>
CSS codes
<p style="color:#1f21d2">Text here</p>
<div style="background-color:#1f21d2">Text here</div>
<div style="border: 4px solid #1f21d2">Text here</div>
#1f21d2 Color on white background
This is how a font and box color of #1f21d2 will look
on a white background.
#1f21d2 Color on black background
This is how a font and box color of #1f21d2 hex color will look
on a black background.