In RGB color space, #1f21c4 hex color has a red value of 31, a green value of 33 and a blue value of 196.
In CMYK color space (used in color printing), #1f21c4 hex color is composed of 84.18% cyan, 83.16% magenta, 0% yellow and 23.14% black.
#1f21c4 color has a hue of 239.3 degrees, a saturation of 72.69% and a lightness of 44.5%.
#1f21c4 hex color contains mainly BLUE.
The closest web safe color of #1f21c4 is #3333cc
#1f21c4 hex color has a decimal value of 2040260.
HEX | 1f21c4 | #1f21c4 |
---|---|---|
RGB | 31, 33, 196 | rgb(31, 33, 196) |
RGB Percent | 12.16, 12.94, 76.86 | rgb(12.16, 12.94, 76.86) |
CMYK | 84, 83, 0, 23 | |
HSL | 239.3°, 72.69, 44.5 | hsl(239.3, 72.69%, 44.5%) |
HSV | 239.3°, 84.2, 76.9 |
XYZ | 11.073, 5.365, 52.676 |
---|---|
Hunter Lab | 23.162, 44.799, -118.623 |
CIE-LAB | 27.75, 55.621, -81.574 |
CIE-LCH | 27.75, 98.732, 304.288 |
CIE-LUV | 84.18, 83.16, 0, 23.14 |
Web Safe | 3333cc |
RGB percent of color #1f21c4
CMYK percent of color #1f21c4
Text with hexadecimal color #1f21c4
This text has a font color of #1f21c4
<p style="color:#1f21c4">Text here</p>
#1f21c4 Background Color
This box has a background color of #1f21c4
<div style="background-color:#1f21c4">Text here</div>
#1f21c4 Border Color
This box has a border color of #1f21c4
<div style="border: 4px solid #1f21c4">Text here</div>
CSS codes
<p style="color:#1f21c4">Text here</p>
<div style="background-color:#1f21c4">Text here</div>
<div style="border: 4px solid #1f21c4">Text here</div>
#1f21c4 Color on white background
This is how a font and box color of #1f21c4 will look
on a white background.
#1f21c4 Color on black background
This is how a font and box color of #1f21c4 hex color will look
on a black background.