In RGB color space, #1f21d4 hex color has a red value of 31, a green value of 33 and a blue value of 212.
In CMYK color space (used in color printing), #1f21d4 hex color is composed of 85.38% cyan, 84.43% magenta, 0% yellow and 16.86% black.
#1f21d4 color has a hue of 239.3 degrees, a saturation of 74.49% and a lightness of 47.6%.
#1f21d4 hex color contains mainly BLUE.
The closest web safe color of #1f21d4 is #3333cc
#1f21d4 hex color has a decimal value of 2040276.
HEX | 1f21d4 | #1f21d4 |
---|---|---|
RGB | 31, 33, 212 | rgb(31, 33, 212) |
RGB Percent | 12.16, 12.94, 83.14 | rgb(12.16, 12.94, 83.14) |
CMYK | 85, 84, 0, 17 | |
HSL | 239.3°, 74.49, 47.6 | hsl(239.3, 74.49%, 47.6%) |
HSV | 239.3°, 85.4, 83.1 |
XYZ | 12.993, 6.132, 62.786 |
---|---|
Hunter Lab | 24.763, 50.323, -132.995 |
CIE-LAB | 29.743, 60.401, -87.601 |
CIE-LCH | 29.743, 106.406, 304.586 |
CIE-LUV | 85.38, 84.43, 0, 16.86 |
Web Safe | 3333cc |
RGB percent of color #1f21d4
CMYK percent of color #1f21d4
Text with hexadecimal color #1f21d4
This text has a font color of #1f21d4
<p style="color:#1f21d4">Text here</p>
#1f21d4 Background Color
This box has a background color of #1f21d4
<div style="background-color:#1f21d4">Text here</div>
#1f21d4 Border Color
This box has a border color of #1f21d4
<div style="border: 4px solid #1f21d4">Text here</div>
CSS codes
<p style="color:#1f21d4">Text here</p>
<div style="background-color:#1f21d4">Text here</div>
<div style="border: 4px solid #1f21d4">Text here</div>
#1f21d4 Color on white background
This is how a font and box color of #1f21d4 will look
on a white background.
#1f21d4 Color on black background
This is how a font and box color of #1f21d4 hex color will look
on a black background.