Skip to content
#1A2A4A
#3A5A8A
#C8A040
#E8E0D0
Background
Decorative / accent
Text · AA
Text · AAA

Blue Hour Color Palette

#1A2A4A · #3A5A8A · #C8A040 · #E8E0D0

AAA
WCAG Grade
10.85:1
Contrast Ratio
AI Prompt

Use #1A2A4A as the background. Use #3A5A8A as the primary accent. Use #C8A040 as secondary. Use #E8E0D0 as body text/supporting color. Palette mood: Blue Hour — calm, elegant, nocturnal.

Hex Codes, RGB & CMYK Color Values

Technical breakdown for the Blue Hour 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: 2.4%
26, 42, 74 65%, 43%, 0%, 71% 220°, 48%, 20%
Decorative / accent
Luminance: 10.0%
58, 90, 138 58%, 35%, 0%, 46% 216°, 41%, 38%
Text · AA
Luminance: 37.8%
200, 160, 64 0%, 20%, 68%, 22% 42°, 55%, 52%
Text · AAA
Luminance: 75.0%
232, 224, 208 0%, 3%, 10%, 9% 40°, 34%, 86%

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

#1A2A4A gently saturated blue
#3A5A8A gently saturated blue
#C8A040 gently saturated orange
#E8E0D0 gently saturated orange

Blue Hour 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
#E8E0D0 on #1A2A4A
Aa Sample Text
10.85:1 AAA Body text, headings, UI
#1A2A4A on #E8E0D0
Aa Sample Text
10.85:1 AAA Body text, headings, UI
#C8A040 on #1A2A4A
Aa Sample Text
5.80:1 AA Body text, UI
#1A2A4A on #C8A040
Aa Sample Text
5.80:1 AA Body text, UI
#E8E0D0 on #3A5A8A
Aa Sample Text
5.31:1 AA Body text, UI
#3A5A8A on #E8E0D0
Aa Sample Text
5.31:1 AA Body text, UI
#C8A040 on #3A5A8A
Aa Sample Text
2.84:1 Fail Decorative use only
#3A5A8A on #C8A040
Aa Sample Text
2.84:1 Fail Decorative use only
#3A5A8A on #1A2A4A
Aa Sample Text
2.04:1 Fail Decorative use only
#1A2A4A on #3A5A8A
Aa Sample Text
2.04:1 Fail Decorative use only
#E8E0D0 on #C8A040
Aa Sample Text
1.87:1 Fail Decorative use only
#C8A040 on #E8E0D0
Aa Sample Text
1.87:1 Fail Decorative use only

Palette Details

Blue hour is the twilight window when the sky holds its deepest blue and city lights begin to glow gold. The palette is a favorite of photographers because it makes everything look expensive and still.

Color Harmony: Complementary

Two hue groups sit 177° apart (41°, 218°) — close to opposite sides of the wheel.

Hue Wheel

Opposite hues give the strongest contrast in the set; keep one as the surface and the other in small areas so they do not vibrate against each other.

History & Design Context

The blue hour has no fixed length, lasting longer in winter and at higher latitudes. Cinematographers exploit it for its emotional neutrality, and city planners light landmarks to be seen during it.

Best Design Use Cases

Use the deep blue for backgrounds in evening and events contexts, the mid blue for interactive elements, and the gold for accents. The pale cream keeps text readable on the dark palette.

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

Industries This Palette Suits

Startups & SaaS, Retail & E-commerce, Food & Beverage, Fashion, Agencies & Services, Non-profits.

Colors That Pair Well With Blue Hour

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

blue

30° beside #3A5A8A — 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 Blue Hour Without Breaking Accessibility

  • Avoid #3A5A8A for small UI elements on #1A2A4A — at 2.04:1 it misses the 3:1 WCAG threshold; darken it with a shade from the ramp below.
  • Set body text in #E8E0D0 — 10.85:1 against #1A2A4A passes WCAG AA (AAA) for long-form reading.
  • Let #C8A040 carry sidebars, cards and footers — at a mid lightness it separates zones without stealing focus from #3A5A8A.

How to Implement the Blue Hour Color Scheme

To use this Blue Hour 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 {
  /* Blue Hour — ihatecolors */
  --color-bg: #1A2A4A;
  --color-accent: #3A5A8A;
  --color-secondary: #C8A040;
  --color-text: #E8E0D0;
}

Web Design Tip

#3A5A8A on #1A2A4A measures 2.04: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 #E8E0D0 on #1A2A4A measures 10.85:1, which passes WCAG AAA for normal text.

Blue Hour Palette — Frequently Asked Questions

What are the hex codes in the Blue Hour color palette?

The Blue Hour palette contains #1A2A4A, #3A5A8A, #C8A040, #E8E0D0. 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 Blue Hour color palette accessible (WCAG)?

Yes. #E8E0D0 on #1A2A4A reaches 10.85: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 Blue Hour palette?

Beyond its own four colors, #896939, #49437F, #EBECEF 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 Blue Hour palette create?

Blue Hour reads as calm, elegant, nocturnal. Gently saturated blue drives the personality, grounded by gently saturated blue — a combination that works best when the deep base gets most of the canvas.

Can I use the Blue Hour color palette commercially?

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

Live Preview
Generate Similar ✦