In RGB color space, #1f40ba hex color has a red value of 31, a green value of 64 and a blue value of 186.
In CMYK color space (used in color printing), #1f40ba hex color is composed of 83.33% cyan, 65.59% magenta, 0% yellow and 27.06% black.
#1f40ba color has a hue of 227.2 degrees, a saturation of 71.43% and a lightness of 42.5%.
#1f40ba hex color contains mainly BLUE.
The closest web safe color of #1f40ba is #3333cc
#1f40ba hex color has a decimal value of 2048186.
HEX | 1f40ba | #1f40ba |
---|---|---|
RGB | 31, 64, 186 | rgb(31, 64, 186) |
RGB Percent | 12.16, 25.1, 72.94 | rgb(12.16, 25.1, 72.94) |
CMYK | 83, 66, 0, 27 | |
HSL | 227.2°, 71.43, 42.5 | hsl(227.2, 71.43%, 42.5%) |
HSV | 227.2°, 83.3, 72.9 |
XYZ | 11.261, 7.503, 47.309 |
---|---|
Hunter Lab | 27.392, 25.448, -83.228 |
CIE-LAB | 32.926, 34.688, -67.126 |
CIE-LCH | 32.926, 75.559, 297.328 |
CIE-LUV | 83.33, 65.59, 0, 27.06 |
Web Safe | 3333cc |
RGB percent of color #1f40ba
CMYK percent of color #1f40ba
Text with hexadecimal color #1f40ba
This text has a font color of #1f40ba
<p style="color:#1f40ba">Text here</p>
#1f40ba Background Color
This box has a background color of #1f40ba
<div style="background-color:#1f40ba">Text here</div>
#1f40ba Border Color
This box has a border color of #1f40ba
<div style="border: 4px solid #1f40ba">Text here</div>
CSS codes
<p style="color:#1f40ba">Text here</p>
<div style="background-color:#1f40ba">Text here</div>
<div style="border: 4px solid #1f40ba">Text here</div>
#1f40ba Color on white background
This is how a font and box color of #1f40ba will look
on a white background.
#1f40ba Color on black background
This is how a font and box color of #1f40ba hex color will look
on a black background.