In RGB color space, #1f218a hex color has a red value of 31, a green value of 33 and a blue value of 138.
In CMYK color space (used in color printing), #1f218a hex color is composed of 77.54% cyan, 76.09% magenta, 0% yellow and 45.88% black.
#1f218a color has a hue of 238.9 degrees, a saturation of 63.31% and a lightness of 33.1%.
#1f218a hex color contains mainly BLUE.
The closest web safe color of #1f218a is #333399
#1f218a hex color has a decimal value of 2040202.
HEX | 1f218a | #1f218a |
---|---|---|
RGB | 31, 33, 138 | rgb(31, 33, 138) |
RGB Percent | 12.16, 12.94, 54.12 | rgb(12.16, 12.94, 54.12) |
CMYK | 78, 76, 0, 46 | |
HSL | 238.9°, 63.31, 33.1 | hsl(238.9, 63.31%, 33.1%) |
HSV | 238.9°, 77.5, 54.1 |
XYZ | 5.696, 3.214, 24.365 |
---|---|
Hunter Lab | 17.928, 25.34, -68.03 |
CIE-LAB | 20.881, 36.694, -57.834 |
CIE-LCH | 20.881, 68.492, 302.394 |
CIE-LUV | 77.54, 76.09, 0, 45.88 |
Web Safe | 333399 |
RGB percent of color #1f218a
CMYK percent of color #1f218a
Text with hexadecimal color #1f218a
This text has a font color of #1f218a
<p style="color:#1f218a">Text here</p>
#1f218a Background Color
This box has a background color of #1f218a
<div style="background-color:#1f218a">Text here</div>
#1f218a Border Color
This box has a border color of #1f218a
<div style="border: 4px solid #1f218a">Text here</div>
CSS codes
<p style="color:#1f218a">Text here</p>
<div style="background-color:#1f218a">Text here</div>
<div style="border: 4px solid #1f218a">Text here</div>
#1f218a Color on white background
This is how a font and box color of #1f218a will look
on a white background.
#1f218a Color on black background
This is how a font and box color of #1f218a hex color will look
on a black background.