In RGB color space, #405f8c hex color has a red value of 64, a green value of 95 and a blue value of 140.
In CMYK color space (used in color printing), #405f8c hex color is composed of 54.29% cyan, 32.14% magenta, 0% yellow and 45.1% black.
#405f8c color has a hue of 215.5 degrees, a saturation of 37.25% and a lightness of 40%.
#405f8c hex color contains mainly BLUE.
The closest web safe color of #405f8c is #336699
#405f8c hex color has a decimal value of 4218764.
HEX | 405f8c | #405f8c |
---|---|---|
RGB | 64, 95, 140 | rgb(64, 95, 140) |
RGB Percent | 25.1, 37.25, 54.9 | rgb(25.1, 37.25, 54.9) |
CMYK | 54, 32, 0, 45 | |
HSL | 215.5°, 37.25, 40 | hsl(215.5, 37.25%, 40%) |
HSV | 215.5°, 54.3, 54.9 |
XYZ | 10.94, 11.168, 26.39 |
---|---|
Hunter Lab | 33.419, -0.048, -23.427 |
CIE-LAB | 39.862, 2.434, -28.383 |
CIE-LCH | 39.862, 28.487, 274.901 |
CIE-LUV | 54.29, 32.14, 0, 45.1 |
Web Safe | 336699 |
RGB percent of color #405f8c
CMYK percent of color #405f8c
Text with hexadecimal color #405f8c
This text has a font color of #405f8c
<p style="color:#405f8c">Text here</p>
#405f8c Background Color
This box has a background color of #405f8c
<div style="background-color:#405f8c">Text here</div>
#405f8c Border Color
This box has a border color of #405f8c
<div style="border: 4px solid #405f8c">Text here</div>
CSS codes
<p style="color:#405f8c">Text here</p>
<div style="background-color:#405f8c">Text here</div>
<div style="border: 4px solid #405f8c">Text here</div>
#405f8c Color on white background
This is how a font and box color of #405f8c will look
on a white background.
#405f8c Color on black background
This is how a font and box color of #405f8c hex color will look
on a black background.