#1f2a75 color: St. Patrick’s Blue
#1f2a75 is rgb(31, 42, 117) in RGB and oklch(32.757% 0.12825 271.024) 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 54%
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 #1f2a75
#1f2a75 is a soft dark indigo color. In OKLCH it has 32.8% lightness, 0.128 chroma and a hue of 271°.
Inside sRGB: displays the same on any screen.
White text on it reaches 12.76:1 contrast and black text 1.65: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: #1f2a75 mixed with white
Darker: #1f2a75 mixed with black
Calmer: #1f2a75 with less saturation
Similar named colors
Colors that go with #1f2a75
Questions about #1f2a75
What color is #1f2a75?
#1f2a75 is soft dark indigo. The closest named color is St. Patrick’s Blue. In RGB it is rgb(31, 42, 117), in HSL hsl(232.33, 58.11%, 29.02%) and in OKLCH oklch(32.757% 0.12825 271.024).
What colors go well with #1f2a75?
The complementary color of #1f2a75 is #453200. For a calmer combination use the analogous colors #003864 and #411d6a. The triadic partners are #670700 and #00440e.
Is white or black text more readable on #1f2a75?
White text reads better on #1f2a75: white gives a contrast ratio of 12.76:1 and black gives 1.65:1. WCAG AA asks for at least 4.5:1 for body text.
Is #1f2a75 a warm or cool color?
#1f2a75 is a cool color. In OKLCH its hue is 271 degrees, its lightness 32.8% and its chroma 0.128.