messenger.com · set in Calibre
SaveUnofficial A style guide made by SiteStyleGuide from casper.com’s public web pages. Not affiliated with or endorsed by Casper Sleep. The real site is casper.com ↗
Unofficial style guide
Casper Sleep’s website (casper.com) uses Calibre for its headings and body text. Its palette is led by Light Midnight Blue (#1E306E), Light Royal Blue (#526699) and Teal (#00706E), with #1E306E text on #FFFFFF. Captured from the live site on 26 October 2026.
Identity & metadata
What browsers, search engines and social cards show before anyone reaches the page, from the homepage’s <head>.
In search results
The Best Bed for Better Sleep | Casper Online Mattress Store
Discover award-winning mattresses built for cooler, deeper sleep and lasting support. Shop Casper with free shipping & returns.
When shared
casper.com
The Best Bed for Better Sleep | Casper Online Mattress Store
Discover award-winning mattresses built for cooler, deeper sleep and lasting support. Shop Casper with free s…
Logo & favicons
Found as: schema.org logo. PNG, 5760 × 1956.
On white
On black
On Light Midnight Blue
Light browser tab
Dark browser tab
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 (#1E306E) and white, using WCAG 2 ratios: 4.5 for body text, 3 for large text.
By how often each colour appears in the site’s CSS, weighted by where (body, headings, buttons), not by area on the screen.
Background, text, border · #shopify-section-template--29702674940270__instant_4hw_weg_qsfx6rxa_qc_FTTtCa .i, body
Background, border · .cart-upsell-container .upsell-item, .product-info-accordion__content
Text, graphic · p.article-title, .blog-title-container .prose
Text, background · .ugc-modal__shop-subtitle, .ugc-modal__shop-product-subtitle *
Text, background, border · inline style on <span>, #shopify-section-template--29702674940270__hero_promo_banner_JFpUJJ [data-block-
Text, background, border · button.add-accident-protection-btn, inline style on <span>
Text, background · .banner--custom-success, .cart-upsell-container .upsell-badge
Background, text · .mobile-nav-action-buttons .button--primary, .progress-bar:before
Text, background · .free-gift-purchase__badge, .on-sale-facet-label
Text, border · .what-is-comp-value, .product-info__block-item[data-block-type=associated-products] scroll-carousel p
Background · inline style on <span>, .cart-upsell-container .upsell-item
Background · .cart-complement-header, .free-gift-promo__card
Background · inline style on <span>
Background · .mobile-nav-action-buttons .button--secondary
Text · .text-error, .text-danger
Background · inline style on <span>
linear-gradient(to right,currentColor,currentColor) 0 min(100%,1.35em)
linear-gradient(to right,currentColor,currentColor) 0 min(100%,1.2lh)
linear-gradient(#fff, #fff)
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.
Calibre
Served from cdn.shopify.com · weights 300, 400, 500, 600, 700 · headings, buttons · shown in a stand-in if you don’t have it
NewKansas-Medium
Served from cdn.shopify.com · weights 400, 500 · headings · shown in a stand-in if you don’t have it
NewKansas-SemiBold
Served from cdn.shopify.com · weights 600 · headings · shown in a stand-in if you don’t have it
New Kansas TRIAL
Served from cdn.shopify.com · weights 500 · shown in a stand-in if you don’t have it
ABCDEFGHIJKLMNOPQRSTUVWXYZ
abcdefghijklmnopqrstuvwxyz
0123456789 ! ? & @ % $ – ’ “ ”
Casper Sleep
The Best Bed for Better Sleep | Casper Online M…
The Best Bed for Better Sleep | Casper Online M…
The Best Bed for Better Sleep | Casper Online M…
The Best Bed for Better Sleep | Casper Online M…
The Best Bed for Better Sleep | Casper Online M…
Discover award-winning mattresses built for cooler, deeper sleep and lasting support. Shop Casper with free shipping & returns.
Discover award-winning mattresses built for cooler, deeper sleep and lasting support. Shop Casper with free shipping & returns.
Get started
Read more about Casper Sleep
Elements
The main button and link as the site’s CSS draws them, and the corner radii and shadows it uses most.
Corner radius
Shadows
Layout
Breakpoints from the site’s media queries and the widths its content is held to, with how often each appears.
Breakpoints
On a scale of 0 to 1440 px.
Content widths (max-width)
Notes
Plain checks on what was found. Worth fixing if you look after this site.
Questions
Quick answers, from the same capture as the rest of this guide.
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.
/* casper.com design tokens, from SiteStyleGuide (https://sitestyleguide.com/casper.com) */
:root {
/* Colours */
--text: #1E306E;
--background: #FFFFFF;
--colour-white: #FFFFFF;
--colour-cool-off-white: #F5F7FD;
--colour-near-black: #151515;
--colour-black: #000000;
--colour-light-midnight-blue: #1E306E;
--colour-light-royal-blue: #526699;
--colour-teal: #00706E;
--colour-deep-midnight-blue: #012169;
--colour-fire-brick: #CB372A;
--colour-slate-blue: #5F6A91;
--colour-light-sky-blue: #8FC0E4;
--colour-steel-blue: #4977BB;
--colour-khaki: #F3D26A;
--colour-deep-royal-blue: #3C619E;
--colour-brown: #AA2826;
--colour-honey-dew: #CFECD7;
--gradient-1: linear-gradient(to right,currentColor,currentColor) 0 min(100%,1.35em);
--gradient-2: linear-gradient(to right,currentColor,currentColor) 0 min(100%,1.2lh);
--gradient-3: linear-gradient(#fff, #fff);
/* Typefaces */
--font-headings: 'Calibre';
--font-buttons: 'Calibre';
--font-other: 'New Kansas TRIAL';
/* Type scale */
--text-h1: 1.5rem;
--leading-h1: 1.5rem;
--text-h2: 32px;
--leading-h2: 28px;
--text-h3: 18px;
--leading-h3: 48.4px;
--text-h4: 22px;
--leading-h4: 30.8px;
--text-body: 1.0rem;
--leading-body: 1.6;
--text-p: 1.0rem;
--leading-p: 26px;
--text-button: 100%;
--text-a: 1.125rem;
--leading-a: 1.75rem;
/* Shape */
--radius-1: 9999px;
--radius-2: 4px;
--radius-3: inherit;
--radius-4: 8px;
--radius-5: 12px;
--radius-6: 2.0rem;
/* Layout (breakpoints can’t be used in media queries as variables; they’re here for reference) */
--breakpoint-1: 700px;
--breakpoint-2: 767px;
--breakpoint-3: 768px;
--breakpoint-4: 1000px;
--breakpoint-5: 1023px;
--breakpoint-6: 1024px;
--breakpoint-7: 1150px;
--breakpoint-8: 1400px;
--max-width-1: 1350px;
--max-width-2: 1024px;
--max-width-3: 500px;
--max-width-4: 340px;
--max-width-5: 337px;
--max-width-6: 300px;
}
{
"site": "casper.com",
"source": "https://sitestyleguide.com/casper.com",
"text": "#1E306E",
"background": "#FFFFFF",
"colours": [
{
"name": "White",
"hex": "#FFFFFF",
"rgb": [
255,
255,
255
]
},
{
"name": "Cool Off White",
"hex": "#F5F7FD",
"rgb": [
245,
247,
253
]
},
{
"name": "Near Black",
"hex": "#151515",
"rgb": [
21,
21,
21
]
},
{
"name": "Black",
"hex": "#000000",
"rgb": [
0,
0,
0
]
},
{
"name": "Light Midnight Blue",
"hex": "#1E306E",
"rgb": [
30,
48,
110
]
},
{
"name": "Light Royal Blue",
"hex": "#526699",
"rgb": [
82,
102,
153
]
},
{
"name": "Teal",
"hex": "#00706E",
"rgb": [
0,
112,
110
]
},
{
"name": "Deep Midnight Blue",
"hex": "#012169",
"rgb": [
1,
33,
105
]
},
{
"name": "Fire Brick",
"hex": "#CB372A",
"rgb": [
203,
55,
42
]
},
{
"name": "Slate Blue",
"hex": "#5F6A91",
"rgb": [
95,
106,
145
]
},
{
"name": "Light Sky Blue",
"hex": "#8FC0E4",
"rgb": [
143,
192,
228
]
},
{
"name": "Steel Blue",
"hex": "#4977BB",
"rgb": [
73,
119,
187
]
},
{
"name": "Khaki",
"hex": "#F3D26A",
"rgb": [
243,
210,
106
]
},
{
"name": "Deep Royal Blue",
"hex": "#3C619E",
"rgb": [
60,
97,
158
]
},
{
"name": "Brown",
"hex": "#AA2826",
"rgb": [
170,
40,
38
]
},
{
"name": "Honey Dew",
"hex": "#CFECD7",
"rgb": [
207,
236,
215
]
}
],
"fonts": [
{
"name": "Calibre",
"stack": "Calibre",
"weights": [
300,
400,
500,
600,
700
],
"source": "Served from cdn.shopify.com"
},
{
"name": "NewKansas-Medium",
"stack": "NewKansas-Medium, sans-serif",
"weights": [
400,
500
],
"source": "Served from cdn.shopify.com"
},
{
"name": "NewKansas-SemiBold",
"stack": "NewKansas-SemiBold, sans-serif",
"weights": [
600
],
"source": "Served from cdn.shopify.com"
},
{
"name": "New Kansas TRIAL",
"stack": "\"New Kansas TRIAL\"",
"weights": [
500
],
"source": "Served from cdn.shopify.com"
},
{
"name": "Copyright Klim Type Foundry-Not Licensed for Desktop Use",
"stack": "\"Copyright Klim Type Foundry-Not Licensed for Desktop Use\"",
"weights": [
400
],
"source": "Served from cdn.shopify.com"
},
{
"name": "New Kansas Swash TRIAL",
"stack": "\"New Kansas Swash TRIAL\"",
"weights": [
500
],
"source": "Served from cdn.shopify.com"
}
]
}
nodejs.org · 2 days ago
Save
salesforce.com · 5 days ago
Save
prnt.sc · 5 days ago
Save
gameforge.com · 15 hours ago
SaveCaptured from casper.com on 26 October 2026. SiteStyleGuide isn’t affiliated with or endorsed by Casper Sleep; this guide describes the public website for reference.
Analytics cookies
We’d like to use Google Analytics cookies to count visits and see which pages are useful. Nothing is used for advertising.