#40385B - Magic Night
Hex color #40385B is called Magic Night. It consists of 25% red, 22% green, and 36% blue in RGB color space. In CMYK it is 30% cyan, 38% magenta, 0% yellow, and 64% black. In HSL it is 254° hue, 24% saturation, and 29% 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 | Magic Night | — |
| HEX | #40385B | #40385B |
| HEXA | #40385BFF | #40385BFF |
| RGB | 64, 56, 91 | rgb(64, 56, 91) |
| RGBA | 64, 56, 91, 1 | rgba(64, 56, 91, 1) |
| HSL | 254%, 24%, 29% | hsl(254%, 24%, 29%) |
| CMYK | 30%, 38%, 0%, 64% | cmyk(30%, 38%, 0%, 64%) |
| CSS Name | — | — |
| Tailwind Name | — | — |
| Lightness | 29% (dark) | — |
Negative color
The color opposite to #40385B is #BFC7A4.
Preview on black and white
As #40385B has 29% lightness, this color is dark, so it has more contrast with white.
#40385B On White Background
#40385B
#40385B
Text Color
This is how text looks with this color.
#40385B On Black Background
#40385B
#40385B
Text Color
This is how text looks with this color.
Transform color
64, 56, 91rgb(64, 56, 91)