Skip to the color picker

#171236 color: Spanish Roast

#171236 is rgb(23, 18, 54) in RGB and oklch(21.242% 0.06771 285.417) in OKLCH. Every other format, shade and contrast value is below.

Read as HEX

248°
100%

21.2%
0.068
285°
  • Indigo
  • Very dark
  • Soft
  • Cool
  • ≈ Midnight blue
  • slate-900
  • Black 79%

Inside sRGB: displays the same on any screen.

White text
17.85: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 #171236

#171236 is a soft very dark indigo color. In OKLCH it has 21.2% lightness, 0.068 chroma and a hue of 285°.

Inside sRGB: displays the same on any screen.

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

The closest named color is Spanish Roast (#111133). In Tailwind CSS the closest color is slate-900.

More very dark indigo colors

Lighter: #171236 mixed with white

Darker: #171236 mixed with black

  1. 000000

Calmer: #171236 with less saturation

Similar named colors

Colors that go with #171236

Complementary
Analogous
Triadic
Split

Questions about #171236

What color is #171236?

#171236 is soft very dark indigo. The closest named color is Spanish Roast. In RGB it is rgb(23, 18, 54), in HSL hsl(248.33, 50%, 14.12%) and in OKLCH oklch(21.242% 0.06771 285.417).

What colors go well with #171236?

The complementary color of #171236 is #1e1a00. For a calmer combination use the analogous colors #011837 and #240d2e. The triadic partners are #300b00 and #002211.

Is white or black text more readable on #171236?

White text reads better on #171236: white gives a contrast ratio of 17.85:1 and black gives 1.18:1. WCAG AA asks for at least 4.5:1 for body text.

Is #171236 a warm or cool color?

#171236 is a cool color. In OKLCH its hue is 285 degrees, its lightness 21.2% and its chroma 0.068.