In RGB color space, #1f218c hex color has a red value of 31, a green value of 33 and a blue value of 140.
In CMYK color space (used in color printing), #1f218c hex color is composed of 77.86% cyan, 76.43% magenta, 0% yellow and 45.1% black.
#1f218c color has a hue of 238.9 degrees, a saturation of 63.74% and a lightness of 33.5%.
#1f218c hex color contains mainly BLUE.
The closest web safe color of #1f218c is #333399
#1f218c hex color has a decimal value of 2040204.
HEX | 1f218c | #1f218c |
---|---|---|
RGB | 31, 33, 140 | rgb(31, 33, 140) |
RGB Percent | 12.16, 12.94, 54.9 | rgb(12.16, 12.94, 54.9) |
CMYK | 78, 76, 0, 45 | |
HSL | 238.9°, 63.74, 33.5 | hsl(238.9, 63.74%, 33.5%) |
HSV | 238.9°, 77.9, 54.9 |
XYZ | 5.843, 3.272, 25.135 |
---|---|
Hunter Lab | 18.089, 26.004, -69.724 |
CIE-LAB | 21.102, 37.412, -58.72 |
CIE-LCH | 21.102, 69.625, 302.502 |
CIE-LUV | 77.86, 76.43, 0, 45.1 |
Web Safe | 333399 |
RGB percent of color #1f218c
CMYK percent of color #1f218c
Text with hexadecimal color #1f218c
This text has a font color of #1f218c
<p style="color:#1f218c">Text here</p>
#1f218c Background Color
This box has a background color of #1f218c
<div style="background-color:#1f218c">Text here</div>
#1f218c Border Color
This box has a border color of #1f218c
<div style="border: 4px solid #1f218c">Text here</div>
CSS codes
<p style="color:#1f218c">Text here</p>
<div style="background-color:#1f218c">Text here</div>
<div style="border: 4px solid #1f218c">Text here</div>
#1f218c Color on white background
This is how a font and box color of #1f218c will look
on a white background.
#1f218c Color on black background
This is how a font and box color of #1f218c hex color will look
on a black background.