#2d287e color: St. Patrick’s Blue
#2d287e is rgb(45, 40, 126) in RGB and oklch(34.211% 0.13992 278.589) 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 51%
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 #2d287e
#2d287e is a soft dark indigo color. In OKLCH it has 34.2% lightness, 0.14 chroma and a hue of 279°.
Inside sRGB: displays the same on any screen.
White text on it reaches 12.24:1 contrast and black text 1.72: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: #2d287e mixed with white
Darker: #2d287e mixed with black
Calmer: #2d287e with less saturation
Similar named colors
Colors that go with #2d287e
Questions about #2d287e
What color is #2d287e?
#2d287e is soft dark indigo. The closest named color is St. Patrick’s Blue. In RGB it is rgb(45, 40, 126), in HSL hsl(243.49, 51.81%, 32.55%) and in OKLCH oklch(34.211% 0.13992 278.589).
What colors go well with #2d287e?
The complementary color of #2d287e is #453800. For a calmer combination use the analogous colors #003876 and #4d196e. The triadic partners are #6f0700 and #004822.
Is white or black text more readable on #2d287e?
White text reads better on #2d287e: white gives a contrast ratio of 12.24:1 and black gives 1.72:1. WCAG AA asks for at least 4.5:1 for body text.
Is #2d287e a warm or cool color?
#2d287e is a cool color. In OKLCH its hue is 279 degrees, its lightness 34.2% and its chroma 0.14.