Skip to the color picker

#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

223°
100%

20.8%
0.042
266°
  • Blue
  • Very dark
  • Muted
  • Cool
  • ≈ Midnight blue
  • slate-900
  • Black 83%

Inside sRGB: displays the same on any screen.

White text
17.83:1Readable · AA
Lc -107
Black text
1.18:1Hard to read
Lc 0

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.

More very dark blue colors

Lighter: #0f172b mixed with white

  1. 0f172b

Darker: #0f172b mixed with black

  1. 0f172b
  2. 000000

Calmer: #0f172b with less saturation

  1. 0f172b

Similar named colors

Colors that go with #0f172b

Complementary
#0f172b
Analogous
#0f172b
Triadic
#0f172b
Split
#0f172b

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.