In RGB color space, #1f40b7 hex color has a red value of 31, a green value of 64 and a blue value of 183.
In CMYK color space (used in color printing), #1f40b7 hex color is composed of 83.06% cyan, 65.03% magenta, 0% yellow and 28.24% black.
#1f40b7 color has a hue of 227 degrees, a saturation of 71.03% and a lightness of 42%.
#1f40b7 hex color contains mainly BLUE.
The closest web safe color of #1f40b7 is #3333cc
#1f40b7 hex color has a decimal value of 2048183.
HEX | 1f40b7 | #1f40b7 |
---|---|---|
RGB | 31, 64, 183 | rgb(31, 64, 183) |
RGB Percent | 12.16, 25.1, 71.76 | rgb(12.16, 25.1, 71.76) |
CMYK | 83, 65, 0, 28 | |
HSL | 227°, 71.03, 42 | hsl(227, 71.03%, 42%) |
HSV | 227°, 83.1, 71.8 |
XYZ | 10.946, 7.377, 45.647 |
---|---|
Hunter Lab | 27.161, 24.406, -80.632 |
CIE-LAB | 32.65, 33.564, -65.806 |
CIE-LCH | 32.65, 73.871, 297.024 |
CIE-LUV | 83.06, 65.03, 0, 28.24 |
Web Safe | 3333cc |
RGB percent of color #1f40b7
CMYK percent of color #1f40b7
Text with hexadecimal color #1f40b7
This text has a font color of #1f40b7
<p style="color:#1f40b7">Text here</p>
#1f40b7 Background Color
This box has a background color of #1f40b7
<div style="background-color:#1f40b7">Text here</div>
#1f40b7 Border Color
This box has a border color of #1f40b7
<div style="border: 4px solid #1f40b7">Text here</div>
CSS codes
<p style="color:#1f40b7">Text here</p>
<div style="background-color:#1f40b7">Text here</div>
<div style="border: 4px solid #1f40b7">Text here</div>
#1f40b7 Color on white background
This is how a font and box color of #1f40b7 will look
on a white background.
#1f40b7 Color on black background
This is how a font and box color of #1f40b7 hex color will look
on a black background.