Skip to main content

#245172 - Midnight Sonata

Hex color #245172 is called Midnight Sonata. It consists of 14% red, 32% green, and 45% blue in RGB color space. In CMYK it is 68% cyan, 29% magenta, 0% yellow, and 55% black. In HSL it is 205° hue, 52% 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.

PropertyValueCSS
Name
Midnight Sonata
HEX
#245172
#245172
HEXA
#245172FF
#245172FF
RGB
36, 81, 114
rgb(36, 81, 114)
RGBA
36, 81, 114, 1
rgba(36, 81, 114, 1)
HSL
205%, 52%, 29%
hsl(205%, 52%, 29%)
CMYK
68%, 29%, 0%, 55%
cmyk(68%, 29%, 0%, 55%)
CSS Name
Tailwind Name
Lightness
29% (dark)
As you see on the table, not all names are available for this color.
  • The closest color with CSS name is #2f4f4f (darkslategray)
  • The closest color with Tailwind name is #455a64 (blue-grey-700)

Tints of #245172

Shades of #245172

Monochromatic Colors of #245172

Triadic colors of #245172

Negative color

The color opposite to #245172 is #DBAE8D.

Preview on black and white

As #245172 has 29% lightness, this color is dark, so it has more contrast with white.

#245172 On White Background

#245172
#245172
Text Color

This is how text looks with this color.

#245172 On Black Background

#245172
#245172
Text Color

This is how text looks with this color.

Transform color

#245172
36, 81, 114
rgb(36, 81, 114)