In RGB color space, #400f8d hex color has a red value of 64, a green value of 15 and a blue value of 141.
In CMYK color space (used in color printing), #400f8d hex color is composed of 54.61% cyan, 89.36% magenta, 0% yellow and 44.71% black.
#400f8d color has a hue of 263.3 degrees, a saturation of 80.77% and a lightness of 30.6%.
#400f8d hex color contains mainly BLUE.
The closest web safe color of #400f8d is #330099
#400f8d hex color has a decimal value of 4198285.
HEX | 400f8d | #400f8d |
---|---|---|
RGB | 64, 15, 141 | rgb(64, 15, 141) |
RGB Percent | 25.1, 5.88, 55.29 | rgb(25.1, 5.88, 55.29) |
CMYK | 55, 89, 0, 45 | |
HSL | 263.3°, 80.77, 30.6 | hsl(263.3, 80.77%, 30.6%) |
HSV | 263.3°, 89.4, 55.3 |
XYZ | 7.093, 3.355, 25.473 |
---|---|
Hunter Lab | 18.317, 37.069, -69.633 |
CIE-LAB | 21.413, 49.245, -58.731 |
CIE-LCH | 21.413, 76.645, 309.979 |
CIE-LUV | 54.61, 89.36, 0, 44.71 |
Web Safe | 330099 |
RGB percent of color #400f8d
CMYK percent of color #400f8d
Text with hexadecimal color #400f8d
This text has a font color of #400f8d
<p style="color:#400f8d">Text here</p>
#400f8d Background Color
This box has a background color of #400f8d
<div style="background-color:#400f8d">Text here</div>
#400f8d Border Color
This box has a border color of #400f8d
<div style="border: 4px solid #400f8d">Text here</div>
CSS codes
<p style="color:#400f8d">Text here</p>
<div style="background-color:#400f8d">Text here</div>
<div style="border: 4px solid #400f8d">Text here</div>
#400f8d Color on white background
This is how a font and box color of #400f8d will look
on a white background.
#400f8d Color on black background
This is how a font and box color of #400f8d hex color will look
on a black background.