#0f173e color: Soft very dark blue
#0f173e is rgb(15, 23, 62) in RGB and oklch(22.432% 0.07517 270.457) in OKLCH. Every other format, shade and contrast value is below.
Read as HEX
- Ctrl Vpaste a color anywhere
- Spacerandom color
- Ccopy HEX
- Blue
- Very dark
- Soft
- Cool
- ≈ Midnight blue
- slate-900
- Black 76%
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 #0f173e
#0f173e is a soft very dark blue color. In OKLCH it has 22.4% lightness, 0.075 chroma and a hue of 270°.
Inside sRGB: displays the same on any screen.
White text on it reaches 17.32:1 contrast and black text 1.21:1, so white text reads better.
The closest named color is Deadly Depths (#111144). In Tailwind CSS the closest color is slate-900.
Lighter: #0f173e mixed with white
Darker: #0f173e mixed with black
Calmer: #0f173e with less saturation
Similar named colors
Colors that go with #0f173e
Questions about #0f173e
What color is #0f173e?
#0f173e is soft very dark blue. The closest named color is Soft very dark blue. In RGB it is rgb(15, 23, 62), in HSL hsl(229.79, 61.04%, 15.1%) and in OKLCH oklch(22.432% 0.07517 270.457).
What colors go well with #0f173e?
The complementary color of #0f173e is #271900. For a calmer combination use the analogous colors #001e3b and #221039. The triadic partners are #370804 and #002406.
Is white or black text more readable on #0f173e?
White text reads better on #0f173e: white gives a contrast ratio of 17.32:1 and black gives 1.21:1. WCAG AA asks for at least 4.5:1 for body text.
Is #0f173e a warm or cool color?
#0f173e is a cool color. In OKLCH its hue is 270 degrees, its lightness 22.4% and its chroma 0.075.