#8E8E9E
#C8C8D0
#5C8EA8
#2E2A1E
Background
Primary Accent
Secondary
Body Text

San Juan Castle Color Palette

#8E8E9E · #C8C8D0 · #5C8EA8 · #2E2A1E

Fail
WCAG Grade
4.4:1
Contrast Ratio
970
Saves
2,600
AI Copies
AI Prompt

Use #8E8E9E as the background. Use #C8C8D0 as the primary accent. Use #5C8EA8 as secondary. Use #2E2A1E as body text/supporting color. Palette mood: San Juan Castle — castle, fort, cobble.

Hex Codes, RGB & CMYK Color Values

Technical breakdown for the San Juan Castle 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: 27.6%
142, 142, 158 10%, 10%, 0%, 38% 240°, 8%, 59%
Primary Accent
Luminance: 58.1%
200, 200, 208 4%, 4%, 0%, 18% 240°, 8%, 80%
Secondary
Luminance: 24.4%
92, 142, 168 45%, 15%, 0%, 34% 201°, 30%, 51%
Body Text
Luminance: 2.3%
46, 42, 30 0%, 9%, 35%, 82% 45°, 21%, 15%

San Juan Castle 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 San Juan Castle palette — click any swatch to copy its hex.

#8E8E9E muted blue
#C8C8D0 muted blue
#5C8EA8 gently saturated cyan-blue
#2E2A1E muted orange

San Juan Castle 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
#2E2A1E on #C8C8D0
Aa Sample Text
8.61:1 AAA Body text, headings, UI
#C8C8D0 on #2E2A1E
Aa Sample Text
8.61:1 AAA Body text, headings, UI
#2E2A1E on #8E8E9E
Aa Sample Text
4.44:1 Fail Large headings, UI components
#8E8E9E on #2E2A1E
Aa Sample Text
4.44:1 Fail Large headings, UI components
#2E2A1E on #5C8EA8
Aa Sample Text
4.02:1 Fail Large headings, UI components
#5C8EA8 on #2E2A1E
Aa Sample Text
4.02:1 Fail Large headings, UI components
#5C8EA8 on #C8C8D0
Aa Sample Text
2.14:1 Fail Decorative use only
#C8C8D0 on #5C8EA8
Aa Sample Text
2.14:1 Fail Decorative use only
#C8C8D0 on #8E8E9E
Aa Sample Text
1.94:1 Fail Decorative use only
#8E8E9E on #C8C8D0
Aa Sample Text
1.94:1 Fail Decorative use only
#5C8EA8 on #8E8E9E
Aa Sample Text
1.11:1 Fail Decorative use only
#8E8E9E on #5C8EA8
Aa Sample Text
1.11:1 Fail Decorative use only

San Juan Castle Color Psychology & Meaning

San Juan is the walled city of Puerto Rico, its El Morro castle and cobbled streets facing the Atlantic, and this palette is fort stone with sea blue. It feels fortified and colorful, the color of a fortress that never fell to an enemy.

Color Harmony: Split-Complementary Scheme

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

Hue Wheel

A split-complementary palette is often preferred by professional designers because it balances visual interest with cohesion.

History & Design Context

El Morro, begun in 1539, guarded San Juan for 400 years under the Spanish, and the old citys blue-cobbled streets and pastel houses are a UNESCO site; Puerto Rico remains a U.S. territory, and San Juan is its cultural capital.

Best Design Use Cases

Use the fort stone for the walls, sea blue for the water, pale grey for highlights, and dark slate for text.

Industries This Palette Suits

Heritage, tourism, culture, music, hospitality.

Colors That Pair Well With San Juan Castle

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

violet

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

tinted neutral

a ink-black carrying the palette's own hue — perfect for surfaces and dividers

Using San Juan Castle Without Breaking Accessibility

  • Avoid #C8C8D0 for small UI elements on #8E8E9E — at 1.9:1 it misses the 3:1 WCAG threshold; darken it with a shade from the ramp below.
  • Don't set body copy in #2E2A1E on #8E8E9E — 4.4:1 fails WCAG AA; keep it for large decorative headings only.
  • Let #5C8EA8 carry sidebars, cards and footers — at a mid lightness it separates zones without stealing focus from #C8C8D0.

How to Implement the San Juan Castle Color Scheme

To use this San Juan Castle 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 #8E8E9E for the main background and #C8C8D0 for primary buttons. This creates a high-contrast focal point.

Accessibility Note

The contrast ratio between #2E2A1E and #8E8E9E is 4.44:1 (Fail). Ensure your body text remains legible.

San Juan Castle Palette — Frequently Asked Questions

What are the hex codes in the San Juan Castle color palette?

The San Juan Castle palette contains #8E8E9E, #C8C8D0, #5C8EA8, #2E2A1E. 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 San Juan Castle color palette accessible (WCAG)?

Yes for its strongest pairings: #2E2A1E on #C8C8D0 reaches 8.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 San Juan Castle palette?

Beyond its own four colors, #B9B9AC, #CCC7D1, #141415 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 San Juan Castle palette create?

San Juan Castle reads as castle, fort, cobble. Muted blue drives the personality, grounded by muted blue — a combination that works best when the light base gets most of the canvas.

Can I use the San Juan Castle color palette commercially?

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

Similar Palettes

Live Preview
Generate Similar ✦
Skip to content