#2A5C8E
#8EC8E8
#E8C878
#0E1E3A
Background
Primary Accent
Secondary
Body Text

Majorelle Garden Color Palette

#2A5C8E · #8EC8E8 · #E8C878 · #0E1E3A

Fail
WCAG Grade
2.4:1
Contrast Ratio
1,160
Saves
3,160
AI Copies
AI Prompt

Use #2A5C8E as the background. Use #8EC8E8 as the primary accent. Use #E8C878 as secondary. Use #0E1E3A as body text/supporting color. Palette mood: Majorelle Garden — garden, cobalt, cacti.

Hex Codes, RGB & CMYK Color Values

Technical breakdown for the Majorelle Garden 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: 10.1%
42, 92, 142 70%, 35%, 0%, 44% 210°, 54%, 36%
Primary Accent
Luminance: 52.9%
142, 200, 232 39%, 14%, 0%, 9% 201°, 66%, 73%
Secondary
Luminance: 59.8%
232, 200, 120 0%, 14%, 48%, 9% 43°, 71%, 69%
Body Text
Luminance: 1.3%
14, 30, 58 76%, 48%, 0%, 77% 218°, 61%, 14%

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

#2A5C8E gently saturated cyan-blue
#8EC8E8 saturated cyan-blue
#E8C878 saturated orange
#0E1E3A gently saturated blue

Majorelle Garden 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
#0E1E3A on #E8C878
Aa Sample Text
10.24:1 AAA Body text, headings, UI
#E8C878 on #0E1E3A
Aa Sample Text
10.24:1 AAA Body text, headings, UI
#0E1E3A on #8EC8E8
Aa Sample Text
9.15:1 AAA Body text, headings, UI
#8EC8E8 on #0E1E3A
Aa Sample Text
9.15:1 AAA Body text, headings, UI
#E8C878 on #2A5C8E
Aa Sample Text
4.29:1 Fail Large headings, UI components
#2A5C8E on #E8C878
Aa Sample Text
4.29:1 Fail Large headings, UI components
#8EC8E8 on #2A5C8E
Aa Sample Text
3.83:1 Fail Large headings, UI components
#2A5C8E on #8EC8E8
Aa Sample Text
3.83:1 Fail Large headings, UI components
#0E1E3A on #2A5C8E
Aa Sample Text
2.39:1 Fail Decorative use only
#2A5C8E on #0E1E3A
Aa Sample Text
2.39:1 Fail Decorative use only
#E8C878 on #8EC8E8
Aa Sample Text
1.12:1 Fail Decorative use only
#8EC8E8 on #E8C878
Aa Sample Text
1.12:1 Fail Decorative use only

Majorelle Garden Color Psychology & Meaning

The Majorelle Garden is Marrakechs blue jewel, its cobalt walls framing cacti, palms, and lily ponds, and this palette is majorelle blue with golden accents. It feels cool and dreamlike, the color of a garden that became a fashion houses soul.

Color Harmony: Complementary Scheme

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

Hue Wheel

A complementary palette is often preferred by professional designers because it provides maximum contrast and energy by using opposite colors.

History & Design Context

The garden was created in the 1920s by painter Jacques Majorelle, who patented the intense blue named for him; Yves Saint Laurent and Pierre Bergé saved it in 1980, and the nearby YSL museum honors the designer buried there.

Best Design Use Cases

Use the majorelle blue for hero surfaces, pale blue for highlights, golden accents for the pots and paths, and deep navy for text.

Industries This Palette Suits

Fashion, gardens, tourism, art, luxury.

Colors That Pair Well With Majorelle Garden

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 #8EC8E8 on the wheel — the strongest accent for CTAs and highlights when you need maximum energy

blue

30° beside #8EC8E8 — 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 Majorelle Garden Without Breaking Accessibility

  • Use #8EC8E8 for buttons and links — it scores 3.8:1 against the #2A5C8E background (above the 3:1 UI-components threshold).
  • Don't set body copy in #0E1E3A on #2A5C8E — 2.4:1 fails WCAG AA; keep it for large decorative headings only.
  • Don't use #E8C878 behind body text — this light tone works better for surfaces, badges and dividers than for reading areas.

How to Implement the Majorelle Garden Color Scheme

To use this Majorelle Garden 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 #2A5C8E for the main background and #8EC8E8 for primary buttons. This creates a high-contrast focal point.

Accessibility Note

The contrast ratio between #0E1E3A and #2A5C8E is 2.39:1 (Fail). Ensure your body text remains legible.

Majorelle Garden Palette — Frequently Asked Questions

What are the hex codes in the Majorelle Garden color palette?

The Majorelle Garden palette contains #2A5C8E, #8EC8E8, #E8C878, #0E1E3A. 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 Majorelle Garden color palette accessible (WCAG)?

Yes for its strongest pairings: #0E1E3A on #E8C878 reaches 10.2: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 Majorelle Garden palette?

Beyond its own four colors, #E5A380, #949FE1, #EBEDF0 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 Majorelle Garden palette create?

Majorelle Garden reads as garden, cobalt, cacti. Saturated cyan-blue drives the personality, grounded by gently saturated cyan-blue — a combination that works best when the mid-tone base gets most of the canvas.

Can I use the Majorelle Garden color palette commercially?

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

Similar Palettes

Live Preview
Generate Similar ✦
Skip to content