In RGB color space, #1f21ea hex color has a red value of 31, a green value of 33 and a blue value of 234.
In CMYK color space (used in color printing), #1f21ea hex color is composed of 86.75% cyan, 85.9% magenta, 0% yellow and 8.24% black.
#1f21ea color has a hue of 239.4 degrees, a saturation of 82.86% and a lightness of 52%.
#1f21ea hex color contains mainly BLUE.
The closest web safe color of #1f21ea is #3333ff
#1f21ea hex color has a decimal value of 2040298.
HEX | 1f21ea | #1f21ea |
---|---|---|
RGB | 31, 33, 234 | rgb(31, 33, 234) |
RGB Percent | 12.16, 12.94, 91.76 | rgb(12.16, 12.94, 91.76) |
CMYK | 87, 86, 0, 8 | |
HSL | 239.4°, 82.86, 52 | hsl(239.4, 82.86%, 52%) |
HSV | 239.4°, 86.8, 91.8 |
XYZ | 15.96, 7.32, 78.414 |
---|---|
Hunter Lab | 27.055, 57.95, -152.899 |
CIE-LAB | 32.525, 66.689, -95.607 |
CIE-LCH | 32.525, 116.568, 304.897 |
CIE-LUV | 86.75, 85.9, 0, 8.24 |
Web Safe | 3333ff |
RGB percent of color #1f21ea
CMYK percent of color #1f21ea
Text with hexadecimal color #1f21ea
This text has a font color of #1f21ea
<p style="color:#1f21ea">Text here</p>
#1f21ea Background Color
This box has a background color of #1f21ea
<div style="background-color:#1f21ea">Text here</div>
#1f21ea Border Color
This box has a border color of #1f21ea
<div style="border: 4px solid #1f21ea">Text here</div>
CSS codes
<p style="color:#1f21ea">Text here</p>
<div style="background-color:#1f21ea">Text here</div>
<div style="border: 4px solid #1f21ea">Text here</div>
#1f21ea Color on white background
This is how a font and box color of #1f21ea will look
on a white background.
#1f21ea Color on black background
This is how a font and box color of #1f21ea hex color will look
on a black background.