#40508D - Demon Blue
Hex color #40508D is called Demon Blue. It consists of 25% red, 31% green, and 55% blue in RGB color space. In CMYK it is 55% cyan, 43% magenta, 0% yellow, and 45% black. In HSL it is 228° hue, 38% saturation, and 40% lightness (dark) . On this page you can get both color properties and CSS values for such color schemas: HEX, HEXA, RGB, RGBA, HSL, and CMYK; color name, CSS color name, tailwind name for color; shades and tints; monochromatic colors; negative color; and other info.
| Property | Value | CSS |
|---|---|---|
| Name | Demon Blue | — |
| HEX | #40508D | #40508D |
| HEXA | #40508DFF | #40508DFF |
| RGB | 64, 80, 141 | rgb(64, 80, 141) |
| RGBA | 64, 80, 141, 1 | rgba(64, 80, 141, 1) |
| HSL | 228%, 38%, 40% | hsl(228%, 38%, 40%) |
| CMYK | 55%, 43%, 0%, 45% | cmyk(55%, 43%, 0%, 45%) |
| CSS Name | — | — |
| Tailwind Name | — | — |
| Lightness | 40% (dark) | — |
Negative color
The color opposite to #40508D is #BFAF72.
Preview on black and white
As #40508D has 40% lightness, this color is dark, so it has more contrast with white.
#40508D On White Background
#40508D
#40508D
Text Color
This is how text looks with this color.
#40508D On Black Background
#40508D
#40508D
Text Color
This is how text looks with this color.
Transform color
64, 80, 141rgb(64, 80, 141)