In RGB color space, #405f9d hex color has a red value of 64, a green value of 95 and a blue value of 157.
In CMYK color space (used in color printing), #405f9d hex color is composed of 59.24% cyan, 39.49% magenta, 0% yellow and 38.43% black.
#405f9d color has a hue of 220 degrees, a saturation of 42.08% and a lightness of 43.3%.
#405f9d hex color contains mainly BLUE.
The closest web safe color of #405f9d is #336699
#405f9d hex color has a decimal value of 4218781.
HEX | 405f9d | #405f9d |
---|---|---|
RGB | 64, 95, 157 | rgb(64, 95, 157) |
RGB Percent | 25.1, 37.25, 61.57 | rgb(25.1, 37.25, 61.57) |
CMYK | 59, 39, 0, 38 | |
HSL | 220°, 42.08, 43.3 | hsl(220, 42.08%, 43.3%) |
HSV | 220°, 59.2, 61.6 |
XYZ | 12.292, 11.709, 33.51 |
---|---|
Hunter Lab | 34.218, 4.239, -34.11 |
CIE-LAB | 40.75, 8.24, -37.187 |
CIE-LCH | 40.75, 38.089, 282.494 |
CIE-LUV | 59.24, 39.49, 0, 38.43 |
Web Safe | 336699 |
RGB percent of color #405f9d
CMYK percent of color #405f9d
Text with hexadecimal color #405f9d
This text has a font color of #405f9d
<p style="color:#405f9d">Text here</p>
#405f9d Background Color
This box has a background color of #405f9d
<div style="background-color:#405f9d">Text here</div>
#405f9d Border Color
This box has a border color of #405f9d
<div style="border: 4px solid #405f9d">Text here</div>
CSS codes
<p style="color:#405f9d">Text here</p>
<div style="background-color:#405f9d">Text here</div>
<div style="border: 4px solid #405f9d">Text here</div>
#405f9d Color on white background
This is how a font and box color of #405f9d will look
on a white background.
#405f9d Color on black background
This is how a font and box color of #405f9d hex color will look
on a black background.