Heraldic Color Palette
#1E3A6E · #8E1E2E · #D8B860 · #0E0E12
Use #1E3A6E as the background. Use #8E1E2E as the primary accent. Use #D8B860 as secondary. Use #0E0E12 as body text/supporting color. Palette mood: Heraldic — royal, vintage, moody, mono.
Hex Codes, RGB & CMYK Color Values
Technical breakdown for the Heraldic 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: 4.4% | 30, 58, 110 | 73%, 47%, 0%, 57% | 219°, 57%, 27% | ||
| Decorative / accent Luminance: 6.9% | 142, 30, 46 | 0%, 79%, 68%, 44% | 351°, 65%, 34% | ||
| Text · AA Luminance: 49.7% | 216, 184, 96 | 0%, 15%, 56%, 15% | 44°, 61%, 61% | ||
| Decorative / accent Luminance: 0.5% | 14, 14, 18 | 22%, 22%, 0%, 93% | 240°, 13%, 6% |
Heraldic 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 Heraldic palette — click any swatch to copy its hex.
Heraldic 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 |
|---|---|---|---|---|
| #0E0E12 on #D8B860 |
Aa Sample Text
| 10.03:1 | AAA | Body text, headings, UI |
| #D8B860 on #0E0E12 |
Aa Sample Text
| 10.03:1 | AAA | Body text, headings, UI |
| #D8B860 on #1E3A6E |
Aa Sample Text
| 5.80:1 | AA | Body text, UI |
| #1E3A6E on #D8B860 |
Aa Sample Text
| 5.80:1 | AA | Body text, UI |
| #D8B860 on #8E1E2E |
Aa Sample Text
| 4.60:1 | AA | Body text, UI |
| #8E1E2E on #D8B860 |
Aa Sample Text
| 4.60:1 | AA | Body text, UI |
| #0E0E12 on #8E1E2E |
Aa Sample Text
| 2.17:1 | Fail | Decorative use only |
| #8E1E2E on #0E0E12 |
Aa Sample Text
| 2.17:1 | Fail | Decorative use only |
| #0E0E12 on #1E3A6E |
Aa Sample Text
| 1.72:1 | Fail | Decorative use only |
| #1E3A6E on #0E0E12 |
Aa Sample Text
| 1.72:1 | Fail | Decorative use only |
| #8E1E2E on #1E3A6E |
Aa Sample Text
| 1.25:1 | Fail | Decorative use only |
| #1E3A6E on #8E1E2E |
Aa Sample Text
| 1.25:1 | Fail | Decorative use only |
Color Harmony: No Single Classic Rule
Three hue groups at 44°, 219°, 351°, spaced 53°, 132° and 175° apart — that spacing does not match a triadic or split-complementary layout.
Because the hue spacing is irregular, choose roles by measured contrast rather than by hue relationship.
History & Design Context
Best Design Use Cases
Measured best pair: #0E0E12 on #D8B860 at 10.03:1 (AAA). Use this pair for paragraph copy; the surface roles above are not body-text prescriptions.
Industries This Palette Suits
Colors That Pair Well With Heraldic
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.
directly opposite #8E1E2E on the wheel — the strongest accent for CTAs and highlights when you need maximum energy
30° beside #8E1E2E — a calm secondary that extends the palette without adding tension
a paper-white carrying the palette's own hue — perfect for surfaces and dividers
Using Heraldic Without Breaking Accessibility
- Avoid #8E1E2E for small UI elements on #1E3A6E — at 1.25:1 it misses the 3:1 WCAG threshold; darken it with a shade from the ramp below.
- Don't set body copy in #0E0E12 on #1E3A6E — 1.72:1 fails WCAG AA; keep it for large decorative headings only.
- Don't use #D8B860 behind body text — this light tone works better for surfaces, badges and dividers than for reading areas.
How to Implement the Heraldic Color Scheme
To use this Heraldic 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 {
/* Heraldic — ihatecolors */
--color-bg: #1E3A6E;
--color-accent: #8E1E2E;
--color-secondary: #D8B860;
--color-text: #0E0E12;
} Web Design Tip
#8E1E2E on #1E3A6E measures 1.25:1 — the two are nearly indistinguishable, so this pair cannot separate a control from the page. Pick a different slot for actions, or use the darkest shade in the ramp.
Accessibility Note
#0E0E12 on #1E3A6E measures 1.72:1, which fails every WCAG text threshold. The strongest pair in this palette is #0E0E12 on #D8B860 at 10.03:1 — use that pair for normal text instead.
Heraldic Palette — Frequently Asked Questions
What are the hex codes in the Heraldic color palette?
The Heraldic palette contains #1E3A6E, #8E1E2E, #D8B860, #0E0E12. 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 Heraldic color palette accessible (WCAG)?
Yes. #0E0E12 on #D8B860 reaches 10.03: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 Heraldic palette?
Beyond its own four colors, #1F9382, #864827, #EBECF0 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 Heraldic palette create?
Heraldic reads as royal, vintage, moody. Saturated rose-red drives the personality, grounded by gently saturated blue — a combination that works best when the mid-tone base gets most of the canvas.
Can I use the Heraldic color palette commercially?
Yes. Individual color values can't be copyrighted, so the Heraldic 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 Heraldic 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 Heraldic's exact values, including the tint and shade ramps shown above.