#1E2230
#32384C
#0E1018
#565E76
Background
Primary Accent
Secondary
Body Text

New Moon Color Palette

#1E2230 · #32384C · #0E1018 · #565E76

Fail
WCAG Grade
2.5:1
Contrast Ratio
932
Saves
2,470
AI Copies
AI Prompt

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%
Primary Accent
Luminance: 4.0%
50, 56, 76 34%, 26%, 0%, 70% 226°, 21%, 25%
Secondary
Luminance: 0.5%
14, 16, 24 42%, 33%, 0%, 91% 228°, 26%, 7%
Body Text
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.

#1E2230 muted blue
#32384C muted blue
#0E1018 gently saturated blue
#565E76 muted blue

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.95:1 Fail Decorative use only
#0E1018 on #565E76
Aa Sample Text
2.95:1 Fail Decorative use only
#565E76 on #1E2230
Aa Sample Text
2.46:1 Fail Decorative use only
#1E2230 on #565E76
Aa Sample Text
2.46: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.20:1 Fail Decorative use only
#1E2230 on #0E1018
Aa Sample Text
1.20:1 Fail Decorative use only

New Moon Color Psychology & Meaning

A new moon is invisible from earth but leaves the darkest skies of the month, which is when astronomers schedule their most difficult observations, and this palette is new moon dark with shadow black. It feels blank and expectant, the color of a night with nothing in the sky.

Color Harmony: Analogous Scheme

The New Moon palette is built using a analogous relationship between its hues. This ensures that even with high-contrast accents, the overall scheme feels balanced and intentional.

Hue Wheel

A analogous palette is often preferred by professional designers because it creates a calm, serene atmosphere by using neighboring colors.

History & Design Context

The moon shows phases because we see varying amounts of its sunlit side; at new moon it lies between the earth and the sun, so its dark side faces us and the night sky is at its darkest.

Best Design Use Cases

Use the new moon dark for large surfaces, dim sky for links and buttons, shadow black for fine details, and faint horizon for text.

Industries This Palette Suits

Finance after-hours products, security, VPN and privacy tools.

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.

yellow

directly opposite #32384C on the wheel — the strongest accent for CTAs and highlights when you need maximum energy

violet

30° beside #32384C — a calm secondary that extends the palette without adding tension

tinted neutral

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.4: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.5: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, you can copy the following CSS variables or Tailwind CSS configuration. These roles ensure your UI maintains accessibility and visual hierarchy.

Option 1: CSS Variables

:root { 
  /* {name} Palette - ihatecolors.com */{'
'}  --color-bg: {colors[0]};{'
'}  --color-primary: {colors[1]};{'
'}  --color-secondary: {colors[2]};{'
'}  --color-text: {colors[3]};{'
'} {'}'}

Web Design Tip

Use #1E2230 for the main background and #32384C for primary buttons. This creates a high-contrast focal point.

Accessibility Note

The contrast ratio between #565E76 and #1E2230 is 2.46:1 (Fail). Ensure your body text remains legible.

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)?

Yes for its strongest pairings: #565E76 on #0E1018 reaches 2.9:1 (Fail). For body text always keep a 4.5:1 ratio and for large UI elements 3:1 — the full contrast matrix above shows the exact score for every color-on-color combination 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.

Similar Palettes

Live Preview
Generate Similar ✦
Skip to content