Skip to the color picker

#5f79a1 color: Cocktail Blue

#5f79a1 is rgb(95, 121, 161) in RGB and oklch(57.182% 0.06925 258.833) in OKLCH. Every other format, shade and contrast value is below.

Read as HEX

216°
100%

57.2%
0.069
259°
  • Blue
  • Medium
  • Muted
  • Dusty
  • Cool
  • ≈ Steel blue
  • slate-500
  • Black 37%

Inside sRGB: displays the same on any screen.

White text
4.43:1Hard to read
Lc -76
Black text
4.74:1Readable · AA
Lc 33

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 #5f79a1

#5f79a1 is a dusty blue color. In OKLCH it has 57.2% lightness, 0.069 chroma and a hue of 259°.

Inside sRGB: displays the same on any screen.

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

The closest named color is Cocktail Blue (#5a7aa2). In Tailwind CSS the closest color is slate-500.

More medium blue colors

Lighter: #5f79a1 mixed with white

Darker: #5f79a1 mixed with black

Calmer: #5f79a1 with less saturation

Similar named colors

Colors that go with #5f79a1

Complementary
Analogous
Triadic
Split

Questions about #5f79a1

What color is #5f79a1?

#5f79a1 is dusty blue. The closest named color is Cocktail Blue. In RGB it is rgb(95, 121, 161), in HSL hsl(216.36, 25.98%, 50.2%) and in OKLCH oklch(57.182% 0.06925 258.833).

What colors go well with #5f79a1?

The complementary color of #5f79a1 is #8e7347. For a calmer combination use the analogous colors #498099 and #76719f. The triadic partners are #9d6768 and #63825a.

Is white or black text more readable on #5f79a1?

White text reads better on #5f79a1: white gives a contrast ratio of 4.43:1 and black gives 4.74:1. WCAG AA asks for at least 4.5:1 for body text.

Is #5f79a1 a warm or cool color?

#5f79a1 is a cool color. In OKLCH its hue is 259 degrees, its lightness 57.2% and its chroma 0.069.