Skip to main content

Midnight Indigo

2-color CSS gradient

Open in Studio Visualize

Midnight Indigo is a 2-color CSS linear gradient built from #141E30 and #243B55. Its hues sit in the blue range, and reads as neutral, dark, muted, and cool. White text on it keeps at least 11.46:1 at its weakest point — enough for WCAG AAA body text.

Stops

Light & dark theme

This palette as Material 3 color roles for a real interface, in light and dark mode. Every color comes with the text color that goes on it, and every pair's contrast is measured.

What are the HEX, RGB, and HSL values for Midnight Indigo?

Every color in this 2-color set, with its contrast ratio against white and black.

Color values for Midnight Indigo: hex, RGB, HSL, and WCAG contrast ratios against white and black.
ColorNameHEXRGBHSLOn whiteOn black
#141E30Dark Navy#141E3020, 30, 48219°, 41%, 13%16.69:11.26:1
#243B55Charcoal Blue#243B5536, 59, 85212°, 40%, 24%11.46:11.83:1