Skip to content
#E7E9EC
#3E4C9C
#262F74
#0B1138
Background
Text · AA
Text · AAA
Text · AAA

Campanula Color Palette

#E7E9EC · #3E4C9C · #262F74 · #0B1138

AAA
WCAG Grade
14.99:1
Contrast Ratio
AI Prompt

Use #E7E9EC as the background. Use #3E4C9C as the primary accent. Use #262F74 as secondary. Use #0B1138 as body text/supporting color. Palette mood: Campanula — cool, forest, pastel, vintage, mono.

Hex Codes, RGB & CMYK Color Values

Technical breakdown for the Campanula 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.3%
231, 233, 236 2%, 1%, 0%, 7% 216°, 12%, 92%
Text · AA
Luminance: 8.6%
62, 76, 156 60%, 51%, 0%, 39% 231°, 43%, 43%
Text · AAA
Luminance: 3.7%
38, 47, 116 67%, 59%, 0%, 55% 233°, 51%, 30%
Text · AAA
Luminance: 0.8%
11, 17, 56 80%, 70%, 0%, 78% 232°, 67%, 13%

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

#E7E9EC muted blue
#3E4C9C gently saturated blue
#262F74 gently saturated blue
#0B1138 saturated blue

Campanula 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
#0B1138 on #E7E9EC
Aa Sample Text
14.99:1 AAA Body text, headings, UI
#E7E9EC on #0B1138
Aa Sample Text
14.99:1 AAA Body text, headings, UI
#262F74 on #E7E9EC
Aa Sample Text
9.91:1 AAA Body text, headings, UI
#E7E9EC on #262F74
Aa Sample Text
9.91:1 AAA Body text, headings, UI
#3E4C9C on #E7E9EC
Aa Sample Text
6.35:1 AA Body text, UI
#E7E9EC on #3E4C9C
Aa Sample Text
6.35:1 AA Body text, UI
#0B1138 on #3E4C9C
Aa Sample Text
2.36:1 Fail Decorative use only
#3E4C9C on #0B1138
Aa Sample Text
2.36:1 Fail Decorative use only
#262F74 on #3E4C9C
Aa Sample Text
1.56:1 Fail Decorative use only
#3E4C9C on #262F74
Aa Sample Text
1.56:1 Fail Decorative use only
#0B1138 on #262F74
Aa Sample Text
1.51:1 Fail Decorative use only
#262F74 on #0B1138
Aa Sample Text
1.51:1 Fail Decorative use only

Palette Details

A campanula hangs its flowers downward so rain falls out of the bell instead of filling it, which is a small piece of engineering in indigo. The four colors fall into three saturation bands — balanced (43–51%), muted (12%) and highly saturated (67%) — with lightness running 13–92%. Body text #0B1138 on #E7E9EC measures 14.99:1 (AAA for normal text); the accent #3E4C9C measures 6.35:1 against the same background.

Color Harmony: Monochromatic

3 of 4 colors sit at essentially the same hue (232°, 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

Campanula is Latin for little bell, and the genus contains more than five hundred species; the nodding habit protects pollen from rain and restricts access to strong pollinators.

Best Design Use Cases

Use the bell pale for backgrounds, campanula indigo for primary actions, calyx deep for highlights, and wood dark for text.

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

Industries This Palette Suits

Ready-to-Wear, Streetwear, Luxury Houses, Athleisure, Accessories, E-commerce Fashion.

Colors That Pair Well With Campanula

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

violet

30° beside #3E4C9C — 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 Campanula Without Breaking Accessibility

  • Use #3E4C9C for buttons and links — it scores 6.35:1 against the #E7E9EC background (above the 3:1 UI-components threshold).
  • Set body text in #0B1138 — 14.99:1 against #E7E9EC passes WCAG AA (AAA) for long-form reading.
  • Let #262F74 carry sidebars, cards and footers — at a mid lightness it separates zones without stealing focus from #3E4C9C.

How to Implement the Campanula Color Scheme

To use this Campanula 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 {
  /* Campanula — ihatecolors */
  --color-bg: #E7E9EC;
  --color-accent: #3E4C9C;
  --color-secondary: #262F74;
  --color-text: #0B1138;
}

Web Design Tip

Use #E7E9EC as the page background and #3E4C9C for primary buttons — they measure 6.35:1, which clears both the 3:1 UI threshold and the 4.5:1 body-text threshold.

Accessibility Note

Body copy in #0B1138 on #E7E9EC measures 14.99:1, which passes WCAG AAA for normal text.

Campanula Palette — Frequently Asked Questions

What are the hex codes in the Campanula color palette?

The Campanula palette contains #E7E9EC, #3E4C9C, #262F74, #0B1138. 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 Campanula color palette accessible (WCAG)?

Yes. #0B1138 on #E7E9EC reaches 14.99: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 Campanula palette?

Beyond its own four colors, #9D8F3F, #634992, #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 Campanula palette create?

Campanula reads as cool, forest, pastel. Gently saturated 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 Campanula color palette commercially?

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

Live Preview
Generate Similar ✦