SiteStyleGuide

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

The Library of Congress logo

Unofficial style guide

The Library of Congressstyle guide

The Library of Congress’s website (loc.gov) uses Open Sans for its headings and body text. Its palette is led by Light Steel Blue (#0076AD), Orange Red (#F05129) and Crimson (#D1332E), with #121212 text on #FFFFFF. Captured from the live site on 2 November 2026.

Website
loc.gov
Typefaces
Open Sans, Roboto Slab, Sharp Grotesk Book
Palette
4 neutrals, 12 colours, 3 gradients
Captured
2 Nov 2026 · added by @sitestyleguide
https://www.loc.gov/ Screenshot
Screenshot of the loc.gov homepage on a desktop screen
Screenshot of loc.gov on a 1440 px desktop screen, 2 Nov 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
Home | Library of Congress
● 26 / 60 characters
Meta description
The world's largest library. View historic photos, maps, books and more. Contact experts for help with research. Plan a visit. Home of U.S. Copyright Office.
● 157 / 160 characters
Site name
The Library of Congress
og:title
Home | Library of Congress
og:description
The world's largest library. View historic photos, maps, books and more. Contact experts for help with research. Plan a visit. Home of U.S. Copyright Office.
Language
en

In search results

The Library of Congresshttps://www.loc.gov/

Home | Library of Congress

The world's largest library. View historic photos, maps, books and more. Contact experts for help with research. Plan a visit. Home of U.S. Copyright Office.

When shared

The image The Library of Congress shares with links

loc.gov

Home | Library of Congress

The world's largest library. View historic photos, maps, books and more. Contact experts for help with resear…

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 (#121212) 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.4%
  • Black 12.1%
  • Near Black 10.7%
  • Light Steel Blue 9.6%
  • Orange Red 6.3%
  • Grey 4.9%
  • Crimson 4.3%
  • Forest Green 4%
  • Gold 3%
  • Deep Sky Blue 2.8%
  • Lemon Chiffon 0.7%
  • Deep Steel Blue 0.7%
  • Tomato 0.6%
  • Dark Green 0.6%
  • Brown 0.6%
  • Honey Dew 0.5%

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
    18.73:1 AAA
    On white
    —

    Background, text, border · --bs-btn-hover-color, --bs-btn-active-color

  • Black

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

    Text, background, graphic · --bs-btn-hover-color, --bs-btn-active-color

  • Near Black

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

    Text, background, border · body, .form-select

  • Grey

    HEX
    RGB
    HSL
    OKLCH
    CMYK
    0 0 0 50
    On text
    4.74:1 AA
    On white
    3.95:1 AA large

    Border, text, background · .form-select, .border-end

Colours

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

    HEX
    RGB
    HSL
    OKLCH
    CMYK
    100 32 0 32
    On text
    3.74:1 AA large
    On white
    5.01:1 AA

    Background, text, border · .page-navigation .nav-link.active, .strategy-framework > div > h3

  • Orange Red

    HEX
    RGB
    HSL
    OKLCH
    CMYK
    0 66 83 6
    On text
    5.28:1 AA
    On white
    3.55:1 AA large

    Text, border, graphic · .link-accent, .strategy-framework > div.primary > h2

  • Crimson

    HEX
    RGB
    HSL
    OKLCH
    CMYK
    0 76 78 18
    On text
    3.77:1 AA large
    On white
    4.97:1 AA

    Text, background, border · --bs-btn-border-color, --bs-btn-disabled-border-color

  • Forest Green

    HEX
    RGB
    HSL
    OKLCH
    CMYK
    76 0 58 47
    On text
    4.09:1 AA large
    On white
    4.58:1 AA

    Background, text, border · --bs-btn-border-color, --bs-btn-disabled-border-color

  • Gold

    HEX
    RGB
    HSL
    OKLCH
    CMYK
    0 18 100 2
    On text
    12.39:1 AAA
    On white
    1.51:1 Fail

    Background, text, graphic · --bs-btn-border-color, --bs-btn-disabled-border-color

  • Deep Sky Blue

    HEX
    RGB
    HSL
    OKLCH
    CMYK
    100 17 0 11
    On text
    8.38:1 AAA
    On white
    2.24:1 Fail

    Background, text, graphic · --bs-btn-border-color, --bs-btn-disabled-border-color

  • Lemon Chiffon

    HEX
    RGB
    HSL
    OKLCH
    CMYK
    0 4 20 0
    On text
    17.08:1 AAA
    On white
    1.10:1 Fail

    Background, border · .footnotes li:target, .bg-warning-subtle

  • Deep Steel Blue

    HEX
    RGB
    HSL
    OKLCH
    CMYK
    100 32 0 46
    On text
    2.65:1 Fail
    On white
    7.08:1 AAA

    Text, graphic · --bs-link-hover-color, --bs-btn-hover-border-color

  • Tomato

    HEX
    RGB
    HSL
    OKLCH
    CMYK
    0 52 65 5
    On text
    6.63:1 AA
    On white
    2.82:1 Fail

    Text, graphic · .link-accent:hover, --bs-btn-active-bg

  • Dark Green

    HEX
    RGB
    HSL
    OKLCH
    CMYK
    76 0 57 58
    On text
    2.88:1 Fail
    On white
    6.50:1 AA

    Text, graphic · --bs-btn-hover-border-color, --bs-btn-active-bg

  • Brown

    HEX
    RGB
    HSL
    OKLCH
    CMYK
    0 75 78 35
    On text
    2.66:1 Fail
    On white
    7.03:1 AAA

    Text, graphic · --bs-btn-hover-border-color, --bs-btn-active-bg

  • Honey Dew

    HEX
    RGB
    HSL
    OKLCH
    CMYK
    9 0 7 9
    On text
    14.44:1 AAA
    On white
    1.30:1 Fail

    Background · .bg-success-subtle, --bs-success-bg-subtle

Gradients

  • linear-gradient(#0000, #f6f6f6)

  • linear-gradient(#ffffff1a, #ffffff0d)

  • linear-gradient(#ebeff2, #e2e8f0)

Dark mode

Switched on by the site
Aa Light · #121212 on #FFFFFF
Aa Dark · #EFEFEF on #121212 · 16.29:1 AAA
  • White

    #FFFFFF · --bs-emphasis-color

  • Off White

    #EFEFEF · --bs-body-color

  • Near Black

    #242424 · --bs-secondary-bg

  • Dark Sea Green

    #7AB788 · --bs-success-text-emphasis

  • Light Coral

    #E38582 · --bs-danger-text-emphasis

  • Near Black

    #121212 · --bs-body-bg

  • Deep Sky Blue

    #66ADCE · --bs-primary-text-emphasis

  • Dark Grey

    #545454 · --bs-light-border-subtle

  • Black

    #000000

  • Grey

    #989898 · --bs-secondary-text-emphasis

  • Sky Blue

    #66D7EE · --bs-info-text-emphasis

  • Khaki

    #FCE266 · --bs-warning-text-emphasis

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.

Open Sans

Aa 400 Aa 700

Open Sans

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

Aa 400 Aa 700

Roboto Slab

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

Aa 400

Sharp Grotesk Book

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

Aa 400 Aa 700

Sharp Grotesk Semi Bold

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

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

Type scale

From the site’s CSS
Heading 1 calc(1.35rem + 1.2vw) / 1.2 weight 700 · Roboto Slab

The Library of Congress

Heading 2 calc(1.275rem + .3vw) / 1.2 weight 700

Home | Library of Congress

Heading 3 1.25rem · 20 px / 1.2 weight 700

Home | Library of Congress

Heading 4 1.125rem · 18 px / 1.2 weight 700

Home | Library of Congress

Heading 5 1rem · 16 px / 1.2 weight 700

Home | Library of Congress

Heading 6 1rem · 16 px / 1.2 weight 700

Home | Library of Congress

Body 1rem · 16 px / 1.5 weight 400 · Open Sans

The world's largest library. View historic photos, maps, books and more. Contact experts for help with research. Plan a visit. Home of U.S.…

Paragraph 1rem · 16 px / 1.5

The world's largest library. View historic photos, maps, books and more. Contact experts for help with research. Plan a visit. Home of U.S.…

Small .875em · 14 px

The world's largest library. View historic photos, maps, books and more. Contact experts for help with research. Plan a visit. Home of U.S.…

Button / weight · none

Get started

Link 1rem · 16 px / weight 700

Read more about The Library of Congress

Sizes in use

Most common across the site
  • 32pxline 0.03125em · 5 rules
  • 24pxline 0.04167em · 3 rules
  • 20pxline inherit · 15 rules
  • 18pxline 1.2 · 6 rules
  • 16pxline 1.5 · 36 rules
  • 14pxline 1.3 · 27 rules
  • 13pxline 1.3 · 4 rules
  • 10pxline .625rem · 4 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

Link

Read our latest news today.

a · #0076AD

Corner radius

  • .375rem · 15×
  • 50% · 9×
  • .125rem · 6×
  • .25rem · 5×
  • 1rem · 5×

Shadows

  • 0 0 0 .25rem #0076ad40
  • 0 0 0 .25rem rgba(33, 135, 57, .25)
  • 0 0 0 .25rem rgba(209, 51, 46, .25)

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

Content widths (max-width)

1140 px
960 px
720 px
540 px
450 px
350 px

Back to top ↑

Notes

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

Notes

  • ● FineThe title is 26 characters, short enough to show in full in search results.

Back to top ↑

Questions

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

Questions

What font does The Library of Congress use?
The Library of Congress’s website uses four typefaces: Open Sans (headings and body text), self-hosted; Roboto Slab, self-hosted; Sharp Grotesk Book, self-hosted; Sharp Grotesk Semi Bold, self-hosted.
What are The Library of Congress’s brand colours?
The main colours on loc.gov are Light Steel Blue (#0076AD), Orange Red (#F05129), Crimson (#D1332E), Forest Green (#218739), Gold (#FACE00) and Deep Sky Blue (#00BDE3).
What colour is The Library of Congress’s text and background?
Body text is #121212 on a #FFFFFF background.
Where is The Library of Congress’s logo from?
The logo shown in this guide was found on loc.gov’s homepage. For official logo files and usage rules, check The Library of Congress’s own brand or press page.
Is this The Library of Congress’s official style guide?
No. SiteStyleGuide made it from loc.gov’s public web pages on 2 November 2026, and isn’t affiliated with The Library of Congress. 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

loc-gov-tokens.css

Download

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

/* loc.gov design tokens, from SiteStyleGuide (https://sitestyleguide.com/loc.gov) */
:root {
  /* Colours */
  --text: #121212;
  --background: #FFFFFF;
  --colour-white: #FFFFFF;
  --colour-black: #000000;
  --colour-near-black: #121212;
  --colour-grey: #808080;
  --colour-light-steel-blue: #0076AD;
  --colour-orange-red: #F05129;
  --colour-crimson: #D1332E;
  --colour-forest-green: #218739;
  --colour-gold: #FACE00;
  --colour-deep-sky-blue: #00BDE3;
  --colour-lemon-chiffon: #FEF5CC;
  --colour-deep-steel-blue: #005E8A;
  --colour-tomato: #F37454;
  --colour-dark-green: #1A6C2E;
  --colour-brown: #A72925;
  --colour-honey-dew: #D3E7D7;
  --gradient-1: linear-gradient(#0000, #f6f6f6);
  --gradient-2: linear-gradient(#ffffff1a, #ffffff0d);
  --gradient-3: linear-gradient(#ebeff2, #e2e8f0);

  /* Typefaces */
  --font-headings: 'Open Sans', 'Arial', 'Helvetica', sans-serif;
  --font-body: 'Open Sans', 'Arial', 'Helvetica', sans-serif;
  --font-other: 'Sharp Grotesk Light', 'Arial', 'Helvetica', sans-serif;

  /* Type scale */
  --text-h1: calc(1.35rem + 1.2vw);
  --leading-h1: 1.2;
  --text-h2: calc(1.275rem + .3vw);
  --leading-h2: 1.2;
  --text-h3: 1.25rem;
  --leading-h3: 1.2;
  --text-h4: 1.125rem;
  --leading-h4: 1.2;
  --text-h5: 1rem;
  --leading-h5: 1.2;
  --text-h6: 1rem;
  --leading-h6: 1.2;
  --text-body: 1rem;
  --leading-body: 1.5;
  --text-p: 1rem;
  --leading-p: 1.5;
  --text-small: .875em;
  --text-a: 1rem;

  /* Shape */
  --radius-1: .375rem;
  --radius-2: 50%;
  --radius-3: .125rem;
  --radius-4: .25rem;
  --radius-5: 1rem;
}

Back to top ↑

Share

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

Share

Run loc.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/loc.gov" title="The Library of Congress 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 Open Sans as their main typeface
Websites whose lead colour is closest to The Library of Congress’s

Captured from loc.gov on 2 November 2026. SiteStyleGuide isn’t affiliated with or endorsed by The Library of Congress; this guide describes the public website for reference.