#2871b4 color: Campanula
#2871b4 is rgb(40, 113, 180) in RGB and oklch(53.729% 0.1269 249.956) 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
- Vivid
- Cool
- ≈ Cerulean
- sky-700
- Black 29%
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 #2871b4
#2871b4 is a bright blue color. In OKLCH it has 53.7% lightness, 0.127 chroma and a hue of 250°.
Inside sRGB: displays the same on any screen.
White text on it reaches 5.11:1 contrast and black text 4.11:1, so white text reads better.
The closest named color is Campanula (#3473b7). In Tailwind CSS the closest color is sky-700.
Lighter: #2871b4 mixed with white
Darker: #2871b4 mixed with black
Calmer: #2871b4 with less saturation
Similar named colors
Colors that go with #2871b4
Questions about #2871b4
What color is #2871b4?
#2871b4 is bright blue. The closest named color is Campanula. In RGB it is rgb(40, 113, 180), in HSL hsl(208.71, 63.64%, 43.14%) and in OKLCH oklch(53.729% 0.1269 249.956).
What colors go well with #2871b4?
The complementary color of #2871b4 is #9c5e00. For a calmer combination use the analogous colors #007c9d and #6163b5. The triadic partners are #aa4a5d and #557c20.
Is white or black text more readable on #2871b4?
White text reads better on #2871b4: white gives a contrast ratio of 5.11:1 and black gives 4.11:1. WCAG AA asks for at least 4.5:1 for body text.
Is #2871b4 a warm or cool color?
#2871b4 is a cool color. In OKLCH its hue is 250 degrees, its lightness 53.7% and its chroma 0.127.