In RGB color space, #1f40f6 hex color has a red value of 31, a green value of 64 and a blue value of 246.
In CMYK color space (used in color printing), #1f40f6 hex color is composed of 87.4% cyan, 73.98% magenta, 0% yellow and 3.53% black.
#1f40f6 color has a hue of 230.8 degrees, a saturation of 92.27% and a lightness of 54.3%.
#1f40f6 hex color contains mainly BLUE.
The closest web safe color of #1f40f6 is #3333ff
#1f40f6 hex color has a decimal value of 2048246.
HEX | 1f40f6 | #1f40f6 |
---|---|---|
RGB | 31, 64, 246 | rgb(31, 64, 246) |
RGB Percent | 12.16, 25.1, 96.47 | rgb(12.16, 25.1, 96.47) |
CMYK | 87, 74, 0, 4 | |
HSL | 230.8°, 92.27, 54.3 | hsl(230.8, 92.27%, 54.3%) |
HSV | 230.8°, 87.4, 96.5 |
XYZ | 19.033, 10.612, 88.234 |
---|---|
Hunter Lab | 32.576, 47.283, -137.787 |
CIE-LAB | 38.919, 55.802, -91.773 |
CIE-LCH | 38.919, 107.406, 301.301 |
CIE-LUV | 87.4, 73.98, 0, 3.53 |
Web Safe | 3333ff |
RGB percent of color #1f40f6
CMYK percent of color #1f40f6
Text with hexadecimal color #1f40f6
This text has a font color of #1f40f6
<p style="color:#1f40f6">Text here</p>
#1f40f6 Background Color
This box has a background color of #1f40f6
<div style="background-color:#1f40f6">Text here</div>
#1f40f6 Border Color
This box has a border color of #1f40f6
<div style="border: 4px solid #1f40f6">Text here</div>
CSS codes
<p style="color:#1f40f6">Text here</p>
<div style="background-color:#1f40f6">Text here</div>
<div style="border: 4px solid #1f40f6">Text here</div>
#1f40f6 Color on white background
This is how a font and box color of #1f40f6 will look
on a white background.
#1f40f6 Color on black background
This is how a font and box color of #1f40f6 hex color will look
on a black background.