#22304E
#5E7AA0
#D8DCE0
#0C1220
Background
Primary Accent
Secondary
Body Text

Moon Path Color Palette

#22304E · #5E7AA0 · #D8DCE0 · #0C1220

Fail
WCAG Grade
1.4:1
Contrast Ratio
802
Saves
2,177
AI Copies
AI Prompt

Use #22304E as the background. Use #5E7AA0 as the primary accent. Use #D8DCE0 as secondary. Use #0C1220 as body text/supporting color. Palette mood: Moon Path — night, ocean, cool, moody.

Hex Codes, RGB & CMYK Color Values

Technical breakdown for the Moon Path 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: 3.0%
34, 48, 78 56%, 38%, 0%, 69% 221°, 39%, 22%
Primary Accent
Luminance: 18.8%
94, 122, 160 41%, 24%, 0%, 37% 215°, 26%, 50%
Secondary
Luminance: 71.2%
216, 220, 224 4%, 2%, 0%, 12% 210°, 11%, 86%
Body Text
Luminance: 0.6%
12, 18, 32 62%, 44%, 0%, 87% 222°, 45%, 9%

Moon Path 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 Moon Path palette — click any swatch to copy its hex.

#22304E gently saturated blue
#5E7AA0 gently saturated cyan-blue
#D8DCE0 muted cyan-blue
#0C1220 gently saturated blue

Moon Path 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
#0C1220 on #D8DCE0
Aa Sample Text
13.56:1 AAA Body text, headings, UI
#D8DCE0 on #0C1220
Aa Sample Text
13.56:1 AAA Body text, headings, UI
#D8DCE0 on #22304E
Aa Sample Text
9.52:1 AAA Body text, headings, UI
#22304E on #D8DCE0
Aa Sample Text
9.52:1 AAA Body text, headings, UI
#0C1220 on #5E7AA0
Aa Sample Text
4.25:1 Fail Large headings, UI components
#5E7AA0 on #0C1220
Aa Sample Text
4.25:1 Fail Large headings, UI components
#D8DCE0 on #5E7AA0
Aa Sample Text
3.20:1 Fail Large headings, UI components
#5E7AA0 on #D8DCE0
Aa Sample Text
3.20:1 Fail Large headings, UI components
#5E7AA0 on #22304E
Aa Sample Text
2.98:1 Fail Decorative use only
#22304E on #5E7AA0
Aa Sample Text
2.98:1 Fail Decorative use only
#0C1220 on #22304E
Aa Sample Text
1.43:1 Fail Decorative use only
#22304E on #0C1220
Aa Sample Text
1.43:1 Fail Decorative use only

Moon Path Color Psychology & Meaning

A path of moonlight on water widens as it approaches the viewer and narrows to a point at the horizon, changing shape with every ripple, and this palette is night water with moon silver. It feels shimmering and calm, the color of light that cannot be stepped on.

Color Harmony: Analogous Scheme

The Moon Path 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 glitter path of any light on water is always aligned with the viewer, which is why it appears to follow you along a shore and never appears in the same place to two people.

Best Design Use Cases

Use the night water for hero surfaces, path blue for interactive elements, moon silver for accents, and water black for text.

Industries This Palette Suits

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

Colors That Pair Well With Moon Path

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.

orange

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

blue

30° beside #5E7AA0 — 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 Moon Path Without Breaking Accessibility

  • Avoid #5E7AA0 for small UI elements on #22304E — at 3.0:1 it misses the 3:1 WCAG threshold; darken it with a shade from the ramp below.
  • Don't set body copy in #0C1220 on #22304E — 1.4:1 fails WCAG AA; keep it for large decorative headings only.
  • Don't use #D8DCE0 behind body text — this light tone works better for surfaces, badges and dividers than for reading areas.

How to Implement the Moon Path Color Scheme

To use this Moon Path 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 #22304E for the main background and #5E7AA0 for primary buttons. This creates a high-contrast focal point.

Accessibility Note

The contrast ratio between #0C1220 and #22304E is 1.43:1 (Fail). Ensure your body text remains legible.

Moon Path Palette — Frequently Asked Questions

What are the hex codes in the Moon Path color palette?

The Moon Path palette contains #22304E, #5E7AA0, #D8DCE0, #0C1220. 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 Moon Path color palette accessible (WCAG)?

Yes for its strongest pairings: #0C1220 on #D8DCE0 reaches 13.6:1 (AAA). 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 Moon Path palette?

Beyond its own four colors, #A1855E, #6E6B94, #EBEDEF 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 Moon Path palette create?

Moon Path reads as night, ocean, cool. Gently saturated cyan-blue drives the personality, grounded by gently saturated blue — a combination that works best when the deep base gets most of the canvas.

Can I use the Moon Path color palette commercially?

Yes. Individual color values can't be copyrighted, so the Moon Path 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 Moon Path 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 Moon Path's exact values, including the tint and shade ramps shown above.

Similar Palettes

Live Preview
Generate Similar ✦
Skip to content