Obsidian 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#e4e4e7 on #09090b15.68:1 · AAA
Aa#e4e4e7 on #18181b13.96:1 · AAA
Aa#e4e4e7 on #27272a11.74:1 · AAA
Aa#e4e4e7 on #52525b6.09:1 · AA
CSS variables
:root {
--obsidian-1: #09090b;
--obsidian-2: #18181b;
--obsidian-3: #27272a;
--obsidian-4: #52525b;
--obsidian-5: #e4e4e7;
}Tailwind CSS
// tailwind.config.js
module.exports = {
theme: {
extend: {
colors: {
'obsidian': {
100: '#09090b',
200: '#18181b',
300: '#27272a',
400: '#52525b',
500: '#e4e4e7',
},
},
},
},
};FAQ
What colors are in the Obsidian palette?
Obsidian uses #09090b, #18181b, #27272a, #52525b, #e4e4e7.
Which colors in Obsidian work for text?
The strongest pair is #09090b and #e4e4e7 with a contrast ratio of 15.68:1 (AAA).