New Moon Color Palette
#1E2230 · #32384C · #0E1018 · #565E76
Use #1E2230 as the background. Use #32384C as the primary accent. Use #0E1018 as secondary. Use #565E76 as body text/supporting color. Palette mood: New Moon — night, moody, mono, cool.
Hex Codes, RGB & CMYK Color Values
Technical breakdown for the New Moon color scheme. Use these values for web design (HEX/RGB), print projects (CMYK), or specialized design software (HSL).
| Swatch | Design Role | HEX | RGB | CMYK | HSL |
|---|---|---|---|---|---|
| Background Luminance: 1.6% | 30, 34, 48 | 37%, 29%, 0%, 81% | 227°, 23%, 15% | ||
| Decorative / accent Luminance: 4.0% | 50, 56, 76 | 34%, 26%, 0%, 70% | 226°, 21%, 25% | ||
| Decorative / accent Luminance: 0.5% | 14, 16, 24 | 42%, 33%, 0%, 91% | 228°, 26%, 7% | ||
| Decorative / accent Luminance: 11.3% | 86, 94, 118 | 27%, 20%, 0%, 54% | 225°, 16%, 40% |
New Moon Tints & Shades
Hover states, borders and elevation need lighter and darker steps of your base colors. Here are computed tints and shades for every color in the New Moon palette — click any swatch to copy its hex.
New Moon Palette Contrast Matrix (WCAG 2.1)
Every color tested as text on every other color as background. Body copy needs 4.5:1 (AA), large text and UI components 3:1. AAA requires 7:1.
| Text on Background | Preview | Ratio | Grade | Safe For |
|---|---|---|---|---|
| #565E76 on #0E1018 |
Aa Sample Text
| 2.94:1 | Fail | Decorative use only |
| #0E1018 on #565E76 |
Aa Sample Text
| 2.94:1 | Fail | Decorative use only |
| #565E76 on #1E2230 |
Aa Sample Text
| 2.45:1 | Fail | Decorative use only |
| #1E2230 on #565E76 |
Aa Sample Text
| 2.45:1 | Fail | Decorative use only |
| #565E76 on #32384C |
Aa Sample Text
| 1.80:1 | Fail | Decorative use only |
| #32384C on #565E76 |
Aa Sample Text
| 1.80:1 | Fail | Decorative use only |
| #0E1018 on #32384C |
Aa Sample Text
| 1.63:1 | Fail | Decorative use only |
| #32384C on #0E1018 |
Aa Sample Text
| 1.63:1 | Fail | Decorative use only |
| #32384C on #1E2230 |
Aa Sample Text
| 1.36:1 | Fail | Decorative use only |
| #1E2230 on #32384C |
Aa Sample Text
| 1.36:1 | Fail | Decorative use only |
| #0E1018 on #1E2230 |
Aa Sample Text
| 1.19:1 | Fail | Decorative use only |
| #1E2230 on #0E1018 |
Aa Sample Text
| 1.19:1 | Fail | Decorative use only |
Color Harmony: Monochromatic
4 of 4 colors sit at essentially the same hue (227°, blue); the palette varies them by lightness and saturation rather than hue.
Single-hue palettes are the easiest to keep consistent, but neighbouring slots can look flat — separate them with lightness steps of at least 15%.
History & Design Context
Best Design Use Cases
Measured best pair: #565E76 on #0E1018 at 2.94:1 (Fail). No pair reaches 3:1, so this pairing is decorative only; this palette has no text-safe pair.
Colors That Pair Well With New Moon
Need a fifth color? These three companions are computed from the palette's own hue positions on the color wheel, so they extend the scheme without breaking its harmony.
directly opposite #32384C on the wheel — the strongest accent for CTAs and highlights when you need maximum energy
30° beside #32384C — a calm secondary that extends the palette without adding tension
a paper-white carrying the palette's own hue — perfect for surfaces and dividers
Using New Moon Without Breaking Accessibility
- Avoid #32384C for small UI elements on #1E2230 — at 1.36:1 it misses the 3:1 WCAG threshold; darken it with a shade from the ramp below.
- Don't set body copy in #565E76 on #1E2230 — 2.45:1 fails WCAG AA; keep it for large decorative headings only.
- Let #0E1018 carry sidebars, cards and footers — at a deep lightness it separates zones without stealing focus from #32384C.
How to Implement the New Moon Color Scheme
To use this New Moon color palette in your web project, copy the CSS variables below or open the export panel for Tailwind, SCSS and Figma formats.
Option 1: CSS Variables
:root {
/* New Moon — ihatecolors */
--color-bg: #1E2230;
--color-accent: #32384C;
--color-secondary: #0E1018;
--color-text: #565E76;
} Web Design Tip
#32384C on #1E2230 measures 1.36:1 — the two are nearly indistinguishable, so this pair cannot separate a control from the page. Pick a different slot for actions, or use the darkest shade in the ramp.
Accessibility Note
#565E76 on #1E2230 measures 2.45:1, which fails every WCAG text threshold; the palette's strongest pair (#565E76 on #0E1018) reaches only 2.94:1. No pair here is safe for text, so use an external neutral for copy.
New Moon Palette — Frequently Asked Questions
What are the hex codes in the New Moon color palette?
The New Moon palette contains #1E2230, #32384C, #0E1018, #565E76. Click any swatch on this page to copy its value, or export all four at once as CSS variables, Tailwind config, SCSS or a Figma-ready list.
Is the New Moon color palette accessible (WCAG)?
No. The strongest pair, #565E76 on #0E1018, reaches 2.94:1 — below the 3:1 minimum for large text and UI and below the 4.5:1 needed for body copy. None of these four colours is safe as text on another; use an external neutral for body copy. The full contrast matrix above shows the exact score for every color-on-color pair in this palette.
What colors go well with the New Moon palette?
Beyond its own four colors, #6C6347, #3C3947, #ECEDEE extend it naturally: the complementary hue for high-energy accents, an analogous neighbor for calm transitions, and a tinted neutral for surfaces. All three are computed from this palette's hues on the color wheel.
What mood does the New Moon palette create?
New Moon reads as night, moody, mono. Muted blue drives the personality, grounded by muted blue — a combination that works best when the deep base gets most of the canvas.
Can I use the New Moon color palette commercially?
Yes. Individual color values can't be copyrighted, so the New Moon palette is free for personal, client and commercial work — websites, branding, apps, print and social content, with no attribution required.
How do I add the New Moon palette to Tailwind or CSS?
Use the export panel on this page: CSS variables, a Tailwind config block, SCSS variables, or a Figma copy list are generated from New Moon's exact values, including the tint and shade ramps shown above.