Once in a Blue Moon
#0044bb
Cool midnight blue-violet for secondary UI moments
About Once in a Blue Moon
Once in a Blue Moon reads like a blue that's been cooled just enough to tip into violet, but not in the smoky way. Compared to Blue Screen of Death's blunt purity, this one keeps a gentler undertone and a slightly softened saturation. It doesn't feel cornered or flat, it feels like it's hovering.
I use it when I want a cooler, purple-leaning blue that still behaves like a UI signal, not a decorative wash. Think callouts and selection states in admin tools, telecom portals, and compliance workflows where you need something firmer than periwinkle, but not as heavy or "serious" as Denim. It works in marketing landing components too, especially when you want focus without shouting.
Pair it with near-neutrals that aren't too warm, otherwise it can start to look oddly gray next to creams. For crisp contrast, keep the text and borders in clean cool tones, and let this be the accent that does the last 10% of the attention work.
Code snippets
Copy this color into your project.
Contrast checker
WCAG 2.1 contrast ratios. AA requires 4.5:1 for normal text, 3:1 for large. AAA requires 7:1 / 4.5:1.
On White #ffffff
On Gray 100 #f5f5f5
On Gray 900 #18181b
On Black #000000
Variations
Shades
Darker variations, created by mixing toward black.
Tints
Lighter variations, created by mixing toward white.
Tones
Muted variations, created by reducing saturation.
Hues
Hue rotations around the color wheel.
Temperatures
Warm and cool shifts of this color.
Color harmonies
Suggested palettes
Palettes built around this color.
Community palettes
Published palettes that include this color.
Similar colors
Create a gradient with Once in a Blue Moon
Open the generator with this color pre-loaded.
Start creating