#1F5072 - Midnight Sonata
Hex color #1F5072 is called Midnight Sonata. It consists of 12% red, 31% green, and 45% blue in RGB color space. In CMYK it is 73% cyan, 30% magenta, 0% yellow, and 55% black. In HSL it is 205° hue, 57% saturation, and 28% 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 | #1F5072 | #1F5072 |
| HEXA | #1F5072FF | #1F5072FF |
| RGB | 31, 80, 114 | rgb(31, 80, 114) |
| RGBA | 31, 80, 114, 1 | rgba(31, 80, 114, 1) |
| HSL | 205%, 57%, 28% | hsl(205%, 57%, 28%) |
| CMYK | 73%, 30%, 0%, 55% | cmyk(73%, 30%, 0%, 55%) |
| CSS Name | — | — |
| Tailwind Name | — | — |
| Lightness | 28% (dark) | — |
Negative color
The color opposite to #1F5072 is #E0AF8D.
Preview on black and white
As #1F5072 has 28% lightness, this color is dark, so it has more contrast with white.
#1F5072 On White Background
#1F5072
#1F5072
Text Color
This is how text looks with this color.
#1F5072 On Black Background
#1F5072
#1F5072
Text Color
This is how text looks with this color.
Transform color
31, 80, 114rgb(31, 80, 114)