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