Technical Values
Exact numeric values for cross-tool conversion, token mapping, and accessibility review.
Midnight Blue·#191970
Midnight Blue is a dark CSS named blue at #191970 that feels more cinematic, cooler, and slightly more chromatic than Navy. Use it when you need a near-night anchor for dark themes, dashboards, hero backdrops, and interface shells that should feel deep without collapsing fully into black.
Exact numeric values for cross-tool conversion, token mapping, and accessibility review.
Scan the ramp from light to dark to judge how Midnight Blue behaves across action states, layered surfaces, and supporting accents.
Not every foreground and background pairing behaves the same. Use these checks to decide when white text, dark text, or the color itself should take the lead.
Best for reversed buttons, tabs, badges, and filled action surfaces.
Works for larger headings and selective UI blocks, but not for dense body copy.
Use this pairing when Midnight Blue becomes the link, icon, border, or emphasis color on very light surfaces.
White text reaches 14.85:1 against Midnight Blue, which is strong enough for body text and standard action surfaces.
Midnight Blue is sourced from the published CSS Standard Colors library and retained here as a searchable reference swatch for product, interface, and branding work.
Trust-building blues for enterprise and SaaS.
Reference-ready snippets for CSS variables, utility-first styling, and token exports.
:root {
--color-midnight-blue: #191970;
--color-midnight-blue-rgb: 25 25 112;
}Drop into a global token file or CSS variable layer.
class="bg-[#191970] text-white"
class="hover:bg-[#121251] ring-1 ring-[#191970]"Direct utility usage for a fast prototype or content block.
{
"midnightBlue": "#191970",
"midnightBlueRgb": [25, 25, 112],
"midnightBlueHsl": [240, 64, 27]
}Useful for design token exports and API-driven theme objects.
Carry Midnight Blue into conversion, brand palette generation, and palette exploration workflows to test how it behaves across interface scenarios.