Skip to the color picker

#5a74d8 color: Cornflower

#5a74d8 is rgb(90, 116, 216) in RGB and oklch(58.855% 0.15509 270.117) in OKLCH. Every other format, shade and contrast value is below.

Read as HEX

228°
100%

58.9%
0.155
270°
  • Blue
  • Medium
  • Soft
  • Cool
  • ≈ Royal blue
  • blue-500
  • Black 15%

Inside sRGB: displays the same on any screen.

White text
4.26:1Hard to read
Lc -75
Black text
4.92:1Readable · AA
Lc 35

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

#5a74d8 is a soft blue color. In OKLCH it has 58.9% lightness, 0.155 chroma and a hue of 270°.

Inside sRGB: displays the same on any screen.

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

The closest named color is Cornflower (#5170d7). In Tailwind CSS the closest color is blue-500.

More medium blue colors

Lighter: #5a74d8 mixed with white

Darker: #5a74d8 mixed with black

Calmer: #5a74d8 with less saturation

Similar named colors

Colors that go with #5a74d8

Complementary
Analogous
Triadic
Split

Questions about #5a74d8

What color is #5a74d8?

#5a74d8 is soft blue. The closest named color is Cornflower. In RGB it is rgb(90, 116, 216), in HSL hsl(227.62, 61.76%, 60%) and in OKLCH oklch(58.855% 0.15509 270.117).

What colors go well with #5a74d8?

The complementary color of #5a74d8 is #9d7700. For a calmer combination use the analogous colors #0085ce and #8c63ca. The triadic partners are #c85141 and #169547.

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

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

Is #5a74d8 a warm or cool color?

#5a74d8 is a cool color. In OKLCH its hue is 270 degrees, its lightness 58.9% and its chroma 0.155.