In RGB color space, #40308b hex color has a red value of 64, a green value of 48 and a blue value of 139.
In CMYK color space (used in color printing), #40308b hex color is composed of 53.96% cyan, 65.47% magenta, 0% yellow and 45.49% black.
#40308b color has a hue of 250.5 degrees, a saturation of 48.66% and a lightness of 36.7%.
#40308b hex color contains mainly BLUE.
The closest web safe color of #40308b is #333399
#40308b hex color has a decimal value of 4206731.
HEX | 40308b | #40308b |
---|---|---|
RGB | 64, 48, 139 | rgb(64, 48, 139) |
RGB Percent | 25.1, 18.82, 54.51 | rgb(25.1, 18.82, 54.51) |
CMYK | 54, 65, 0, 45 | |
HSL | 250.5°, 48.66, 36.7 | hsl(250.5, 48.66%, 36.7%) |
HSV | 250.5°, 65.5, 54.5 |
XYZ | 7.832, 5.068, 24.992 |
---|---|
Hunter Lab | 22.512, 22.704, -50.062 |
CIE-LAB | 26.928, 32.545, -48.442 |
CIE-LCH | 26.928, 58.359, 303.895 |
CIE-LUV | 53.96, 65.47, 0, 45.49 |
Web Safe | 333399 |
RGB percent of color #40308b
CMYK percent of color #40308b
Text with hexadecimal color #40308b
This text has a font color of #40308b
<p style="color:#40308b">Text here</p>
#40308b Background Color
This box has a background color of #40308b
<div style="background-color:#40308b">Text here</div>
#40308b Border Color
This box has a border color of #40308b
<div style="border: 4px solid #40308b">Text here</div>
CSS codes
<p style="color:#40308b">Text here</p>
<div style="background-color:#40308b">Text here</div>
<div style="border: 4px solid #40308b">Text here</div>
#40308b Color on white background
This is how a font and box color of #40308b will look
on a white background.
#40308b Color on black background
This is how a font and box color of #40308b hex color will look
on a black background.