NASA Space Color Palette
#0A0A1A · #0B3D91 · #FC3D21 · #FFFFFF
Use #0A0A1A as the background. Use #0B3D91 as the primary accent. Use #FC3D21 as secondary. Use #FFFFFF as body text/supporting color. Palette mood: NASA Space — bold, exploratory, technical.
Hex Codes, RGB & CMYK Color Values
Technical breakdown for the NASA Space 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.4% | 10, 10, 26 | 62%, 62%, 0%, 90% | 240°, 44%, 7% | ||
| Decorative / accent Luminance: 5.5% | 11, 61, 145 | 92%, 58%, 0%, 43% | 218°, 86%, 31% | ||
| Text · AA Luminance: 24.1% | 252, 61, 33 | 0%, 76%, 87%, 1% | 8°, 97%, 56% | ||
| Text · AAA Luminance: 100.0% | 255, 255, 255 | 0%, 0%, 0%, 0% | 0°, 0%, 100% |
NASA Space 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 NASA Space palette — click any swatch to copy its hex.
NASA Space 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 |
|---|---|---|---|---|
| #FFFFFF on #0A0A1A |
Aa Sample Text
| 19.60:1 | AAA | Body text, headings, UI |
| #0A0A1A on #FFFFFF |
Aa Sample Text
| 19.60:1 | AAA | Body text, headings, UI |
| #FFFFFF on #0B3D91 |
Aa Sample Text
| 10.04:1 | AAA | Body text, headings, UI |
| #0B3D91 on #FFFFFF |
Aa Sample Text
| 10.04:1 | AAA | Body text, headings, UI |
| #FC3D21 on #0A0A1A |
Aa Sample Text
| 5.44:1 | AA | Body text, UI |
| #0A0A1A on #FC3D21 |
Aa Sample Text
| 5.44:1 | AA | Body text, UI |
| #FFFFFF on #FC3D21 |
Aa Sample Text
| 3.60:1 | Fail | Large headings, UI components |
| #FC3D21 on #FFFFFF |
Aa Sample Text
| 3.60:1 | Fail | Large headings, UI components |
| #FC3D21 on #0B3D91 |
Aa Sample Text
| 2.78:1 | Fail | Decorative use only |
| #0B3D91 on #FC3D21 |
Aa Sample Text
| 2.78:1 | Fail | Decorative use only |
| #0B3D91 on #0A0A1A |
Aa Sample Text
| 1.95:1 | Fail | Decorative use only |
| #0A0A1A on #0B3D91 |
Aa Sample Text
| 1.95:1 | Fail | Decorative use only |
Color Harmony: No Single Classic Rule
Two hue groups sit 139° apart — 2 colors around 229° and 1 color around 8°. That is neither complementary (180°) nor analogous (within about 60°).
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: #FFFFFF on #0A0A1A at 19.60: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 NASA Space
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 #0B3D91 on the wheel — the strongest accent for CTAs and highlights when you need maximum energy
30° beside #0B3D91 — 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 NASA Space Without Breaking Accessibility
- Avoid #0B3D91 for small UI elements on #0A0A1A — at 1.95:1 it misses the 3:1 WCAG threshold; darken it with a shade from the ramp below.
- Set body text in #FFFFFF — 19.60:1 against #0A0A1A passes WCAG AA (AAA) for long-form reading.
- Don't use #FC3D21 behind body text — this light tone works better for surfaces, badges and dividers than for reading areas.
How to Implement the NASA Space Color Scheme
To use this NASA Space 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 {
/* NASA Space — ihatecolors */
--color-bg: #0A0A1A;
--color-accent: #0B3D91;
--color-secondary: #FC3D21;
--color-text: #FFFFFF;
} Web Design Tip
#0B3D91 on #0A0A1A measures 1.95: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 #FFFFFF on #0A0A1A measures 19.60:1, which passes WCAG AAA for normal text.
NASA Space Palette — Frequently Asked Questions
What are the hex codes in the NASA Space color palette?
The NASA Space palette contains #0A0A1A, #0B3D91, #FC3D21, #FFFFFF. 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 NASA Space color palette accessible (WCAG)?
Yes. #FFFFFF on #0A0A1A reaches 19.60: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 NASA Space palette?
Beyond its own four colors, #A66E0C, #23138B, #EBEBEF 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 NASA Space palette create?
NASA Space reads as bold, exploratory, technical. 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 NASA Space color palette commercially?
Yes. Individual color values can't be copyrighted, so the NASA Space 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 NASA Space 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 NASA Space's exact values, including the tint and shade ramps shown above.