Skip to main content

#235170 - Midnight Sonata

Hex color #235170 is called Midnight Sonata. It consists of 14% red, 32% green, and 44% blue in RGB color space. In CMYK it is 69% cyan, 28% magenta, 0% yellow, and 56% black. In HSL it is 204° 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
#235170
#235170
HEXA
#235170FF
#235170FF
RGB
35, 81, 112
rgb(35, 81, 112)
RGBA
35, 81, 112, 1
rgba(35, 81, 112, 1)
HSL
204%, 52%, 29%
hsl(204%, 52%, 29%)
CMYK
69%, 28%, 0%, 56%
cmyk(69%, 28%, 0%, 56%)
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 #235170

Shades of #235170

Monochromatic Colors of #235170

Triadic colors of #235170

Negative color

The color opposite to #235170 is #DCAE8F.

Preview on black and white

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

#235170 On White Background

#235170
#235170
Text Color

This is how text looks with this color.

#235170 On Black Background

#235170
#235170
Text Color

This is how text looks with this color.

Transform color

#235170
35, 81, 112
rgb(35, 81, 112)