In RGB color space, #1f40cb hex color has a red value of 31, a green value of 64 and a blue value of 203.
In CMYK color space (used in color printing), #1f40cb hex color is composed of 84.73% cyan, 68.47% magenta, 0% yellow and 20.39% black.
#1f40cb color has a hue of 228.5 degrees, a saturation of 73.5% and a lightness of 45.9%.
#1f40cb hex color contains mainly BLUE.
The closest web safe color of #1f40cb is #3333cc
#1f40cb hex color has a decimal value of 2048203.
HEX | 1f40cb | #1f40cb |
---|---|---|
RGB | 31, 64, 203 | rgb(31, 64, 203) |
RGB Percent | 12.16, 25.1, 79.61 | rgb(12.16, 25.1, 79.61) |
CMYK | 85, 68, 0, 20 | |
HSL | 228.5°, 73.5, 45.9 | hsl(228.5, 73.5%, 45.9%) |
HSV | 228.5°, 84.7, 79.6 |
XYZ | 13.178, 8.27, 57.402 |
---|---|
Hunter Lab | 28.758, 31.471, -98.216 |
CIE-LAB | 34.539, 40.945, -74.431 |
CIE-LCH | 34.539, 84.95, 298.815 |
CIE-LUV | 84.73, 68.47, 0, 20.39 |
Web Safe | 3333cc |
RGB percent of color #1f40cb
CMYK percent of color #1f40cb
Text with hexadecimal color #1f40cb
This text has a font color of #1f40cb
<p style="color:#1f40cb">Text here</p>
#1f40cb Background Color
This box has a background color of #1f40cb
<div style="background-color:#1f40cb">Text here</div>
#1f40cb Border Color
This box has a border color of #1f40cb
<div style="border: 4px solid #1f40cb">Text here</div>
CSS codes
<p style="color:#1f40cb">Text here</p>
<div style="background-color:#1f40cb">Text here</div>
<div style="border: 4px solid #1f40cb">Text here</div>
#1f40cb Color on white background
This is how a font and box color of #1f40cb will look
on a white background.
#1f40cb Color on black background
This is how a font and box color of #1f40cb hex color will look
on a black background.