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.

View JSON

10 color roles

Primary primary
Brand color, mapped to the CSS variable --color-primary
#1989eargb(25, 137, 234)hsl(207.8, 83.3%, 50.8%)
Primary hover primaryHover
Hover state: --color-primary-hover
#0d63afrgb(13, 99, 175)hsl(208.1, 86.2%, 36.9%)
Primary active primaryActive
Pressed state: --color-primary-active
#074377rgb(7, 67, 119)hsl(207.9, 88.9%, 24.7%)
Text main textMain
Body text: --color-text-main
#232629rgb(35, 38, 41)hsl(210, 7.9%, 14.9%)
Text sub textSub
Secondary text: --color-text-sub
#6a737crgb(106, 115, 124)hsl(210, 7.8%, 45.1%)
Background bg
Page background: --color-bg
#f9fafargb(249, 250, 250)hsl(180, 9.1%, 97.8%)
Surface surface
Card and panel background: --color-surface
#f4f5f6rgb(244, 245, 246)hsl(210, 10%, 96.1%)
Border border
Dividers and outlines: --color-border
#e3e6e8rgb(227, 230, 232)hsl(204, 9.8%, 90%)
Link link
Link color: --color-link
#0a61adrgb(10, 97, 173)hsl(208, 89.1%, 35.9%)
Accent accent
Highlight color: --color-accent
#f2882crgb(242, 136, 44)hsl(27.9, 88.4%, 56.1%)

Editorial review · Web

Link color distance from body textSolid

Delta E 257, clearly separated. The hierarchy reads without effort.

Link color legibility on the backgroundSolid

Measured 6.0:1, past AA. Fine for body copy; keep an eye on small text and hairlines.

How loud the primary is (saturation)Watch

Saturation 83%, near a pure color. Keep it to small accents.

Accent color legibility on the backgroundWatch

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.

Good forA natural base for dark themes, carrying calm and order. The lead color measures 3.46:1 against this background, fine for headings and large type, while body text should stay with the dedicated text color.
Use with careCool blue feels reserved in promotions that need heat and momentum. Do not demote it to a background in a dark theme: over a near-black surface the lead color still measures 5.22:1, which keeps it reading as emphasis.
Pairs withWhite and pale gray are the safe pairing; a warm accent (orange or yellow) makes calls to action pop. The accent measures 2.41:1 against this background, too low for text, so keep it to blocks, strokes and shapes.

Hue family: Blue

What it looks like in a real interface

Live preview · switch platform
your-site.com×+
https://your-site.com
New

Build your product with this palette

Navigation, buttons, cards and text hierarchy, previewed in one go.

Primary actionLearn more
Card oneSecondary copy, used to check contrast against WCAG.
Card twoAccent color for highlights: keep it a step away from the brand color.
Card threeNeutral text carries body copy, the most frequently used color.

Accessibility contrast check

Foreground / backgroundRatioBody textLarge text
Body text / page background14.54:1AAAAAA
Body text / card background13.93:1AAAAAA
Brand color / page background3.46:1AAAA

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 */ }