#1f3771 color: Twilight Express
#1f3771 is rgb(31, 55, 113) in RGB and oklch(35.229% 0.10463 264.676) 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-900
- Black 56%
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 #1f3771
#1f3771 is a soft dark blue color. In OKLCH it has 35.2% lightness, 0.105 chroma and a hue of 265°.
Inside sRGB: displays the same on any screen.
White text on it reaches 11.39:1 contrast and black text 1.84:1, so white text reads better.
The closest named color is Twilight Express (#1c3378). In Tailwind CSS the closest color is blue-900.
Lighter: #1f3771 mixed with white
Darker: #1f3771 mixed with black
Calmer: #1f3771 with less saturation
Similar named colors
Colors that go with #1f3771
Questions about #1f3771
What color is #1f3771?
#1f3771 is soft dark blue. The closest named color is Twilight Express. In RGB it is rgb(31, 55, 113), in HSL hsl(222.44, 56.94%, 28.24%) and in OKLCH oklch(35.229% 0.10463 264.676).
What colors go well with #1f3771?
The complementary color of #1f3771 is #513600. For a calmer combination use the analogous colors #004167 and #402d6b. The triadic partners are #671e1e and #094812.
Is white or black text more readable on #1f3771?
White text reads better on #1f3771: white gives a contrast ratio of 11.39:1 and black gives 1.84:1. WCAG AA asks for at least 4.5:1 for body text.
Is #1f3771 a warm or cool color?
#1f3771 is a cool color. In OKLCH its hue is 265 degrees, its lightness 35.2% and its chroma 0.105.