Deep Space 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#e0e0ff on #03001c15.95:1 · AAA
Aa#e0e0ff on #1b1a5512.28:1 · AAA
Aa#9290c3 on #03001c6.86:1 · AA
Aa#9290c3 on #1b1a555.28:1 · AA
CSS variables
:root {
--deep-space-1: #03001c;
--deep-space-2: #1b1a55;
--deep-space-3: #535c91;
--deep-space-4: #9290c3;
--deep-space-5: #e0e0ff;
}Tailwind CSS
// tailwind.config.js
module.exports = {
theme: {
extend: {
colors: {
'deep-space': {
100: '#03001c',
200: '#1b1a55',
300: '#535c91',
400: '#9290c3',
500: '#e0e0ff',
},
},
},
},
};FAQ
What colors are in the Deep Space palette?
Deep Space uses #03001c, #1b1a55, #535c91, #9290c3, #e0e0ff.
Which colors in Deep Space work for text?
The strongest pair is #03001c and #e0e0ff with a contrast ratio of 15.95:1 (AAA).