Skip to the color picker

#1b5171 color: Midnight Sonata

#1b5171 is rgb(27, 81, 113) in RGB and oklch(41.527% 0.07723 238.852) in OKLCH. Every other format, shade and contrast value is below.

Read as HEX

202°
100%

41.5%
0.077
239°
  • Sky blue
  • Dark
  • Soft
  • Cool
  • ≈ Charcoal
  • cyan-900
  • Black 56%

Inside sRGB: displays the same on any screen.

White text
8.53:1Readable · AA
Lc -94
Black text
2.46:1Hard to read
Lc 15

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 #1b5171

#1b5171 is a soft dark sky blue color. In OKLCH it has 41.5% lightness, 0.077 chroma and a hue of 239°.

Inside sRGB: displays the same on any screen.

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

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

More dark sky blue colors

Lighter: #1b5171 mixed with white

Darker: #1b5171 mixed with black

Calmer: #1b5171 with less saturation

Similar named colors

Colors that go with #1b5171

Complementary
Analogous
Triadic
Split

Questions about #1b5171

What color is #1b5171?

#1b5171 is soft dark sky blue. The closest named color is Midnight Sonata. In RGB it is rgb(27, 81, 113), in HSL hsl(202.33, 61.43%, 27.45%) and in OKLCH oklch(41.527% 0.07723 238.852).

What colors go well with #1b5171?

The complementary color of #1b5171 is #6a401c. For a calmer combination use the analogous colors #005762 and #3a4976. The triadic partners are #6d394b and #47511c.

Is white or black text more readable on #1b5171?

White text reads better on #1b5171: white gives a contrast ratio of 8.53:1 and black gives 2.46:1. WCAG AA asks for at least 4.5:1 for body text.

Is #1b5171 a warm or cool color?

#1b5171 is a cool color. In OKLCH its hue is 239 degrees, its lightness 41.5% and its chroma 0.077.