#5170d1 color: Cornflower
#5170d1 is rgb(81, 112, 209) in RGB and oklch(57.074% 0.15316 267.985) in OKLCH. Every other format, shade and contrast value is below.
Read as HEX
- Ctrl Vpaste a color anywhere
- Spacerandom color
- Ccopy HEX
- Blue
- Medium
- Soft
- Cool
- ≈ Royal blue
- sky-600
- Black 18%
Inside sRGB: displays the same on any screen.
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 #5170d1
#5170d1 is a soft blue color. In OKLCH it has 57.1% lightness, 0.153 chroma and a hue of 268°.
Inside sRGB: displays the same on any screen.
White text on it reaches 4.58:1 contrast and black text 4.59:1, so white text reads better.
The closest named color is Cornflower (#5170d7). In Tailwind CSS the closest color is sky-600.
Lighter: #5170d1 mixed with white
Darker: #5170d1 mixed with black
Calmer: #5170d1 with less saturation
Similar named colors
Colors that go with #5170d1
Questions about #5170d1
What color is #5170d1?
#5170d1 is soft blue. The closest named color is Cornflower. In RGB it is rgb(81, 112, 209), in HSL hsl(225.47, 58.18%, 56.86%) and in OKLCH oklch(57.074% 0.15316 267.985).
What colors go well with #5170d1?
The complementary color of #5170d1 is #997100. For a calmer combination use the analogous colors #0081c6 and #845fc5. The triadic partners are #c14c41 and #1e8f3e.
Is white or black text more readable on #5170d1?
White text reads better on #5170d1: white gives a contrast ratio of 4.58:1 and black gives 4.59:1. WCAG AA asks for at least 4.5:1 for body text.
Is #5170d1 a warm or cool color?
#5170d1 is a cool color. In OKLCH its hue is 268 degrees, its lightness 57.1% and its chroma 0.153.