Skip to the color picker

#5a6fa8 color: Dormitory

#5a6fa8 is rgb(90, 111, 168) in RGB and oklch(54.977% 0.09277 267.901) in OKLCH. Every other format, shade and contrast value is below.

Read as HEX

224°
100%

55%
0.093
268°
  • Blue
  • Medium
  • Soft
  • Cool
  • ≈ Steel blue
  • slate-500
  • Black 34%

Inside sRGB: displays the same on any screen.

White text
4.91:1Readable · AA
Lc -79
Black text
4.27:1Hard to read
Lc 30

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

#5a6fa8 is a soft blue color. In OKLCH it has 55% lightness, 0.093 chroma and a hue of 268°.

Inside sRGB: displays the same on any screen.

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

The closest named color is Dormitory (#5d71a9). In Tailwind CSS the closest color is slate-500.

More medium blue colors

Lighter: #5a6fa8 mixed with white

Darker: #5a6fa8 mixed with black

Calmer: #5a6fa8 with less saturation

Similar named colors

Colors that go with #5a6fa8

Complementary
Analogous
Triadic
Split

Questions about #5a6fa8

What color is #5a6fa8?

#5a6fa8 is soft blue. The closest named color is Dormitory. In RGB it is rgb(90, 111, 168), in HSL hsl(223.85, 30.95%, 50.59%) and in OKLCH oklch(54.977% 0.09277 267.901).

What colors go well with #5a6fa8?

The complementary color of #5a6fa8 is #886e29. For a calmer combination use the analogous colors #3579a1 and #7865a1. The triadic partners are #a15b53 and #498052.

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

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

Is #5a6fa8 a warm or cool color?

#5a6fa8 is a cool color. In OKLCH its hue is 268 degrees, its lightness 55% and its chroma 0.093.