Astronomy Color Palette
#000000 · #1A0A3A · #FF6B35 · #FFFFAA
Use #000000 as the background. Use #1A0A3A as the primary accent. Use #FF6B35 as secondary. Use #FFFFAA as body text/supporting color. Palette mood: Astronomy — dark, vast, wonderful.
Hex Codes, RGB & CMYK Color Values
Technical breakdown for the Astronomy 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: 0.0% | 0, 0, 0 | 0%, 0%, 0%, 100% | 0°, 0%, 0% | ||
| Decorative / accent Luminance: 0.7% | 26, 10, 58 | 55%, 83%, 0%, 77% | 260°, 71%, 13% | ||
| Text · AAA Luminance: 32.0% | 255, 107, 53 | 0%, 58%, 79%, 0% | 16°, 100%, 60% | ||
| Text · AAA Luminance: 95.7% | 255, 255, 170 | 0%, 0%, 33%, 0% | 60°, 100%, 83% |
Astronomy 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 Astronomy palette — click any swatch to copy its hex.
Astronomy 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 |
|---|---|---|---|---|
| #FFFFAA on #000000 |
Aa Sample Text
| 20.13:1 | AAA | Body text, headings, UI |
| #000000 on #FFFFAA |
Aa Sample Text
| 20.13:1 | AAA | Body text, headings, UI |
| #FFFFAA on #1A0A3A |
Aa Sample Text
| 17.53:1 | AAA | Body text, headings, UI |
| #1A0A3A on #FFFFAA |
Aa Sample Text
| 17.53:1 | AAA | Body text, headings, UI |
| #FF6B35 on #000000 |
Aa Sample Text
| 7.40:1 | AAA | Body text, headings, UI |
| #000000 on #FF6B35 |
Aa Sample Text
| 7.40:1 | AAA | Body text, headings, UI |
| #FF6B35 on #1A0A3A |
Aa Sample Text
| 6.44:1 | AA | Body text, UI |
| #1A0A3A on #FF6B35 |
Aa Sample Text
| 6.44:1 | AA | Body text, UI |
| #FFFFAA on #FF6B35 |
Aa Sample Text
| 2.71:1 | Fail | Decorative use only |
| #FF6B35 on #FFFFAA |
Aa Sample Text
| 2.71:1 | Fail | Decorative use only |
| #1A0A3A on #000000 |
Aa Sample Text
| 1.14:1 | Fail | Decorative use only |
| #000000 on #1A0A3A |
Aa Sample Text
| 1.14:1 | Fail | Decorative use only |
Color Harmony: No Single Classic Rule
Three hue groups at 16°, 60°, 260°, spaced 44°, 116° and 200° 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: #FFFFAA on #000000 at 20.13:1 (AAA). Use this pair for paragraph copy; the surface roles above are not body-text prescriptions.
Colors That Pair Well With Astronomy
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 #1A0A3A on the wheel — the strongest accent for CTAs and highlights when you need maximum energy
30° beside #1A0A3A — 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 Astronomy Without Breaking Accessibility
- Avoid #1A0A3A for small UI elements on #000000 — at 1.14:1 it misses the 3:1 WCAG threshold; darken it with a shade from the ramp below.
- Set body text in #FFFFAA — 20.13:1 against #000000 passes WCAG AA (AAA) for long-form reading.
- Don't use #FF6B35 behind body text — this light tone works better for surfaces, badges and dividers than for reading areas.
How to Implement the Astronomy Color Scheme
To use this Astronomy 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 {
/* Astronomy — ihatecolors */
--color-bg: #000000;
--color-accent: #1A0A3A;
--color-secondary: #FF6B35;
--color-text: #FFFFAA;
} Web Design Tip
#1A0A3A on #000000 measures 1.14: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
Body copy in #FFFFAA on #000000 measures 20.13:1, which passes WCAG AAA for normal text.
Astronomy Palette — Frequently Asked Questions
What are the hex codes in the Astronomy color palette?
The Astronomy palette contains #000000, #1A0A3A, #FF6B35, #FFFFAA. 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 Astronomy color palette accessible (WCAG)?
Yes. #FFFFAA on #000000 reaches 20.13: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 Astronomy palette?
Beyond its own four colors, #6E991A, #2F0D35, #EEECEC 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 Astronomy palette create?
Astronomy reads as dark, vast, wonderful. Saturated violet drives the personality, grounded by neutral gray — a combination that works best when the deep base gets most of the canvas.
Can I use the Astronomy color palette commercially?
Yes. Individual color values can't be copyrighted, so the Astronomy 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 Astronomy 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 Astronomy's exact values, including the tint and shade ramps shown above.