Skip to the color picker

#2c5274 color: Midnight Sonata

#2c5274 is rgb(44, 82, 116) in RGB and oklch(42.648% 0.0716 247.335) in OKLCH. Every other format, shade and contrast value is below.

Read as HEX

208°
100%

42.6%
0.072
247°
  • Blue
  • Dark
  • Soft
  • Cool
  • ≈ Charcoal
  • slate-600
  • Black 55%

Inside sRGB: displays the same on any screen.

White text
8.18:1Readable · AA
Lc -93
Black text
2.57:1Hard to read
Lc 16

Shades

From lightest to darkest. Click a shade to use it.

Harmonies

Recent

Colors you stop on or copy appear here. They stay on this device.

About #2c5274

#2c5274 is a soft dark blue color. In OKLCH it has 42.6% lightness, 0.072 chroma and a hue of 247°.

Inside sRGB: displays the same on any screen.

White text on it reaches 8.18:1 contrast and black text 2.57:1, so white text reads better.

The closest named color is Midnight Sonata (#225374). In Tailwind CSS the closest color is slate-600.

More dark blue colors

Lighter: #2c5274 mixed with white

Darker: #2c5274 mixed with black

Calmer: #2c5274 with less saturation

Similar named colors

Colors that go with #2c5274

Complementary
Analogous
Triadic
Split

Questions about #2c5274

What color is #2c5274?

#2c5274 is soft dark blue. The closest named color is Midnight Sonata. In RGB it is rgb(44, 82, 116), in HSL hsl(208.33, 45%, 31.37%) and in OKLCH oklch(42.648% 0.0716 247.335).

What colors go well with #2c5274?

The complementary color of #2c5274 is #694720. For a calmer combination use the analogous colors #0e5868 and #454b76. The triadic partners are #703d48 and #445629.

Is white or black text more readable on #2c5274?

White text reads better on #2c5274: white gives a contrast ratio of 8.18:1 and black gives 2.57:1. WCAG AA asks for at least 4.5:1 for body text.

Is #2c5274 a warm or cool color?

#2c5274 is a cool color. In OKLCH its hue is 247 degrees, its lightness 42.6% and its chroma 0.072.