Midnight Ink
Pricing & checkout · Score 86 ·Excellent · Added 2026-10-15 · Updated 2026-10-29
Sitting mid-range in lightness, the lead color adapts to both light and dark themes with little adjustment. On a web page it works when the brand color anchors calls to action and the surrounding roles stay quiet enough for long reading sessions.
Midnight Ink is a 10-role Web palette: primary #1989ea on a #f9fafa canvas. Body text reaches 14.54:1 (WCAG AAA), leaving enough headroom for long reading sessions; the primary sits at 3.46:1 against the canvas, enough for large text and control borders, not for body copy.
10 color roles
primary#1989eargb(25, 137, 234)hsl(207.8, 83.3%, 50.8%)primaryHover#0d63afrgb(13, 99, 175)hsl(208.1, 86.2%, 36.9%)primaryActive#074377rgb(7, 67, 119)hsl(207.9, 88.9%, 24.7%)textMain#232629rgb(35, 38, 41)hsl(210, 7.9%, 14.9%)textSub#6a737crgb(106, 115, 124)hsl(210, 7.8%, 45.1%)bg#f9fafargb(249, 250, 250)hsl(180, 9.1%, 97.8%)surface#f4f5f6rgb(244, 245, 246)hsl(210, 10%, 96.1%)border#e3e6e8rgb(227, 230, 232)hsl(204, 9.8%, 90%)link#0a61adrgb(10, 97, 173)hsl(208, 89.1%, 35.9%)accent#f2882crgb(242, 136, 44)hsl(27.9, 88.4%, 56.1%)Editorial review · Web
Delta E 257, clearly separated. The hierarchy reads without effort.
Measured 6.0:1, past AA. Fine for body copy; keep an eye on small text and hairlines.
Saturation 83%, near a pure color. Keep it to small accents.
Measured 2.4:1, below 3:1. This one hurts legibility directly.
How this palette is put together
Six readings computed from these exact color values. None of them would hold for another palette.
- Primary hue rangeAt hue 208° and 83% saturation, this is a blue primary, the safest choice and the most crowded one. Tools, finance and enterprise services default to it. The safety comes from how rarely it is misread, and that is also the problem: it is hard to remember. 11 palettes sit in the same range.
- Lightness distributionThe ten roles show a lightness standard deviation of 28.4 around a mean of 55%: layered without being theatrical. The background recedes, cards lift, text holds, and all of it survives a switch to grayscale.
- Background temperatureAt hue 180° and 9% saturation, #F9FAFA is a cool ground. Cool surfaces visually pull saturation out of the primary and read closer to native white, which suits tooling. A warm primary, though, will pop harder than expected.
- Standing among peersWithin the 3 palettes tagged Cool, 3.46:1 places this one at 3, on the lighter end. It will not be the first thing to jump out among peers, which suits a secondary role or pages that should not compete for attention.
- Primary vs accent3.46:1 for the primary against 2.41:1 for the accent, 1.4× apart. Rank is established without being severe: the accent stands out without overtaking. Most interfaces are steadiest here, with two usable visual weights on offer.
- Text hierarchyText main 14.54:1 and secondary text 4.61:1. The second level lands between 4.5:1 and 7:1: fine for body copy, tight once it drops to small sizes, where the main text color is the safer choice below 14px.
How to use it
The lead color sits at 51% lightness and 83% saturation. The lead color sits in the middle of the lightness range, which makes it the most adaptable: both light and dark themes are easy to build on. Saturation runs high, so the color is energetic and hard to miss; keep it to buttons and key marks, because large fields of it get loud.
What it looks like in a real interface
Build your product with this palette
Navigation, buttons, cards and text hierarchy, previewed in one go.
Primary actionLearn moreAccessibility contrast check
| Foreground / background | Ratio | Body text | Large text |
|---|---|---|---|
| Body text / page background | 14.54:1 | AAA | AAA |
| Body text / card background | 13.93:1 | AAA | AAA |
| Brand color / page background | 3.46:1 | AA | AA |
Verify this pair in the checker →Compare with other palettes →Site-wide accessibility report →
More palettes on this platform
Where this one sits in the library
The numbers below come from measured color distances against the other 34 palettes on this platform (mean over ten roles). They would not hold in a different library.
- Almost the same set as Still Lake Blue, mean Delta E 51, only the primary steps apart.
- Furthest from Midnight Violet at Delta E 400; put the two side by side and they pull in opposite directions.
- Primary saturation 83 percent, rank 10 of 34 on this platform, on the saturated side.
Export to your project
Eight formats, ready to paste: four for the web, plus one each for Android, iOS, Flutter and mini programs. Or fetch them by URL from your tooling or AI agent.
:root {
--color-primary: #1989ea; /* Primary */
--color-primaryHover: #0d63af; /* Primary hover */
--color-primaryActive: #074377; /* Primary active */
--color-textMain: #232629; /* Text main */
--color-textSub: #6a737c; /* Text sub */
--color-bg: #f9fafa; /* Background */
--color-surface: #f4f5f6; /* Surface */
--color-border: #e3e6e8; /* Border */
--color-link: #0a61ad; /* Link */
--color-accent: #f2882c; /* Accent */
}