#40415D - Majestic Blue
Hex color #40415D is called Majestic Blue. It consists of 25% red, 25% green, and 36% blue in RGB color space. In CMYK it is 31% cyan, 30% magenta, 0% yellow, and 64% black. In HSL it is 238° hue, 18% saturation, and 31% 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 | Majestic Blue | — |
| HEX | #40415D | #40415D |
| HEXA | #40415DFF | #40415DFF |
| RGB | 64, 65, 93 | rgb(64, 65, 93) |
| RGBA | 64, 65, 93, 1 | rgba(64, 65, 93, 1) |
| HSL | 238%, 18%, 31% | hsl(238%, 18%, 31%) |
| CMYK | 31%, 30%, 0%, 64% | cmyk(31%, 30%, 0%, 64%) |
| CSS Name | — | — |
| Tailwind Name | — | — |
| Lightness | 31% (dark) | — |
Negative color
The color opposite to #40415D is #BFBEA2.
Preview on black and white
As #40415D has 31% lightness, this color is dark, so it has more contrast with white.
#40415D On White Background
#40415D
#40415D
Text Color
This is how text looks with this color.
#40415D On Black Background
#40415D
#40415D
Text Color
This is how text looks with this color.
Transform color
64, 65, 93rgb(64, 65, 93)