Skip to the color picker

#5f5fcc color: Dark Periwinkle

#5f5fcc is rgb(95, 95, 204) in RGB and oklch(54.315% 0.16464 279.411) in OKLCH. Every other format, shade and contrast value is below.

Read as HEX

240°
100%

54.3%
0.165
279°
  • Indigo
  • Medium
  • Soft
  • Cool
  • ≈ Royal blue
  • indigo-500
  • Black 20%

Inside sRGB: displays the same on any screen.

White text
5.26:1Readable · AA
Lc -81
Black text
4.00:1Hard to read
Lc 28

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

#5f5fcc is a soft indigo color. In OKLCH it has 54.3% lightness, 0.165 chroma and a hue of 279°.

Inside sRGB: displays the same on any screen.

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

The closest named color is Dark Periwinkle (#665fd1). In Tailwind CSS the closest color is indigo-500.

More medium indigo colors

Lighter: #5f5fcc mixed with white

Darker: #5f5fcc mixed with black

Calmer: #5f5fcc with less saturation

Similar named colors

  • Ameixa#6a5acd

Colors that go with #5f5fcc

Complementary
Analogous
Triadic
Split

Questions about #5f5fcc

What color is #5f5fcc?

#5f5fcc is soft indigo. The closest named color is Dark Periwinkle. In RGB it is rgb(95, 95, 204), in HSL hsl(240, 51.66%, 58.63%) and in OKLCH oklch(54.315% 0.16464 279.411).

What colors go well with #5f5fcc?

The complementary color of #5f5fcc is #836f00. For a calmer combination use the analogous colors #0072ca and #8c4eb6. The triadic partners are #bb4310 and #00884f.

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

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

Is #5f5fcc a warm or cool color?

#5f5fcc is a cool color. In OKLCH its hue is 279 degrees, its lightness 54.3% and its chroma 0.165.