SiteStyleGuide

Unofficial A style guide made by SiteStyleGuide from nasa.gov’s public web pages. Not affiliated with or endorsed by NASA. The real site is nasa.gov ↗

NASA logo

Unofficial style guide

NASAstyle guide

NASA’s website (nasa.gov) uses Public Sans Web for its headings and body text. Its palette is led by Light Royal Blue (#1C67E3), Dodger Blue (#288BFF) and Red (#F64137), with #1B1B1B text on #000000. Captured from the live site on 27 October 2026.

Website
nasa.gov
Typefaces
Public Sans Web, Inter, dm-mono
Palette
4 neutrals, 12 colours, 3 gradients
Captured
27 Oct 2026 · added by @sitestyleguide
https://www.nasa.gov/ Screenshot
Screenshot of the nasa.gov homepage on a desktop screen
Screenshot of nasa.gov on a 1440 px desktop screen, 27 Oct 2026.

Identity & metadata

What browsers, search engines and social cards show before anyone reaches the page, from the homepage’s <head>.

Title &
description

Page title
NASA
● 4 / 60 characters
Meta description
NASA.gov brings you the latest news, images and videos from America's space agency, pioneering the future in space exploration, scientific discovery and aeronautics research.
▲ 174 / 160 characters
Site name
NASA
og:title
NASA
og:description
NASA.gov brings you the latest news, images and videos from America's space agency, pioneering the future in space exploration, scientific discovery and aeronautics research.
Language
en-US
Theme colour
#ffffff

In search results

NASAhttps://www.nasa.gov/

NASA

NASA.gov brings you the latest news, images and videos from America's space agency, pioneering the future in space exploration, scientific discovery and aeronaut…

When shared

The image NASA shares with links

nasa.gov

NASA

NASA.gov brings you the latest news, images and videos from America's space agency, pioneering the future in …

Back to top ↑

Colour

Read from the site’s stylesheets and weighted by where each colour is used. Names are the nearest standard colour name. Click a swatch to copy its hex code.

Contrast is against the site’s text colour (#1B1B1B) and white, using WCAG 2 ratios: 4.5 for body text, 3 for large text.

Colour

Balance

How much each colour is used
  • White 38.1%
  • Black 19.1%
  • Light Grey 9.8%
  • Cool Charcoal 7.6%
  • Light Royal Blue 4%
  • Dodger Blue 3.9%
  • Red 3.4%
  • Midnight Blue 2.6%
  • Fire Brick 2.3%
  • Royal Blue 2%
  • Light Slate Blue 1.7%
  • Medium Spring Green 1.3%
  • Deep Slate Blue 1.1%
  • Rebecca Purple 1%
  • Tomato 1%
  • Deep Royal Blue 1%

By how often each colour appears in the site’s CSS, weighted by where (body, headings, buttons), not by area on the screen.

Neutrals

Text, backgrounds and structure
  • White

    HEX
    RGB
    HSL
    OKLCH
    CMYK
    0 0 0 0
    On text
    17.22:1 AAA
    On white
    —

    Text, background, graphic · body, .article-color-mode-dark .article-meta-item

  • Black

    HEX
    RGB
    HSL
    OKLCH
    CMYK
    0 0 0 100
    On text
    1.22:1 Fail
    On white
    21.00:1 AAA

    Text, background, border · html, .hds-meta-heading

  • Light Grey

    HEX
    RGB
    HSL
    OKLCH
    CMYK
    0 0 0 18
    On text
    11.28:1 AAA
    On white
    1.53:1 Fail

    Text, border, background · .bg-carbon-90 .gsection_title, .bg-carbon-90 .hds-gf-stepper__heading

  • Cool Charcoal

    HEX
    RGB
    HSL
    OKLCH
    CMYK
    8 8 0 80
    On text
    1.27:1 Fail
    On white
    13.52:1 AAA

    Text, background, border · .gf_progressbar_title, .pum-theme-862810 .pum-title

Colours

Brand colours and accents, most used first
  • Light Royal Blue

    HEX
    RGB
    HSL
    OKLCH
    CMYK
    88 55 0 11
    On text
    3.36:1 AA large
    On white
    5.12:1 AA

    Background, border, text · .hds-search-gov-results button, .hds-button.hds-button-download

  • Dodger Blue

    HEX
    RGB
    HSL
    OKLCH
    CMYK
    84 45 0 0
    On text
    5.11:1 AA
    On white
    3.37:1 AA large

    Text, background, border · .countdown-item h3, .color-nasa-blue-tint

  • Red

    HEX
    RGB
    HSL
    OKLCH
    CMYK
    0 74 78 4
    On text
    4.70:1 AA
    On white
    3.67:1 AA large

    Background, graphic, text · .gform_fields .gfield-hds-multifile-uploads button, .hds-button.hds-button-primary

  • Midnight Blue

    HEX
    RGB
    HSL
    OKLCH
    CMYK
    73 43 0 68
    On text
    1.27:1 Fail
    On white
    13.60:1 AAA

    Text, background · .usa-nav__primary button[aria-expanded=true], .usa-prose>table th[data-sortable][aria-sort=descending] .usa-table__header__but

  • Fire Brick

    HEX
    RGB
    HSL
    OKLCH
    CMYK
    0 99 95 29
    On text
    2.46:1 Fail
    On white
    7.01:1 AAA

    Background, text, graphic · .color-nasa-red-shade, .color-nasa-red-shade-important

  • Royal Blue

    HEX
    RGB
    HSL
    OKLCH
    CMYK
    100 42 0 36
    On text
    2.56:1 Fail
    On white
    6.72:1 AA

    Text, background · .usa-nav__primary .usa-current::after, .usa-button

  • Light Slate Blue

    HEX
    RGB
    HSL
    OKLCH
    CMYK
    80 47 0 50
    On text
    1.79:1 Fail
    On white
    9.62:1 AAA

    Text, background · .usa-prose>table th[data-sortable][aria-sort=descending] .usa-table__header__but, .usa-prose>table th[data-sortable][aria-sort=ascending] .usa-table__header__butt

  • Medium Spring Green

    HEX
    RGB
    HSL
    OKLCH
    CMYK
    67 0 39 15
    On text
    9.54:1 AAA
    On white
    1.81:1 Fail

    Text, graphic, background · .color-active-green, .color-active-green-important

  • Deep Slate Blue

    HEX
    RGB
    HSL
    OKLCH
    CMYK
    92 58 0 43
    On text
    1.71:1 Fail
    On white
    10.04:1 AAA

    Text, background, graphic · .color-nasa-blue-shade, .color-nasa-blue-shade-important

  • Rebecca Purple

    HEX
    RGB
    HSL
    OKLCH
    CMYK
    41 73 0 44
    On text
    1.69:1 Fail
    On white
    10.18:1 AAA

    Text · .usa-nav__primary button:visited, .usa-prose>table th[data-sortable]:not([aria-sort]) .usa-table__header__button:v

  • Tomato

    HEX
    RGB
    HSL
    OKLCH
    CMYK
    0 64 68 0
    On text
    5.66:1 AA
    On white
    3.04:1 AA large

    Text, graphic · .color-nasa-red-tint, .color-nasa-red-tint-important

  • Deep Royal Blue

    HEX
    RGB
    HSL
    OKLCH
    CMYK
    60 27 0 51
    On text
    2.39:1 Fail
    On white
    7.20:1 AAA

    Text, background · .pum-theme-862809 .pum-title, .pum-theme-862809 .pum-content + .pum-close

Gradients

  • linear-gradient(transparent,transparent)

  • linear-gradient(65.99deg,#000,transparent 99.04%)

  • linear-gradient(65.99deg,#000 0,transparent 99.04%)

Back to top ↑

Typography

Faces from Google Fonts are shown in the real thing. Others are licensed to the site, so they show in your device’s copy if you have one, or a stand-in if not.

Public Sans Web

Aa 200 Aa 700

Public Sans Web

Self-hosted · weights 200, 300, 400, 700 · body, headings, buttons · shown in a stand-in if you don’t have it

Aa 200 Aa 700

Inter

Self-hosted · weights 200, 400, 600, 700 · headings, buttons · shown in a stand-in if you don’t have it

Aa 300 Aa 500

dm-mono

Self-hosted · weights 300, 400, 500 · headings · shown in a stand-in if you don’t have it

ABCDEFGHIJKLMNOPQRSTUVWXYZ
abcdefghijklmnopqrstuvwxyz
0123456789 ! ? & @ % $ – ’ “ ”

Type scale

From the site’s CSS
Heading 1 2em · 32 px / .95em inter

NASA

Heading 2 3rem · 48 px / .95em inter

NASA

Heading 3 3rem · 48 px / 1.2em weight 300 · dm-mono

NASA

Heading 4 .99rem · 16 px / 1.5em weight 200 · inter

NASA

Heading 5 .93rem · 15 px / 1.5em weight 200 · inter

NASA

Heading 6 .81rem · 13 px / 1.5em weight 200 · uppercase · inter

NASA

Body — Public Sans Web

NASA.gov brings you the latest news, images and videos from America's space agency, pioneering the future in space exploration, scientific …

Paragraph 1rem · 16 px / 1.65em Public Sans Web

NASA.gov brings you the latest news, images and videos from America's space agency, pioneering the future in space exploration, scientific …

Small 80%

NASA.gov brings you the latest news, images and videos from America's space agency, pioneering the future in space exploration, scientific …

Button 100% / 1.15 none

Get started

Link .9rem · 14 px / 1.2em weight 400 · inter

Read more about NASA

Sizes in use

Most common across the site
  • 48px6 rules
  • 32pxline 36px · 12 rules
  • 22pxline 1.8 · 16 rules
  • 18pxline 1.65em · 6 rules
  • 16pxline 1.4 · 28 rules
  • 15pxline 1em · 7 rules
  • 14pxline 1em · 20 rules
  • 12pxline 1.25rem · 14 rules

Back to top ↑

Elements

The main button and link as the site’s CSS draws them, and the corner radii and shadows it uses most.

Elements

Button

Get started

.gform_fields .gfield-hds-multifile-uploads button · #F64137

Corner radius

  • 50% · 13×
  • 2px · 7×
  • 1.4em · 4×
  • .25rem · 3×
  • 99rem · 3×
  • 100% · 2×

Shadows

  • 0px 0px 0px 0px rgba( 2, 2, 2, 0.00 )
  • 1px 1px 3px 0px rgba( 2, 2, 2, 0.23 )
  • 0px 0px 0px 0px rgba( 2, 2, 2, 0.23 )
  • 0

Back to top ↑

Layout

Breakpoints from the site’s media queries and the widths its content is held to, with how often each appears.

Grid

Breakpoints

480
576
640
768
800
1023
1024
1200

On a scale of 0 to 1440 px.

Content widths (max-width)

1400 px
1360 px
1100 px
1024 px
840 px
480 px

Back to top ↑

Notes

Plain checks on what was found. Worth fixing if you look after this site.

Notes

  • ● FineThe title is 4 characters, short enough to show in full in search results.
  • ▲ CheckThe description is 174 characters. Search results usually show about 160.
  • ▲ CheckBody text (#1B1B1B on #000000) has a contrast of 1.22:1, under the 4.5:1 WCAG asks for.

Back to top ↑

Questions

Quick answers, from the same capture as the rest of this guide.

Questions

What font does NASA use?
NASA’s website uses three typefaces: Public Sans Web (headings and body text), self-hosted; Inter, self-hosted; dm-mono, self-hosted.
What are NASA’s brand colours?
The main colours on nasa.gov are Light Royal Blue (#1C67E3), Dodger Blue (#288BFF), Red (#F64137), Midnight Blue (#162E51), Fire Brick (#B60109) and Royal Blue (#005EA2).
What colour is NASA’s text and background?
Body text is #1B1B1B on a #000000 background.
Where is NASA’s logo from?
The logo shown in this guide was found on nasa.gov’s homepage. For official logo files and usage rules, check NASA’s own brand or press page.
Is this NASA’s official style guide?
No. SiteStyleGuide made it from nasa.gov’s public web pages on 27 October 2026, and isn’t affiliated with NASA. Members can refresh a guide after 90 days to pick up changes.

Back to top ↑

Design tokens

Everything above as CSS variables, ready to paste into a project. Members can download the tokens as files for Figma (Tokens Studio), Style Dictionary and Tailwind.

Tokens

nasa-gov-tokens.css

Download

Free with an account: sign up or sign in, and you’ll come straight back here.

/* nasa.gov design tokens, from SiteStyleGuide (https://sitestyleguide.com/nasa.gov) */
:root {
  /* Colours */
  --text: #1B1B1B;
  --background: #000000;
  --colour-white: #FFFFFF;
  --colour-black: #000000;
  --colour-light-grey: #D1D1D1;
  --colour-cool-charcoal: #2E2E32;
  --colour-light-royal-blue: #1C67E3;
  --colour-dodger-blue: #288BFF;
  --colour-red: #F64137;
  --colour-midnight-blue: #162E51;
  --colour-fire-brick: #B60109;
  --colour-royal-blue: #005EA2;
  --colour-light-slate-blue: #1A4480;
  --colour-medium-spring-green: #47DA84;
  --colour-deep-slate-blue: #0B3D91;
  --colour-rebecca-purple: #54278F;
  --colour-tomato: #FF5C52;
  --colour-deep-royal-blue: #315B7C;
  --gradient-1: linear-gradient(transparent,transparent);
  --gradient-2: linear-gradient(65.99deg,#000,transparent 99.04%);
  --gradient-3: linear-gradient(65.99deg,#000 0,transparent 99.04%);

  /* Typefaces */
  --font-body: 'Public Sans Web', -apple-system, blinkmacsystemfont, 'Segoe UI', 'Roboto', 'Helvetica';
  --font-headings: 'Public Sans Web', -apple-system, blinkmacsystemfont, 'Segoe UI', 'Roboto', 'Helvetica';
  --font-buttons: 'Public Sans Web', -apple-system, blinkmacsystemfont, 'Segoe UI', 'Roboto', 'Helvetica';

  /* Type scale */
  --text-h1: 2em;
  --leading-h1: .95em;
  --text-h2: 3rem;
  --leading-h2: .95em;
  --text-h3: 3rem;
  --leading-h3: 1.2em;
  --text-h4: .99rem;
  --leading-h4: 1.5em;
  --text-h5: .93rem;
  --leading-h5: 1.5em;
  --text-h6: .81rem;
  --leading-h6: 1.5em;
  --text-p: 1rem;
  --leading-p: 1.65em;
  --text-small: 80%;
  --text-button: 100%;
  --leading-button: 1.15;
  --text-a: .9rem;
  --leading-a: 1.2em;

  /* Shape */
  --radius-1: 50%;
  --radius-2: 2px;
  --radius-3: 1.4em;
  --radius-4: .25rem;
  --radius-5: 99rem;
  --radius-6: 100%;

  /* Layout (breakpoints can’t be used in media queries as variables; they’re here for reference) */
  --breakpoint-1: 480px;
  --breakpoint-2: 576px;
  --breakpoint-3: 640px;
  --breakpoint-4: 768px;
  --breakpoint-5: 800px;
  --breakpoint-6: 1023px;
  --breakpoint-7: 1024px;
  --breakpoint-8: 1200px;
  --max-width-1: 1400px;
  --max-width-2: 1360px;
  --max-width-3: 1100px;
  --max-width-4: 1024px;
  --max-width-5: 840px;
  --max-width-6: 480px;
}

Back to top ↑

Share

Links open each service’s own share page. Nothing from them loads here.

Share

Run nasa.gov?

Add the badge to your site

Link to this guide from your own site, so your team, designers and agencies can find your colours and fonts in one place.

View our style guide on SiteStyleGuide
<a href="https://sitestyleguide.com/nasa.gov" title="NASA style guide on SiteStyleGuide"><img src="https://sitestyleguide.com/public/badge.svg" alt="View our style guide on SiteStyleGuide" width="200" height="44"></a>

Back to top ↑

Other websites using Public Sans Web as their main typeface
Websites whose lead colour is closest to NASA’s

Captured from nasa.gov on 27 October 2026. SiteStyleGuide isn’t affiliated with or endorsed by NASA; this guide describes the public website for reference.