#1f2a5c color: Ultramarine Violet
#1f2a5c is rgb(31, 42, 92) in RGB and oklch(30.565% 0.0902 270.86) 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 #1f2a5c
#1f2a5c is a soft dark indigo color. In OKLCH it has 30.6% lightness, 0.09 chroma and a hue of 271°.
Inside sRGB: displays the same on any screen.
White text on it reaches 13.6: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: #1f2a5c mixed with white
Darker: #1f2a5c mixed with black
Calmer: #1f2a5c with less saturation
Similar named colors
Colors that go with #1f2a5c
Questions about #1f2a5c
What color is #1f2a5c?
#1f2a5c is soft dark indigo. The closest named color is Ultramarine Violet. In RGB it is rgb(31, 42, 92), in HSL hsl(229.18, 49.59%, 24.12%) and in OKLCH oklch(30.565% 0.0902 270.86).
What colors go well with #1f2a5c?
The complementary color of #1f2a5c is #3f2c00. For a calmer combination use the analogous colors #003358 and #372255. The triadic partners are #541810 and #003b15.
Is white or black text more readable on #1f2a5c?
White text reads better on #1f2a5c: white gives a contrast ratio of 13.6:1 and black gives 1.54:1. WCAG AA asks for at least 4.5:1 for body text.
Is #1f2a5c a warm or cool color?
#1f2a5c is a cool color. In OKLCH its hue is 271 degrees, its lightness 30.6% and its chroma 0.09.