In RGB color space, #400d7c hex color has a red value of 64, a green value of 13 and a blue value of 124.
In CMYK color space (used in color printing), #400d7c hex color is composed of 48.39% cyan, 89.52% magenta, 0% yellow and 51.37% black.
#400d7c color has a hue of 267.6 degrees, a saturation of 81.02% and a lightness of 26.9%.
#400d7c hex color contains mainly BLUE.
The closest web safe color of #400d7c is #330066
#400d7c hex color has a decimal value of 4197756.
HEX | 400d7c | #400d7c |
---|---|---|
RGB | 64, 13, 124 | rgb(64, 13, 124) |
RGB Percent | 25.1, 5.1, 48.63 | rgb(25.1, 5.1, 48.63) |
CMYK | 48, 90, 0, 51 | |
HSL | 267.6°, 81.02, 26.9 | hsl(267.6, 81.02%, 26.9%) |
HSV | 267.6°, 89.5, 48.6 |
XYZ | 5.896, 2.833, 19.305 |
---|---|
Hunter Lab | 16.832, 33.073, -56.221 |
CIE-LAB | 19.362, 45.506, -51.388 |
CIE-LCH | 19.362, 68.641, 311.526 |
CIE-LUV | 48.39, 89.52, 0, 51.37 |
Web Safe | 330066 |
RGB percent of color #400d7c
CMYK percent of color #400d7c
Text with hexadecimal color #400d7c
This text has a font color of #400d7c
<p style="color:#400d7c">Text here</p>
#400d7c Background Color
This box has a background color of #400d7c
<div style="background-color:#400d7c">Text here</div>
#400d7c Border Color
This box has a border color of #400d7c
<div style="border: 4px solid #400d7c">Text here</div>
CSS codes
<p style="color:#400d7c">Text here</p>
<div style="background-color:#400d7c">Text here</div>
<div style="border: 4px solid #400d7c">Text here</div>
#400d7c Color on white background
This is how a font and box color of #400d7c will look
on a white background.
#400d7c Color on black background
This is how a font and box color of #400d7c hex color will look
on a black background.