Skip to the color picker

#5174d5 color: Cornflower

#5174d5 is rgb(81, 116, 213) in RGB and oklch(58.156% 0.15376 266.712) in OKLCH. Every other format, shade and contrast value is below.

Read as HEX

224°
100%

58.2%
0.154
267°
  • Blue
  • Medium
  • Soft
  • Cool
  • ≈ Royal blue
  • sky-600
  • Black 16%

Inside sRGB: displays the same on any screen.

White text
4.37:1Hard to read
Lc -75
Black text
4.81:1Readable · AA
Lc 34

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 #5174d5

#5174d5 is a soft blue color. In OKLCH it has 58.2% lightness, 0.154 chroma and a hue of 267°.

Inside sRGB: displays the same on any screen.

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

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

More medium blue colors

Lighter: #5174d5 mixed with white

Darker: #5174d5 mixed with black

Calmer: #5174d5 with less saturation

Similar named colors

Colors that go with #5174d5

Complementary
Analogous
Triadic
Split

Questions about #5174d5

What color is #5174d5?

#5174d5 is soft blue. The closest named color is Cornflower. In RGB it is rgb(81, 116, 213), in HSL hsl(224.09, 61.11%, 57.65%) and in OKLCH oklch(58.156% 0.15376 266.712).

What colors go well with #5174d5?

The complementary color of #5174d5 is #9e7300. For a calmer combination use the analogous colors #0085c8 and #8563ca. The triadic partners are #c54f47 and #29923e.

Is white or black text more readable on #5174d5?

White text reads better on #5174d5: white gives a contrast ratio of 4.37:1 and black gives 4.81:1. WCAG AA asks for at least 4.5:1 for body text.

Is #5174d5 a warm or cool color?

#5174d5 is a cool color. In OKLCH its hue is 267 degrees, its lightness 58.2% and its chroma 0.154.