Skip to content
#E8E8F0
#5C8EA8
#C8B890
#2E2A1E
Background
Decorative / accent
Decorative / accent
Text · AAA

Óbidos Medieval Color Palette

#E8E8F0 · #5C8EA8 · #C8B890 · #2E2A1E

AAA
WCAG Grade
11.75:1
Contrast Ratio
AI Prompt

Use #E8E8F0 as the background. Use #5C8EA8 as the primary accent. Use #C8B890 as secondary. Use #2E2A1E as body text/supporting color. Palette mood: Óbidos Medieval — walled, medieval, white.

Hex Codes, RGB & CMYK Color Values

Technical breakdown for the Óbidos Medieval 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: 81.2%
232, 232, 240 3%, 3%, 0%, 6% 240°, 21%, 93%
Decorative / accent
Luminance: 24.4%
92, 142, 168 45%, 15%, 0%, 34% 201°, 30%, 51%
Decorative / accent
Luminance: 48.6%
200, 184, 144 0%, 8%, 28%, 22% 43°, 34%, 67%
Text · AAA
Luminance: 2.3%
46, 42, 30 0%, 9%, 35%, 82% 45°, 21%, 15%

Óbidos Medieval 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 Óbidos Medieval palette — click any swatch to copy its hex.

#E8E8F0 muted blue
#5C8EA8 gently saturated cyan-blue
#C8B890 gently saturated orange
#2E2A1E muted orange

Óbidos Medieval 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 #E8E8F0
Aa Sample Text
11.75:1 AAA Body text, headings, UI
#E8E8F0 on #2E2A1E
Aa Sample Text
11.75:1 AAA Body text, headings, UI
#2E2A1E on #C8B890
Aa Sample Text
7.30:1 AAA Body text, headings, UI
#C8B890 on #2E2A1E
Aa Sample Text
7.30:1 AAA Body text, headings, UI
#2E2A1E on #5C8EA8
Aa Sample Text
4.01:1 Fail Large headings, UI components
#5C8EA8 on #2E2A1E
Aa Sample Text
4.01:1 Fail Large headings, UI components
#5C8EA8 on #E8E8F0
Aa Sample Text
2.92:1 Fail Decorative use only
#E8E8F0 on #5C8EA8
Aa Sample Text
2.92:1 Fail Decorative use only
#C8B890 on #5C8EA8
Aa Sample Text
1.81:1 Fail Decorative use only
#5C8EA8 on #C8B890
Aa Sample Text
1.81:1 Fail Decorative use only
#C8B890 on #E8E8F0
Aa Sample Text
1.60:1 Fail Decorative use only
#E8E8F0 on #C8B890
Aa Sample Text
1.60:1 Fail Decorative use only

Palette Details

Óbidos is the walled medieval town of white houses with blue-trimmed doors, given as a wedding gift to queens of Portugal. Two of the four colors are muted (21%) and the other two are balanced (30–34%), with lightness running 15–93%. Body text #2E2A1E on #E8E8F0 measures 11.75:1 (AAA for normal text); the accent #5C8EA8 measures 2.92:1 against the same background.

Color Harmony: No Single Classic Rule

Three hue groups at 44°, 201°, 240°, spaced 39°, 157° and 164° apart — that spacing does not match a triadic or split-complementary layout.

Hue Wheel

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

History & Design Context

Óbidos was given by King Dinis to his queen in 1282, beginning a tradition of queens owning the town; its castle, now a pousada, and its white streets ringed by walls make it one of Portugals most intact medieval towns.

Best Design Use Cases

Use the chalk white for walls, deep blue for doors and trim, warm stone for accents, and dark brown for text.

Measured best pair: #2E2A1E on #E8E8F0 at 11.75:1 (AAA). Use this pair for paragraph copy; the surface roles above are not body-text prescriptions.

Colors That Pair Well With Óbidos Medieval

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

blue

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

tinted neutral

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

Using Óbidos Medieval Without Breaking Accessibility

  • Avoid #5C8EA8 for small UI elements on #E8E8F0 — at 2.92:1 it misses the 3:1 WCAG threshold; darken it with a shade from the ramp below.
  • Set body text in #2E2A1E — 11.75:1 against #E8E8F0 passes WCAG AA (AAA) for long-form reading.
  • Don't use #C8B890 behind body text — this light tone works better for surfaces, badges and dividers than for reading areas.

How to Implement the Óbidos Medieval Color Scheme

To use this Óbidos Medieval 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 {
  /* Óbidos Medieval — ihatecolors */
  --color-bg: #E8E8F0;
  --color-accent: #5C8EA8;
  --color-secondary: #C8B890;
  --color-text: #2E2A1E;
}

Web Design Tip

#5C8EA8 on #E8E8F0 measures 2.92: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

Body copy in #2E2A1E on #E8E8F0 measures 11.75:1, which passes WCAG AAA for normal text.

Óbidos Medieval Palette — Frequently Asked Questions

What are the hex codes in the Óbidos Medieval color palette?

The Óbidos Medieval palette contains #E8E8F0, #5C8EA8, #C8B890, #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 Óbidos Medieval color palette accessible (WCAG)?

Yes. #2E2A1E on #E8E8F0 reaches 11.75: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 Óbidos Medieval palette?

Beyond its own four colors, #A8775D, #69719B, #131315 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 Óbidos Medieval palette create?

Óbidos Medieval reads as walled, medieval, white. Gently saturated cyan-blue drives the personality, grounded by muted blue — a combination that works best when the very light base gets most of the canvas.

Can I use the Óbidos Medieval color palette commercially?

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

Similar Palettes

Live Preview
Generate Similar ✦