#0f172b color: Sambucus
#0f172b is rgb(15, 23, 43) in RGB and oklch(20.84% 0.04166 266.359) 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
- Muted
- Cool
- ≈ Midnight blue
- slate-900
- Black 83%
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 #0f172b
#0f172b is a muted very dark blue color. In OKLCH it has 20.8% lightness, 0.042 chroma and a hue of 266°.
Inside sRGB: displays the same on any screen.
White text on it reaches 17.83:1 contrast and black text 1.18:1, so white text reads better.
The closest named color is Sambucus (#17182b). In Tailwind CSS the closest color is slate-900.
Lighter: #0f172b mixed with white
Darker: #0f172b mixed with black
Calmer: #0f172b with less saturation
Questions about #0f172b
What color is #0f172b?
#0f172b is muted very dark blue. The closest named color is Sambucus. In RGB it is rgb(15, 23, 43), in HSL hsl(222.86, 48.28%, 11.37%) and in OKLCH oklch(20.84% 0.04166 266.359).
What colors go well with #0f172b?
The complementary color of #0f172b is #201600. For a calmer combination use the analogous colors #021a28 and #1a1329. The triadic partners are #28100d and #0a1d0c.
Is white or black text more readable on #0f172b?
White text reads better on #0f172b: white gives a contrast ratio of 17.83:1 and black gives 1.18:1. WCAG AA asks for at least 4.5:1 for body text.
Is #0f172b a warm or cool color?
#0f172b is a cool color. In OKLCH its hue is 266 degrees, its lightness 20.8% and its chroma 0.042.