#5172cc color: Cornflower
#5172cc is rgb(81, 114, 204) in RGB and oklch(57.166% 0.14374 266.723) 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 20%
Inside sRGB: displays the same on any screen.
Shades
From lightest to darkest. Click a shade to use it.
Harmonies
Open as paletteRecent
Colors you stop on or copy appear here. They stay on this device.
About #5172cc
#5172cc is a soft blue color. In OKLCH it has 57.2% lightness, 0.144 chroma and a hue of 267°.
Inside sRGB: displays the same on any screen.
White text on it reaches 4.54:1 contrast and black text 4.63:1, so white text reads better.
The closest named color is Cornflower (#5170d7). In Tailwind CSS the closest color is sky-600.
Lighter: #5172cc mixed with white
Darker: #5172cc mixed with black
Calmer: #5172cc with less saturation
Similar named colors
Colors that go with #5172cc
Questions about #5172cc
What color is #5172cc?
#5172cc is soft blue. The closest named color is Cornflower. In RGB it is rgb(81, 114, 204), in HSL hsl(223.9, 54.67%, 55.88%) and in OKLCH oklch(57.166% 0.14374 266.723).
What colors go well with #5172cc?
The complementary color of #5172cc is #9a7000. For a calmer combination use the analogous colors #0082c1 and #8162c1. The triadic partners are #be5048 and #2f8e41.
Is white or black text more readable on #5172cc?
White text reads better on #5172cc: white gives a contrast ratio of 4.54:1 and black gives 4.63:1. WCAG AA asks for at least 4.5:1 for body text.
Is #5172cc a warm or cool color?
#5172cc is a cool color. In OKLCH its hue is 267 degrees, its lightness 57.2% and its chroma 0.144.