In RGB color space, #1f40c1 hex color has a red value of 31, a green value of 64 and a blue value of 193.
In CMYK color space (used in color printing), #1f40c1 hex color is composed of 83.94% cyan, 66.84% magenta, 0% yellow and 24.31% black.
#1f40c1 color has a hue of 227.8 degrees, a saturation of 72.32% and a lightness of 43.9%.
#1f40c1 hex color contains mainly BLUE.
The closest web safe color of #1f40c1 is #3333cc
#1f40c1 hex color has a decimal value of 2048193.
HEX | 1f40c1 | #1f40c1 |
---|---|---|
RGB | 31, 64, 193 | rgb(31, 64, 193) |
RGB Percent | 12.16, 25.1, 75.69 | rgb(12.16, 25.1, 75.69) |
CMYK | 84, 67, 0, 24 | |
HSL | 227.8°, 72.32, 43.9 | hsl(227.8, 72.32%, 43.9%) |
HSV | 227.8°, 83.9, 75.7 |
XYZ | 12.024, 7.808, 51.325 |
---|---|
Hunter Lab | 27.943, 27.91, -89.343 |
CIE-LAB | 33.58, 37.294, -70.169 |
CIE-LCH | 33.58, 79.464, 297.99 |
CIE-LUV | 83.94, 66.84, 0, 24.31 |
Web Safe | 3333cc |
RGB percent of color #1f40c1
CMYK percent of color #1f40c1
Text with hexadecimal color #1f40c1
This text has a font color of #1f40c1
<p style="color:#1f40c1">Text here</p>
#1f40c1 Background Color
This box has a background color of #1f40c1
<div style="background-color:#1f40c1">Text here</div>
#1f40c1 Border Color
This box has a border color of #1f40c1
<div style="border: 4px solid #1f40c1">Text here</div>
CSS codes
<p style="color:#1f40c1">Text here</p>
<div style="background-color:#1f40c1">Text here</div>
<div style="border: 4px solid #1f40c1">Text here</div>
#1f40c1 Color on white background
This is how a font and box color of #1f40c1 will look
on a white background.
#1f40c1 Color on black background
This is how a font and box color of #1f40c1 hex color will look
on a black background.