Skip to content
#3A4460
#1E2438
#6E7E9E
#0A0E1A
Background
Decorative / accent
Decorative / accent
Decorative / accent

Observatory Night Color Palette

#3A4460 · #1E2438 · #6E7E9E · #0A0E1A

Fail
WCAG Grade
1.99:1
Contrast Ratio
AI Prompt

Use #3A4460 as the background. Use #1E2438 as the primary accent. Use #6E7E9E as secondary. Use #0A0E1A as body text/supporting color. Palette mood: Observatory Night — night, cool, moody, royal.

Hex Codes, RGB & CMYK Color Values

Technical breakdown for the Observatory Night 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: 5.9%
58, 68, 96 40%, 29%, 0%, 62% 224°, 25%, 30%
Decorative / accent
Luminance: 1.8%
30, 36, 56 46%, 36%, 0%, 78% 226°, 30%, 17%
Decorative / accent
Luminance: 20.7%
110, 126, 158 30%, 20%, 0%, 38% 220°, 20%, 53%
Decorative / accent
Luminance: 0.5%
10, 14, 26 62%, 46%, 0%, 90% 225°, 44%, 7%

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

#3A4460 gently saturated blue
#1E2438 gently saturated blue
#6E7E9E muted blue
#0A0E1A gently saturated blue

Observatory Night 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
#0A0E1A on #6E7E9E
Aa Sample Text
4.71:1 AA Body text, UI
#6E7E9E on #0A0E1A
Aa Sample Text
4.71:1 AA Body text, UI
#6E7E9E on #1E2438
Aa Sample Text
3.76:1 Fail Large headings, UI components
#1E2438 on #6E7E9E
Aa Sample Text
3.76:1 Fail Large headings, UI components
#6E7E9E on #3A4460
Aa Sample Text
2.36:1 Fail Decorative use only
#3A4460 on #6E7E9E
Aa Sample Text
2.36:1 Fail Decorative use only
#0A0E1A on #3A4460
Aa Sample Text
1.99:1 Fail Decorative use only
#3A4460 on #0A0E1A
Aa Sample Text
1.99:1 Fail Decorative use only
#1E2438 on #3A4460
Aa Sample Text
1.59:1 Fail Decorative use only
#3A4460 on #1E2438
Aa Sample Text
1.59:1 Fail Decorative use only
#0A0E1A on #1E2438
Aa Sample Text
1.25:1 Fail Decorative use only
#1E2438 on #0A0E1A
Aa Sample Text
1.25:1 Fail Decorative use only

Palette Details

An observatory at night is a pale dome under a black sky, with a slit of warmer light from the control room below. Three of the four colors are balanced (25–44%) and the other is muted (20%), with lightness running 7–53%. Body text #0A0E1A on #3A4460 measures 1.99:1 (no WCAG text threshold); the accent #1E2438 measures 1.59:1 against the same background.

Color Harmony: Monochromatic

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

Observatories are usually sited on high, dry mountains to reduce atmospheric water vapour, and domes have slatted vents to equalise internal and external air temperature so the air inside does not distort the view.

Best Design Use Cases

Use the dome blue for wide surfaces, night dark for buttons and links, lens light for secondary details, and sky black for text.

Measured best pair: #0A0E1A on #6E7E9E at 4.71:1 (AA). Use this pair for paragraph copy; the surface roles above are not body-text prescriptions.

Industries This Palette Suits

SaaS Products, Mobile Apps, Fintech, Productivity Tools, Social Platforms, Health Apps.

Colors That Pair Well With Observatory Night

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

violet

30° beside #1E2438 — 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 Observatory Night Without Breaking Accessibility

  • Avoid #1E2438 for small UI elements on #3A4460 — at 1.59:1 it misses the 3:1 WCAG threshold; darken it with a shade from the ramp below.
  • Don't set body copy in #0A0E1A on #3A4460 — 1.99:1 fails WCAG AA; keep it for large decorative headings only.
  • Let #6E7E9E carry sidebars, cards and footers — at a mid lightness it separates zones without stealing focus from #1E2438.

How to Implement the Observatory Night Color Scheme

To use this Observatory Night 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 {
  /* Observatory Night — ihatecolors */
  --color-bg: #3A4460;
  --color-accent: #1E2438;
  --color-secondary: #6E7E9E;
  --color-text: #0A0E1A;
}

Web Design Tip

#1E2438 on #3A4460 measures 1.59: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

#0A0E1A on #3A4460 measures 1.99:1, which fails every WCAG text threshold. The strongest pair in this palette is #0A0E1A on #6E7E9E at 4.71:1 — use that pair for normal text instead.

Observatory Night Palette — Frequently Asked Questions

What are the hex codes in the Observatory Night color palette?

The Observatory Night palette contains #3A4460, #1E2438, #6E7E9E, #0A0E1A. 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 Observatory Night color palette accessible (WCAG)?

Yes for normal text. #0A0E1A on #6E7E9E reaches 4.71:1, which passes WCAG AA (4.5:1) but not AAA (7:1); it is safe for body copy and UI, not for the strictest accessibility target. The full contrast matrix above shows the exact score for every color-on-color pair in this palette.

What colors go well with the Observatory Night palette?

Beyond its own four colors, #74683E, #272334, #ECEDEE 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 Observatory Night palette create?

Observatory Night reads as night, cool, moody. Gently saturated blue 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 Observatory Night color palette commercially?

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

Live Preview
Generate Similar ✦