Midnight Ink Color Palette
Deep, moody palettes for dark mode UIs, dashboards and night themes. Copy any hex code, or grab the whole palette as CSS variables or a Tailwind config.
Color codes
| Colour | HEX | RGB | HSL | OKLCH |
|---|---|---|---|---|
Contrast
WCAG contrast for the strongest pairs. AA needs 4.5:1 for body text.
Aa#7dd3fc on #02061712.10:1 · AAA
Aa#7dd3fc on #0f172a10.71:1 · AAA
Aa#7dd3fc on #1e293b8.77:1 · AAA
Aa#7dd3fc on #3341556.21:1 · AA
CSS variables
:root {
--midnight-ink-1: #020617;
--midnight-ink-2: #0f172a;
--midnight-ink-3: #1e293b;
--midnight-ink-4: #334155;
--midnight-ink-5: #7dd3fc;
}Tailwind CSS
// tailwind.config.js
module.exports = {
theme: {
extend: {
colors: {
'midnight-ink': {
100: '#020617',
200: '#0f172a',
300: '#1e293b',
400: '#334155',
500: '#7dd3fc',
},
},
},
},
};FAQ
What colors are in the Midnight Ink palette?
Midnight Ink uses #020617, #0f172a, #1e293b, #334155, #7dd3fc.
Which colors in Midnight Ink work for text?
The strongest pair is #020617 and #7dd3fc with a contrast ratio of 12.10:1 (AAA).