#1f2a5b color: Ultramarine Violet
#1f2a5b is rgb(31, 42, 91) in RGB and oklch(30.485% 0.0886 270.8) 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
- blue-950
- Black 64%
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 #1f2a5b
#1f2a5b is a soft dark indigo color. In OKLCH it has 30.5% lightness, 0.089 chroma and a hue of 271°.
Inside sRGB: displays the same on any screen.
White text on it reaches 13.63:1 contrast and black text 1.54:1, so white text reads better.
The closest named color is Ultramarine Violet (#1d2a58). In Tailwind CSS the closest color is blue-950.
Lighter: #1f2a5b mixed with white
Darker: #1f2a5b mixed with black
Calmer: #1f2a5b with less saturation
Similar named colors
Colors that go with #1f2a5b
Questions about #1f2a5b
What color is #1f2a5b?
#1f2a5b is soft dark indigo. The closest named color is Ultramarine Violet. In RGB it is rgb(31, 42, 91), in HSL hsl(229, 49.18%, 23.92%) and in OKLCH oklch(30.485% 0.0886 270.8).
What colors go well with #1f2a5b?
The complementary color of #1f2a5b is #3e2c00. For a calmer combination use the analogous colors #003357 and #372254. The triadic partners are #531911 and #003b15.
Is white or black text more readable on #1f2a5b?
White text reads better on #1f2a5b: white gives a contrast ratio of 13.63:1 and black gives 1.54:1. WCAG AA asks for at least 4.5:1 for body text.
Is #1f2a5b a warm or cool color?
#1f2a5b is a cool color. In OKLCH its hue is 271 degrees, its lightness 30.5% and its chroma 0.089.