#1f2c76 color: St. Patrick’s Blue
#1f2c76 is rgb(31, 44, 118) in RGB and oklch(33.253% 0.12705 270.293) 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 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 #1f2c76
#1f2c76 is a soft dark blue color. In OKLCH it has 33.3% lightness, 0.127 chroma and a hue of 270°.
Inside sRGB: displays the same on any screen.
White text on it reaches 12.5: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: #1f2c76 mixed with white
Darker: #1f2c76 mixed with black
Calmer: #1f2c76 with less saturation
Similar named colors
Colors that go with #1f2c76
Questions about #1f2c76
What color is #1f2c76?
#1f2c76 is soft dark blue. The closest named color is St. Patrick’s Blue. In RGB it is rgb(31, 44, 118), in HSL hsl(231.03, 58.39%, 29.22%) and in OKLCH oklch(33.253% 0.12705 270.293).
What colors go well with #1f2c76?
The complementary color of #1f2c76 is #473300. For a calmer combination use the analogous colors #003a65 and #421f6c. The triadic partners are #680a03 and #00460c.
Is white or black text more readable on #1f2c76?
White text reads better on #1f2c76: white gives a contrast ratio of 12.5:1 and black gives 1.68:1. WCAG AA asks for at least 4.5:1 for body text.
Is #1f2c76 a warm or cool color?
#1f2c76 is a cool color. In OKLCH its hue is 270 degrees, its lightness 33.3% and its chroma 0.127.