Skip to content
#2A7A8E
#8ED8E8
#E8C878
#0E2E3A
Background
Large text / UI
Large text / UI
Decorative / accent

Cancún Lagoon Color Palette

#2A7A8E · #8ED8E8 · #E8C878 · #0E2E3A

Fail
WCAG Grade
2.90:1
Contrast Ratio
AI Prompt

Use #2A7A8E as the background. Use #8ED8E8 as the primary accent. Use #E8C878 as secondary. Use #0E2E3A as body text/supporting color. Palette mood: Cancún Lagoon — lagoon, resort, turquoise.

Hex Codes, RGB & CMYK Color Values

Technical breakdown for the Cancún Lagoon 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: 16.4%
42, 122, 142 70%, 14%, 0%, 44% 192°, 54%, 36%
Large text / UI
Luminance: 60.7%
142, 216, 232 39%, 7%, 0%, 9% 191°, 66%, 73%
Large text / UI
Luminance: 59.8%
232, 200, 120 0%, 14%, 48%, 9% 43°, 71%, 69%
Decorative / accent
Luminance: 2.4%
14, 46, 58 76%, 21%, 0%, 77% 196°, 61%, 14%

Cancún Lagoon 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 Cancún Lagoon palette — click any swatch to copy its hex.

#2A7A8E gently saturated cyan-blue
#8ED8E8 saturated cyan-blue
#E8C878 saturated orange
#0E2E3A gently saturated cyan-blue

Cancún Lagoon 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
#0E2E3A on #8ED8E8
Aa Sample Text
8.93:1 AAA Body text, headings, UI
#8ED8E8 on #0E2E3A
Aa Sample Text
8.93:1 AAA Body text, headings, UI
#0E2E3A on #E8C878
Aa Sample Text
8.81:1 AAA Body text, headings, UI
#E8C878 on #0E2E3A
Aa Sample Text
8.81:1 AAA Body text, headings, UI
#8ED8E8 on #2A7A8E
Aa Sample Text
3.07:1 Fail Large headings, UI components
#2A7A8E on #8ED8E8
Aa Sample Text
3.07:1 Fail Large headings, UI components
#E8C878 on #2A7A8E
Aa Sample Text
3.03:1 Fail Large headings, UI components
#2A7A8E on #E8C878
Aa Sample Text
3.03:1 Fail Large headings, UI components
#0E2E3A on #2A7A8E
Aa Sample Text
2.90:1 Fail Decorative use only
#2A7A8E on #0E2E3A
Aa Sample Text
2.90:1 Fail Decorative use only
#E8C878 on #8ED8E8
Aa Sample Text
1.01:1 Fail Decorative use only
#8ED8E8 on #E8C878
Aa Sample Text
1.01:1 Fail Decorative use only

Palette Details

Cancún is the resort city built on a sandbar between the Caribbean and a lagoon, its water glowing turquoise. Two of the four colors are balanced (54–61%) and the other two are highly saturated (66–71%), with lightness running 14–73%. Body text #0E2E3A on #2A7A8E measures 2.90:1 (no WCAG text threshold); the accent #8ED8E8 measures 3.07:1 against the same background.

Color Harmony: No Single Classic Rule

Two hue groups sit 150° apart — 3 colors around 193° and 1 color around 43°. That is neither complementary (180°) nor analogous (within about 60°).

Hue Wheel

Because the hue spacing is irregular, choose roles by measured contrast rather than by hue relationship.

History & Design Context

Cancún was a fishing village until 1970, when the Mexican government, guided by a computer analysis, built a resort from scratch on the barrier island; it is now one of the most visited beach destinations in the world.

Best Design Use Cases

Use the lagoon turquoise for the water, pale aqua for highlights, golden sand for the beaches, and deep teal for decorative accents on the main background; use #8ED8E8 on #0E2E3A for body copy (8.93:1).

Measured best pair: #0E2E3A on #8ED8E8 at 8.93:1 (AAA). Use this pair for paragraph copy; the surface roles above are not body-text prescriptions.

Colors That Pair Well With Cancún Lagoon

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.

red

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

blue

30° beside #8ED8E8 — 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 Cancún Lagoon Without Breaking Accessibility

  • Use #8ED8E8 for buttons and links — it scores 3.07:1 against the #2A7A8E background (above the 3:1 UI-components threshold).
  • Don't set body copy in #0E2E3A on #2A7A8E — 2.90: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 Cancún Lagoon Color Scheme

To use this Cancún Lagoon 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 {
  /* Cancún Lagoon — ihatecolors */
  --color-bg: #2A7A8E;
  --color-accent: #8ED8E8;
  --color-secondary: #E8C878;
  --color-text: #0E2E3A;
}

Web Design Tip

Use #2A7A8E as the page background and #8ED8E8 for buttons and large UI — they measure 3.07:1, which clears the 3:1 UI threshold but not 4.5:1, so keep small text out of this pair.

Accessibility Note

#0E2E3A on #2A7A8E measures 2.90:1, which fails every WCAG text threshold. The strongest pair in this palette is #0E2E3A on #8ED8E8 at 8.93:1 — use that pair for normal text instead.

Cancún Lagoon Palette — Frequently Asked Questions

What are the hex codes in the Cancún Lagoon color palette?

The Cancún Lagoon palette contains #2A7A8E, #8ED8E8, #E8C878, #0E2E3A. 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 Cancún Lagoon color palette accessible (WCAG)?

Yes. #0E2E3A on #8ED8E8 reaches 8.93:1, which passes WCAG AAA for normal text (7:1) as well as AA and the 3:1 UI threshold — use it for body copy and controls. The full contrast matrix above shows the exact score for every color-on-color pair in this palette.

What colors go well with the Cancún Lagoon palette?

Beyond its own four colors, #E59380, #94ACE1, #EBEFF0 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 Cancún Lagoon palette create?

Cancún Lagoon reads as lagoon, resort, turquoise. 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 Cancún Lagoon color palette commercially?

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

Similar Palettes

Live Preview
Generate Similar ✦