In RGB color space, #400f8c hex color has a red value of 64, a green value of 15 and a blue value of 140.
In CMYK color space (used in color printing), #400f8c hex color is composed of 54.29% cyan, 89.29% magenta, 0% yellow and 45.1% black.
#400f8c color has a hue of 263.5 degrees, a saturation of 80.65% and a lightness of 30.4%.
#400f8c hex color contains mainly BLUE.
The closest web safe color of #400f8c is #330099
#400f8c hex color has a decimal value of 4198284.
HEX | 400f8c | #400f8c |
---|---|---|
RGB | 64, 15, 140 | rgb(64, 15, 140) |
RGB Percent | 25.1, 5.88, 54.9 | rgb(25.1, 5.88, 54.9) |
CMYK | 54, 89, 0, 45 | |
HSL | 263.5°, 80.65, 30.4 | hsl(263.5, 80.65%, 30.4%) |
HSV | 263.5°, 89.3, 54.9 |
XYZ | 7.019, 3.325, 25.083 |
---|---|
Hunter Lab | 18.235, 36.799, -68.794 |
CIE-LAB | 21.301, 48.992, -58.291 |
CIE-LCH | 21.301, 76.145, 310.046 |
CIE-LUV | 54.29, 89.29, 0, 45.1 |
Web Safe | 330099 |
RGB percent of color #400f8c
CMYK percent of color #400f8c
Text with hexadecimal color #400f8c
This text has a font color of #400f8c
<p style="color:#400f8c">Text here</p>
#400f8c Background Color
This box has a background color of #400f8c
<div style="background-color:#400f8c">Text here</div>
#400f8c Border Color
This box has a border color of #400f8c
<div style="border: 4px solid #400f8c">Text here</div>
CSS codes
<p style="color:#400f8c">Text here</p>
<div style="background-color:#400f8c">Text here</div>
<div style="border: 4px solid #400f8c">Text here</div>
#400f8c Color on white background
This is how a font and box color of #400f8c will look
on a white background.
#400f8c Color on black background
This is how a font and box color of #400f8c hex color will look
on a black background.