#1f2b5e color: Ultramarine Violet
#1f2b5e is rgb(31, 43, 94) in RGB and oklch(30.956% 0.09192 270.281) 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
- blue-950
- Black 63%
Inside sRGB: displays the same on any screen.
Shades
From lightest to darkest. Click a shade to use it.
Harmonies
Open as paletteRecent
Colors you stop on or copy appear here. They stay on this device.
About #1f2b5e
#1f2b5e is a soft dark blue color. In OKLCH it has 31% lightness, 0.092 chroma and a hue of 270°.
Inside sRGB: displays the same on any screen.
White text on it reaches 13.41:1 contrast and black text 1.57:1, so white text reads better.
The closest named color is Ultramarine Violet (#1d2a58). In Tailwind CSS the closest color is blue-950.
Lighter: #1f2b5e mixed with white
Darker: #1f2b5e mixed with black
Calmer: #1f2b5e with less saturation
Similar named colors
Colors that go with #1f2b5e
Questions about #1f2b5e
What color is #1f2b5e?
#1f2b5e is soft dark blue. The closest named color is Ultramarine Violet. In RGB it is rgb(31, 43, 94), in HSL hsl(228.57, 50.4%, 24.51%) and in OKLCH oklch(30.956% 0.09192 270.281).
What colors go well with #1f2b5e?
The complementary color of #1f2b5e is #402d00. For a calmer combination use the analogous colors #003459 and #382257. The triadic partners are #551911 and #003c14.
Is white or black text more readable on #1f2b5e?
White text reads better on #1f2b5e: white gives a contrast ratio of 13.41:1 and black gives 1.57:1. WCAG AA asks for at least 4.5:1 for body text.
Is #1f2b5e a warm or cool color?
#1f2b5e is a cool color. In OKLCH its hue is 270 degrees, its lightness 31% and its chroma 0.092.