In RGB color space, #1f218d hex color has a red value of 31, a green value of 33 and a blue value of 141.
In CMYK color space (used in color printing), #1f218d hex color is composed of 78.01% cyan, 76.6% magenta, 0% yellow and 44.71% black.
#1f218d color has a hue of 238.9 degrees, a saturation of 63.95% and a lightness of 33.7%.
#1f218d hex color contains mainly BLUE.
The closest web safe color of #1f218d is #333399
#1f218d hex color has a decimal value of 2040205.
HEX | 1f218d | #1f218d |
---|---|---|
RGB | 31, 33, 141 | rgb(31, 33, 141) |
RGB Percent | 12.16, 12.94, 55.29 | rgb(12.16, 12.94, 55.29) |
CMYK | 78, 77, 0, 45 | |
HSL | 238.9°, 63.95, 33.7 | hsl(238.9, 63.95%, 33.7%) |
HSV | 238.9°, 78, 55.3 |
XYZ | 5.917, 3.302, 25.525 |
---|---|
Hunter Lab | 18.171, 26.323, -70.563 |
CIE-LAB | 21.215, 37.755, -59.156 |
CIE-LCH | 21.215, 70.177, 302.547 |
CIE-LUV | 78.01, 76.6, 0, 44.71 |
Web Safe | 333399 |
RGB percent of color #1f218d
CMYK percent of color #1f218d
Text with hexadecimal color #1f218d
This text has a font color of #1f218d
<p style="color:#1f218d">Text here</p>
#1f218d Background Color
This box has a background color of #1f218d
<div style="background-color:#1f218d">Text here</div>
#1f218d Border Color
This box has a border color of #1f218d
<div style="border: 4px solid #1f218d">Text here</div>
CSS codes
<p style="color:#1f218d">Text here</p>
<div style="background-color:#1f218d">Text here</div>
<div style="border: 4px solid #1f218d">Text here</div>
#1f218d Color on white background
This is how a font and box color of #1f218d will look
on a white background.
#1f218d Color on black background
This is how a font and box color of #1f218d hex color will look
on a black background.