#2a4271 color: Napoleonic Blue
#2a4271 is rgb(42, 66, 113) in RGB and oklch(38.429% 0.08581 262.603) in OKLCH. Every other format, shade and contrast value is below.
Read as HEX
- Ctrl Vpaste a color anywhere
- Spacerandom color
- Ccopy HEX
- Blue
- Dark
- Soft
- Cool
- ≈ Charcoal
- sky-900
- Black 56%
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 #2a4271
#2a4271 is a soft dark blue color. In OKLCH it has 38.4% lightness, 0.086 chroma and a hue of 263°.
Inside sRGB: displays the same on any screen.
White text on it reaches 9.92:1 contrast and black text 2.12:1, so white text reads better.
The closest named color is Napoleonic Blue (#2c4170). In Tailwind CSS the closest color is sky-900.
Lighter: #2a4271 mixed with white
Darker: #2a4271 mixed with black
Calmer: #2a4271 with less saturation
Similar named colors
Colors that go with #2a4271
Questions about #2a4271
What color is #2a4271?
#2a4271 is soft dark blue. The closest named color is Napoleonic Blue. In RGB it is rgb(42, 66, 113), in HSL hsl(219.72, 45.81%, 30.39%) and in OKLCH oklch(38.429% 0.08581 262.603).
What colors go well with #2a4271?
The complementary color of #2a4271 is #5a3e00. For a calmer combination use the analogous colors #004a69 and #45396d. The triadic partners are #6a2e2e and #254f22.
Is white or black text more readable on #2a4271?
White text reads better on #2a4271: white gives a contrast ratio of 9.92:1 and black gives 2.12:1. WCAG AA asks for at least 4.5:1 for body text.
Is #2a4271 a warm or cool color?
#2a4271 is a cool color. In OKLCH its hue is 263 degrees, its lightness 38.4% and its chroma 0.086.