Skip to the color picker

#0f173c color: Soft very dark blue

#0f173c is rgb(15, 23, 60) in RGB and oklch(22.247% 0.0718 270.363) in OKLCH. Every other format, shade and contrast value is below.

Read as HEX

229°
100%

22.2%
0.072
270°
  • Blue
  • Very dark
  • Soft
  • Cool
  • ≈ Midnight blue
  • slate-900
  • Black 76%

Inside sRGB: displays the same on any screen.

White text
17.38:1Readable · AA
Lc -106
Black text
1.21: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 #0f173c

#0f173c is a soft very dark blue color. In OKLCH it has 22.2% lightness, 0.072 chroma and a hue of 270°.

Inside sRGB: displays the same on any screen.

White text on it reaches 17.38:1 contrast and black text 1.21:1, so white text reads better.

The closest named color is Lost in Sadness (#151632). In Tailwind CSS the closest color is slate-900.

More very dark blue colors

Lighter: #0f173c mixed with white

Darker: #0f173c mixed with black

  1. 000000

Calmer: #0f173c with less saturation

Similar named colors

Colors that go with #0f173c

Complementary
Analogous
Triadic
Split

Questions about #0f173c

What color is #0f173c?

#0f173c is soft very dark blue. The closest named color is Soft very dark blue. In RGB it is rgb(15, 23, 60), in HSL hsl(229.33, 60%, 14.71%) and in OKLCH oklch(22.247% 0.0718 270.363).

What colors go well with #0f173c?

The complementary color of #0f173c is #261900. For a calmer combination use the analogous colors #001e39 and #211137. The triadic partners are #360905 and #002407.

Is white or black text more readable on #0f173c?

White text reads better on #0f173c: white gives a contrast ratio of 17.38:1 and black gives 1.21:1. WCAG AA asks for at least 4.5:1 for body text.

Is #0f173c a warm or cool color?

#0f173c is a cool color. In OKLCH its hue is 270 degrees, its lightness 22.2% and its chroma 0.072.