Home /Colors /Midnight Blue
Midnight Blue#191970

Midnight Blue color code is #191970. Use this page to get all code formats, explore shades and tints, and find colors that work with midnight blue.

ShadesTints
Preview
Text on White
White on Color
ShareSave to PinterestTweet

Explore Midnight Blue

Midnight Blue Accessibility & WCAG Contrast

Relative luminance of Midnight Blue is 0.0207. Its WCAG contrast ratio is 14.85:1 against white and 1.41:1 against black. Use the card with the higher ratio for body text.

The quick brown fox
Midnight Blue on white14.85:1AAA
The quick brown fox
Midnight Blue on black1.41:1Fail
The quick brown fox
White on Midnight Blue14.85:1AAA
The quick brown fox
Black on Midnight Blue1.41:1Fail

Midnight Blue — Frequently Asked Questions

What is the hex code for Midnight Blue?+
The hex code for Midnight Blue is #191970. In RGB it's rgb(25, 25, 112), and in HSL it's hsl(240, 64%, 27%).
What is the RGB value of Midnight Blue?+
Midnight Blue in RGB is (25, 25, 112). Written in CSS: rgb(25, 25, 112).
What is the CMYK value of Midnight Blue?+
Midnight Blue converts to CMYK(78%, 78%, 0%, 56%) for print. Hex equivalent is #191970.
Is midnight blue a warm or cool color?+
Midnight Blue (#191970) is a cool purple — its hue sits at 240° on the color wheel, placing it in the cool part of the spectrum.
What color family does midnight blue belong to?+
Midnight Blue belongs to the purple family. Its HSL is 240°, 64%, 27% — a cool tone within the broader purple group.
Is midnight blue accessible for body text on a white background?+
Midnight Blue on white reaches a WCAG contrast ratio of 14.85:1 — passes WCAG AAA for body text on white.
What is the closest Pantone match for midnight blue?+
The nearest Pantone match for Midnight Blue (#191970) is 19-4024 Midnight Blue, calculated by Euclidean RGB distance over the Pantone Matching System.

How to use Midnight Blue in design

Practical guidance for using midnight blue (#191970) across four design contexts, derived from its hue, lightness, saturation, and WCAG contrast.

Web & UI design

Use Midnight Blue (#191970) as primary text or icon color on white backgrounds — at 14.8:1 contrast it passes WCAG AAA for body copy. Avoid placing midnight blue text on dark surfaces; the contrast drops below the AA threshold.

Branding & identity

As a brand color, Midnight Blue (#191970) reads as balanced and approachable and premium and serious. It fits naturally into luxury, beauty, creative, premium subscription products. Pair it with a higher-contrast accent (warm if purple runs cool, cool if it runs warm) for visual hierarchy. Test legibility on both your logo and small UI text before locking it in — saturation that works on a 200px logo can feel overpowering at favicon scale.

Fashion & apparel

Midnight Blue flatters cool-leaning skin tones (pink, rosy, blue undertones) and works best in autumn/winter collections. Pair it with cool neutrals (charcoal, slate, off-white, black) and it works as a sophisticated alternative to navy. Deep cool tones photograph richly under indoor light and read as quiet luxury — strong choice for eveningwear.

Interior design

Midnight Blue is a moody, atmospheric room color — perfect for libraries, dining rooms, bedrooms, and bars where you want the space to feel enclosed and cinematic. Pair with brass or unlacquered fixtures, warm overhead lighting (2700K bulbs), and natural-fiber rugs. Avoid using it in spaces with limited natural light unless that intimacy is the point.

Brands that use Midnight Blue

Major brands whose official palette contains a color within ~30 RGB units of midnight blue (#191970). Click through for the full brand color guide.

Visa#1A1F71 · Visa Blue