Blacklight Color Palette
Electric, saturated colours that glow on dark backgrounds. 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#00e5ff on #05010f13.41:1 · AAA
Aa#00e5ff on #1d0b3a11.76:1 · AAA
Aa#00e5ff on #6a00f44.68:1 · AA
Aa#b100e8 on #05010f3.96:1 · AA large
CSS variables
:root {
--blacklight-1: #05010f;
--blacklight-2: #1d0b3a;
--blacklight-3: #6a00f4;
--blacklight-4: #b100e8;
--blacklight-5: #00e5ff;
}Tailwind CSS
// tailwind.config.js
module.exports = {
theme: {
extend: {
colors: {
'blacklight': {
100: '#05010f',
200: '#1d0b3a',
300: '#6a00f4',
400: '#b100e8',
500: '#00e5ff',
},
},
},
},
};FAQ
What colors are in the Blacklight palette?
Blacklight uses #05010f, #1d0b3a, #6a00f4, #b100e8, #00e5ff.
Which colors in Blacklight work for text?
The strongest pair is #05010f and #00e5ff with a contrast ratio of 13.41:1 (AAA).