Midnight Blue

#191970

Midnight Blue is a blue tone at #191970. It sits at 240 degrees on the color wheel with 64% saturation and 27% lightness.

Color values

Where it sits

Tints and shades

9 steps, white to black
Tint 80%#D1D1E2
Tint 60%#A3A3C6
Tint 40%#7575A9
Tint 20%#47478D
BaseBase#191970
Shade 20%#14145A
Shade 40%#0F0F43
Shade 60%#0A0A2D
Shade 80%#050516

Tints mix Midnight Blue with white, shades mix it with black. Use the light end for backgrounds and the dark end for text that has to stay readable.

Accessibility

WCAG contrast
Sample textThe quick brown fox jumps over the lazy dog.

On white14.85:1

Passes AAA for body text
Sample textThe quick brown fox jumps over the lazy dog.

On black1.41:1

Fails WCAG for text

Check a specific pairing in the contrast checker.

Other blue colors

12 colors, dark to light

Frequently asked

4 questions people ask about Midnight Blue.

  1. 1What is the hex code for Midnight Blue?

    The hex code for Midnight Blue is #191970. In RGB that is rgb(25, 25, 112), and in HSL it is hsl(240, 64%, 27%).

  2. 2What RGB values make Midnight Blue?

    Midnight Blue is 25 red, 25 green, and 112 blue, written as rgb(25, 25, 112).

  3. 3Is Midnight Blue readable as text on a white background?

    Midnight Blue scores 14.85:1 against white. WCAG AA needs 4.5:1 for body text, so it passes.

  4. 4Is Midnight Blue a valid CSS color name?

    Yes. You can write color: midnightblue directly in CSS, which every browser resolves to #191970.