#225471 - Midnight Sonata
Hex color #225471 is called Midnight Sonata. It consists of 13% red, 33% green, and 44% blue in RGB color space. In CMYK it is 70% cyan, 26% magenta, 0% yellow, and 56% black. In HSL it is 202° hue, 54% 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 | #225471 | #225471 |
| HEXA | #225471FF | #225471FF |
| RGB | 34, 84, 113 | rgb(34, 84, 113) |
| RGBA | 34, 84, 113, 1 | rgba(34, 84, 113, 1) |
| HSL | 202%, 54%, 29% | hsl(202%, 54%, 29%) |
| CMYK | 70%, 26%, 0%, 56% | cmyk(70%, 26%, 0%, 56%) |
| CSS Name | — | — |
| Tailwind Name | — | — |
| Lightness | 29% (dark) | — |
Negative color
The color opposite to #225471 is #DDAB8E.
Preview on black and white
As #225471 has 29% lightness, this color is dark, so it has more contrast with white.
#225471 On White Background
#225471
#225471
Text Color
This is how text looks with this color.
#225471 On Black Background
#225471
#225471
Text Color
This is how text looks with this color.
Transform color
34, 84, 113rgb(34, 84, 113)