#204F72 - Midnight Sonata
Hex color #204F72 is called Midnight Sonata. It consists of 13% red, 31% green, and 45% blue in RGB color space. In CMYK it is 72% cyan, 31% magenta, 0% yellow, and 55% black. In HSL it is 206° hue, 56% 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 | Midnight Sonata | — |
| HEX | #204F72 | #204F72 |
| HEXA | #204F72FF | #204F72FF |
| RGB | 32, 79, 114 | rgb(32, 79, 114) |
| RGBA | 32, 79, 114, 1 | rgba(32, 79, 114, 1) |
| HSL | 206%, 56%, 29% | hsl(206%, 56%, 29%) |
| CMYK | 72%, 31%, 0%, 55% | cmyk(72%, 31%, 0%, 55%) |
| CSS Name | — | — |
| Tailwind Name | — | — |
| Lightness | 29% (dark) | — |
Negative color
The color opposite to #204F72 is #DFB08D.
Preview on black and white
As #204F72 has 29% lightness, this color is dark, so it has more contrast with white.
#204F72 On White Background
#204F72
#204F72
Text Color
This is how text looks with this color.
#204F72 On Black Background
#204F72
#204F72
Text Color
This is how text looks with this color.
Transform color
32, 79, 114rgb(32, 79, 114)