Skip to the color picker

#140f31 color: Spanish Roast

#140f31 is rgb(20, 15, 49) in RGB and oklch(19.812% 0.06486 285.556) in OKLCH. Every other format, shade and contrast value is below.

Read as HEX

249°
100%

19.8%
0.065
286°
  • Indigo
  • Very dark
  • Soft
  • Cool
  • ≈ Midnight blue
  • slate-900
  • Black 81%

Inside sRGB: displays the same on any screen.

White text
18.38:1Readable · AA
Lc -107
Black text
1.14:1Hard to read
Lc 0

Shades

From lightest to darkest. Click a shade to use it.

Harmonies

Open as palette

Recent

Colors you stop on or copy appear here. They stay on this device.

About #140f31

#140f31 is a soft very dark indigo color. In OKLCH it has 19.8% lightness, 0.065 chroma and a hue of 286°.

Inside sRGB: displays the same on any screen.

White text on it reaches 18.38:1 contrast and black text 1.14: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: #140f31 mixed with white

  1. 140f31
  2. 262444
  3. 3a3957
  4. 4f4f6b
  5. 66667f
  6. 7e7e93
  7. 9696a8
  8. afafbd
  9. c9c9d3
  10. e4e4e9

Darker: #140f31 mixed with black

  1. 140f31
  2. 100b29
  3. 0c0822
  4. 08051a
  5. 050313
  6. 03020c
  7. 010106
  8. 010003
  9. 000001
  10. 000000

Calmer: #140f31 with less saturation

  1. 140f31
  2. 14102e
  3. 14112c
  4. 141229
  5. 141326
  6. 141324
  7. 141421
  8. 15141e
  9. 15151b
  10. 151518

Questions about #140f31

What color is #140f31?

#140f31 is soft very dark indigo. The closest named color is Spanish Roast. In RGB it is rgb(20, 15, 49), in HSL hsl(248.82, 53.13%, 12.55%) and in OKLCH oklch(19.812% 0.06486 285.556).

What colors go well with #140f31?

The complementary color of #140f31 is #1a1600. For a calmer combination use the analogous colors #001532 and #200a29. The triadic partners are #2c0800 and #001e0e.

Is white or black text more readable on #140f31?

White text reads better on #140f31: white gives a contrast ratio of 18.38:1 and black gives 1.14:1. WCAG AA asks for at least 4.5:1 for body text.

Is #140f31 a warm or cool color?

#140f31 is a cool color. In OKLCH its hue is 286 degrees, its lightness 19.8% and its chroma 0.065.