#1f2d7e color: St. Patrick’s Blue
#1f2d7e is rgb(31, 45, 126) in RGB and oklch(34.202% 0.13725 269.887) 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
- ≈ 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
Recent
Colors you stop on or copy appear here. They stay on this device.
About #1f2d7e
#1f2d7e is a soft dark blue color. In OKLCH it has 34.2% lightness, 0.137 chroma and a hue of 270°.
Inside sRGB: displays the same on any screen.
White text on it reaches 12.1:1 contrast and black text 1.73: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: #1f2d7e mixed with white
Darker: #1f2d7e mixed with black
Calmer: #1f2d7e with less saturation
Similar named colors
Colors that go with #1f2d7e
Questions about #1f2d7e
What color is #1f2d7e?
#1f2d7e is soft dark blue. The closest named color is St. Patrick’s Blue. In RGB it is rgb(31, 45, 126), in HSL hsl(231.16, 60.51%, 30.78%) and in OKLCH oklch(34.202% 0.13725 269.887).
What colors go well with #1f2d7e?
The complementary color of #1f2d7e is #4a3500. For a calmer combination use the analogous colors #003d69 and #451e73. The triadic partners are #6f0400 and #00490b.
Is white or black text more readable on #1f2d7e?
White text reads better on #1f2d7e: white gives a contrast ratio of 12.1:1 and black gives 1.73:1. WCAG AA asks for at least 4.5:1 for body text.
Is #1f2d7e a warm or cool color?
#1f2d7e is a cool color. In OKLCH its hue is 270 degrees, its lightness 34.2% and its chroma 0.137.