#2a287a color: St. Patrick’s Blue
#2a287a is rgb(42, 40, 122) in RGB and oklch(33.598% 0.13503 277.348) in OKLCH. Every other format, shade and contrast value is below.
Read as HEX
- Ctrl Vpaste a color anywhere
- Spacerandom color
- Ccopy HEX
- Indigo
- Dark
- Soft
- Cool
- ≈ Midnight blue
- indigo-900
- Black 52%
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 #2a287a
#2a287a is a soft dark indigo color. In OKLCH it has 33.6% lightness, 0.135 chroma and a hue of 277°.
Inside sRGB: displays the same on any screen.
White text on it reaches 12.48:1 contrast and black text 1.68:1, so white text reads better.
The closest named color is St. Patrick’s Blue (#23297a). In Tailwind CSS the closest color is indigo-900.
Lighter: #2a287a mixed with white
Darker: #2a287a mixed with black
Calmer: #2a287a with less saturation
Similar named colors
Colors that go with #2a287a
Questions about #2a287a
What color is #2a287a?
#2a287a is soft dark indigo. The closest named color is St. Patrick’s Blue. In RGB it is rgb(42, 40, 122), in HSL hsl(241.46, 50.62%, 31.76%) and in OKLCH oklch(33.598% 0.13503 277.348).
What colors go well with #2a287a?
The complementary color of #2a287a is #443600. For a calmer combination use the analogous colors #003871 and #4a1a6b. The triadic partners are #6b0800 and #00461f.
Is white or black text more readable on #2a287a?
White text reads better on #2a287a: white gives a contrast ratio of 12.48:1 and black gives 1.68:1. WCAG AA asks for at least 4.5:1 for body text.
Is #2a287a a warm or cool color?
#2a287a is a cool color. In OKLCH its hue is 277 degrees, its lightness 33.6% and its chroma 0.135.