Skip to content
#2E7FA8
#5DA9CE
#8FCBE3
#14405C
Background
Decorative / accent
Decorative / accent
Decorative / accent

Chefchaouen Blue Color Palette

#2E7FA8 · #5DA9CE · #8FCBE3 · #14405C

Fail
WCAG Grade
2.45:1
Contrast Ratio
AI Prompt

Use #2E7FA8 as the background. Use #5DA9CE as the primary accent. Use #8FCBE3 as secondary. Use #14405C as body text/supporting color. Palette mood: Chefchaouen Blue — cool, dreamy, cultural.

Hex Codes, RGB & CMYK Color Values

Technical breakdown for the Chefchaouen Blue 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: 18.6%
46, 127, 168 73%, 24%, 0%, 34% 200°, 57%, 42%
Decorative / accent
Luminance: 35.2%
93, 169, 206 55%, 18%, 0%, 19% 200°, 54%, 59%
Decorative / accent
Luminance: 54.1%
143, 203, 227 37%, 11%, 0%, 11% 197°, 60%, 73%
Decorative / accent
Luminance: 4.6%
20, 64, 92 78%, 30%, 0%, 64% 203°, 64%, 22%

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

#2E7FA8 gently saturated cyan-blue
#5DA9CE gently saturated cyan-blue
#8FCBE3 gently saturated cyan-blue
#14405C gently saturated cyan-blue

Chefchaouen Blue 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
#14405C on #8FCBE3
Aa Sample Text
6.16:1 AA Body text, UI
#8FCBE3 on #14405C
Aa Sample Text
6.16:1 AA Body text, UI
#14405C on #5DA9CE
Aa Sample Text
4.18:1 Fail Large headings, UI components
#5DA9CE on #14405C
Aa Sample Text
4.18:1 Fail Large headings, UI components
#8FCBE3 on #2E7FA8
Aa Sample Text
2.50:1 Fail Decorative use only
#2E7FA8 on #8FCBE3
Aa Sample Text
2.50:1 Fail Decorative use only
#14405C on #2E7FA8
Aa Sample Text
2.45:1 Fail Decorative use only
#2E7FA8 on #14405C
Aa Sample Text
2.45:1 Fail Decorative use only
#5DA9CE on #2E7FA8
Aa Sample Text
1.70:1 Fail Decorative use only
#2E7FA8 on #5DA9CE
Aa Sample Text
1.70:1 Fail Decorative use only
#8FCBE3 on #5DA9CE
Aa Sample Text
1.47:1 Fail Decorative use only
#5DA9CE on #8FCBE3
Aa Sample Text
1.47:1 Fail Decorative use only

Palette Details

Chefchaouen is a whole town painted in blues — a gradient from sky to navy that feels calm, cool, and slightly unreal. It is the most photographed blue city in the world.

Color Harmony: Monochromatic

4 of 4 colors sit at essentially the same hue (200°, cyan-blue); the palette varies them by lightness and saturation rather than hue.

Hue Wheel

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

The blue walls of Chefchaouen in the Rif Mountains date to the 1930s, likely introduced by Jewish refugees for whom blue symbolized heaven. The tradition of repainting persists today.

Best Design Use Cases

Mid blue for walls and hero surfaces. Lighter blues for the gradient and accents. Deep navy for text and shadows. Suits travel, dreamy interior palettes, and cultural storytelling brands.

Measured best pair: #14405C on #8FCBE3 at 6.16:1 (AA). Use this pair for paragraph copy; the surface roles above are not body-text prescriptions.

Industries This Palette Suits

Hotels & Resorts, Airlines, Booking Platforms, Tour Operators, Destination Marketing, Adventure Travel.

Colors That Pair Well With Chefchaouen Blue

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

blue

30° beside #5DA9CE — 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 Chefchaouen Blue Without Breaking Accessibility

  • Avoid #5DA9CE for small UI elements on #2E7FA8 — at 1.70:1 it misses the 3:1 WCAG threshold; darken it with a shade from the ramp below.
  • Don't set body copy in #14405C on #2E7FA8 — 2.45:1 fails WCAG AA; keep it for large decorative headings only.
  • Don't use #8FCBE3 behind body text — this light tone works better for surfaces, badges and dividers than for reading areas.

How to Implement the Chefchaouen Blue Color Scheme

To use this Chefchaouen Blue 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 {
  /* Chefchaouen Blue — ihatecolors */
  --color-bg: #2E7FA8;
  --color-accent: #5DA9CE;
  --color-secondary: #8FCBE3;
  --color-text: #14405C;
}

Web Design Tip

#5DA9CE on #2E7FA8 measures 1.70:1 — below the 3:1 WCAG threshold for UI components. Use it for decoration only, or darken it with a shade from the ramp before using it for buttons, icons or borders.

Accessibility Note

#14405C on #2E7FA8 measures 2.45:1, which fails every WCAG text threshold. The strongest pair in this palette is #14405C on #8FCBE3 at 6.16:1 — use that pair for normal text instead.

Chefchaouen Blue Palette — Frequently Asked Questions

What are the hex codes in the Chefchaouen Blue color palette?

The Chefchaouen Blue palette contains #2E7FA8, #5DA9CE, #8FCBE3, #14405C. 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 Chefchaouen Blue color palette accessible (WCAG)?

Yes for normal text. #14405C on #8FCBE3 reaches 6.16:1, which passes WCAG AA (4.5:1) but not AAA (7:1); it is safe for body copy and UI, not for the strictest accessibility target. The full contrast matrix above shows the exact score for every color-on-color pair in this palette.

What colors go well with the Chefchaouen Blue palette?

Beyond its own four colors, #CF845E, #6878C4, #EBEEF0 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 Chefchaouen Blue palette create?

Chefchaouen Blue reads as cool, dreamy, cultural. Gently 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 Chefchaouen Blue color palette commercially?

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

Live Preview
Generate Similar ✦