In RGB color space, #1f40b8 hex color has a red value of 31, a green value of 64 and a blue value of 184.
In CMYK color space (used in color printing), #1f40b8 hex color is composed of 83.15% cyan, 65.22% magenta, 0% yellow and 27.84% black.
#1f40b8 color has a hue of 227.1 degrees, a saturation of 71.16% and a lightness of 42.2%.
#1f40b8 hex color contains mainly BLUE.
The closest web safe color of #1f40b8 is #3333cc
#1f40b8 hex color has a decimal value of 2048184.
HEX | 1f40b8 | #1f40b8 |
---|---|---|
RGB | 31, 64, 184 | rgb(31, 64, 184) |
RGB Percent | 12.16, 25.1, 72.16 | rgb(12.16, 25.1, 72.16) |
CMYK | 83, 65, 0, 28 | |
HSL | 227.1°, 71.16, 42.2 | hsl(227.1, 71.16%, 42.2%) |
HSV | 227.1°, 83.2, 72.2 |
XYZ | 11.05, 7.419, 46.197 |
---|---|
Hunter Lab | 27.238, 24.749, -81.493 |
CIE-LAB | 32.742, 33.934, -66.246 |
CIE-LCH | 32.742, 74.432, 297.123 |
CIE-LUV | 83.15, 65.22, 0, 27.84 |
Web Safe | 3333cc |
RGB percent of color #1f40b8
CMYK percent of color #1f40b8
Text with hexadecimal color #1f40b8
This text has a font color of #1f40b8
<p style="color:#1f40b8">Text here</p>
#1f40b8 Background Color
This box has a background color of #1f40b8
<div style="background-color:#1f40b8">Text here</div>
#1f40b8 Border Color
This box has a border color of #1f40b8
<div style="border: 4px solid #1f40b8">Text here</div>
CSS codes
<p style="color:#1f40b8">Text here</p>
<div style="background-color:#1f40b8">Text here</div>
<div style="border: 4px solid #1f40b8">Text here</div>
#1f40b8 Color on white background
This is how a font and box color of #1f40b8 will look
on a white background.
#1f40b8 Color on black background
This is how a font and box color of #1f40b8 hex color will look
on a black background.