#040486 - Midnight in Tokyo
Hex color #040486 is called Midnight in Tokyo. It consists of 2% red, 2% green, and 53% blue in RGB color space. In CMYK it is 97% cyan, 97% magenta, 0% yellow, and 47% black. In HSL it is 240° hue, 94% saturation, and 27% 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 | Midnight in Tokyo | — |
| HEX | #040486 | #040486 |
| HEXA | #040486FF | #040486FF |
| RGB | 4, 4, 134 | rgb(4, 4, 134) |
| RGBA | 4, 4, 134, 1 | rgba(4, 4, 134, 1) |
| HSL | 240%, 94%, 27% | hsl(240%, 94%, 27%) |
| CMYK | 97%, 97%, 0%, 47% | cmyk(97%, 97%, 0%, 47%) |
| CSS Name | — | — |
| Tailwind Name | — | — |
| Lightness | 27% (dark) | — |
Negative color
The color opposite to #040486 is #FBFB79.
Preview on black and white
As #040486 has 27% lightness, this color is dark, so it has more contrast with white.
#040486 On White Background
#040486
#040486
Text Color
This is how text looks with this color.
#040486 On Black Background
#040486
#040486
Text Color
This is how text looks with this color.
Transform color
4, 4, 134rgb(4, 4, 134)