In RGB color space, #40288b hex color has a red value of 64, a green value of 40 and a blue value of 139.
In CMYK color space (used in color printing), #40288b hex color is composed of 53.96% cyan, 71.22% magenta, 0% yellow and 45.49% black.
#40288b color has a hue of 254.5 degrees, a saturation of 55.31% and a lightness of 35.1%.
#40288b hex color contains mainly BLUE.
The closest web safe color of #40288b is #333399
#40288b hex color has a decimal value of 4204683.
HEX | 40288b | #40288b |
---|---|---|
RGB | 64, 40, 139 | rgb(64, 40, 139) |
RGB Percent | 25.1, 15.69, 54.51 | rgb(25.1, 15.69, 54.51) |
CMYK | 54, 71, 0, 45 | |
HSL | 254.5°, 55.31, 35.1 | hsl(254.5, 55.31%, 35.1%) |
HSV | 254.5°, 71.2, 54.5 |
XYZ | 7.533, 4.472, 24.892 |
---|---|
Hunter Lab | 21.147, 26.578, -54.987 |
CIE-LAB | 25.174, 37.298, -51.302 |
CIE-LCH | 25.174, 63.427, 306.018 |
CIE-LUV | 53.96, 71.22, 0, 45.49 |
Web Safe | 333399 |
RGB percent of color #40288b
CMYK percent of color #40288b
Text with hexadecimal color #40288b
This text has a font color of #40288b
<p style="color:#40288b">Text here</p>
#40288b Background Color
This box has a background color of #40288b
<div style="background-color:#40288b">Text here</div>
#40288b Border Color
This box has a border color of #40288b
<div style="border: 4px solid #40288b">Text here</div>
CSS codes
<p style="color:#40288b">Text here</p>
<div style="background-color:#40288b">Text here</div>
<div style="border: 4px solid #40288b">Text here</div>
#40288b Color on white background
This is how a font and box color of #40288b will look
on a white background.
#40288b Color on black background
This is how a font and box color of #40288b hex color will look
on a black background.