#5172cd color: Cornflower
#5172cd is rgb(81, 114, 205) in RGB and oklch(57.23% 0.14514 266.82) 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 #5172cd
#5172cd is a soft blue color. In OKLCH it has 57.2% lightness, 0.145 chroma and a hue of 267°.
Inside sRGB: displays the same on any screen.
White text on it reaches 4.53:1 contrast and black text 4.64:1, so white text reads better.
The closest named color is Cornflower (#5170d7). In Tailwind CSS the closest color is sky-600.
Lighter: #5172cd mixed with white
Darker: #5172cd mixed with black
Calmer: #5172cd with less saturation
Similar named colors
Colors that go with #5172cd
Questions about #5172cd
What color is #5172cd?
#5172cd is soft blue. The closest named color is Cornflower. In RGB it is rgb(81, 114, 205), in HSL hsl(224.03, 55.36%, 56.08%) and in OKLCH oklch(57.23% 0.14514 266.82).
What colors go well with #5172cd?
The complementary color of #5172cd is #9a7100. For a calmer combination use the analogous colors #0082c2 and #8262c2. The triadic partners are #bf4f47 and #2d8e40.
Is white or black text more readable on #5172cd?
White text reads better on #5172cd: white gives a contrast ratio of 4.53:1 and black gives 4.64:1. WCAG AA asks for at least 4.5:1 for body text.
Is #5172cd a warm or cool color?
#5172cd is a cool color. In OKLCH its hue is 267 degrees, its lightness 57.2% and its chroma 0.145.