Midnight Study Color Palette
#3A3228 · #5E5240 · #26201A · #8E8468
Use #3A3228 as the background. Use #5E5240 as the primary accent. Use #26201A as secondary. Use #8E8468 as body text/supporting color. Palette mood: Midnight Study — moody, night, vintage, mono.
Hex Codes, RGB & CMYK Color Values
Technical breakdown for the Midnight Study 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: 3.3% | 58, 50, 40 | 0%, 14%, 31%, 77% | 33°, 18%, 19% | ||
| Decorative / accent Luminance: 8.8% | 94, 82, 64 | 0%, 13%, 32%, 63% | 36°, 19%, 31% | ||
| Decorative / accent Luminance: 1.5% | 38, 32, 26 | 0%, 16%, 32%, 85% | 30°, 19%, 13% | ||
| Large text / UI Luminance: 23.3% | 142, 132, 104 | 0%, 7%, 27%, 44% | 44°, 15%, 48% |
Midnight Study 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 Midnight Study palette — click any swatch to copy its hex.
Midnight Study 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 |
|---|---|---|---|---|
| #8E8468 on #26201A |
Aa Sample Text
| 4.33:1 | Fail | Large headings, UI components |
| #26201A on #8E8468 |
Aa Sample Text
| 4.33:1 | Fail | Large headings, UI components |
| #8E8468 on #3A3228 |
Aa Sample Text
| 3.39:1 | Fail | Large headings, UI components |
| #3A3228 on #8E8468 |
Aa Sample Text
| 3.39:1 | Fail | Large headings, UI components |
| #26201A on #5E5240 |
Aa Sample Text
| 2.11:1 | Fail | Decorative use only |
| #5E5240 on #26201A |
Aa Sample Text
| 2.11:1 | Fail | Decorative use only |
| #8E8468 on #5E5240 |
Aa Sample Text
| 2.04:1 | Fail | Decorative use only |
| #5E5240 on #8E8468 |
Aa Sample Text
| 2.04:1 | Fail | Decorative use only |
| #5E5240 on #3A3228 |
Aa Sample Text
| 1.65:1 | Fail | Decorative use only |
| #3A3228 on #5E5240 |
Aa Sample Text
| 1.65:1 | Fail | Decorative use only |
| #26201A on #3A3228 |
Aa Sample Text
| 1.27:1 | Fail | Decorative use only |
| #3A3228 on #26201A |
Aa Sample Text
| 1.27:1 | Fail | Decorative use only |
Color Harmony: Analogous
The saturated colors span 14° around 36° (orange) — neighbouring hues, not distinct ones.
Neighbouring hues read as cohesive and give little contrast between slots; build hierarchy from the lightness ladder rather than from hue.
History & Design Context
Best Design Use Cases
Measured best pair: #8E8468 on #26201A at 4.33:1 (Fail). No pair reaches 4.5:1, so use this pair for large text and UI only; this palette has no body-safe text pair.
Colors That Pair Well With Midnight Study
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 #5E5240 on the wheel — the strongest accent for CTAs and highlights when you need maximum energy
30° beside #5E5240 — 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 Midnight Study Without Breaking Accessibility
- Avoid #5E5240 for small UI elements on #3A3228 — at 1.65:1 it misses the 3:1 WCAG threshold; darken it with a shade from the ramp below.
- Don't set body copy in #8E8468 on #3A3228 — 3.39:1 fails WCAG AA; keep it for large decorative headings only.
- Let #26201A carry sidebars, cards and footers — at a deep lightness it separates zones without stealing focus from #5E5240.
How to Implement the Midnight Study Color Scheme
To use this Midnight Study 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 {
/* Midnight Study — ihatecolors */
--color-bg: #3A3228;
--color-accent: #5E5240;
--color-secondary: #26201A;
--color-text: #8E8468;
} Web Design Tip
#5E5240 on #3A3228 measures 1.65: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
#8E8468 on #3A3228 measures 3.39:1 — enough for large text and UI components (3:1) but below the 4.5:1 needed for body copy.
Midnight Study Palette — Frequently Asked Questions
What are the hex codes in the Midnight Study color palette?
The Midnight Study palette contains #3A3228, #5E5240, #26201A, #8E8468. 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 Midnight Study color palette accessible (WCAG)?
For large text and UI components only. #8E8468 on #26201A reaches 4.33:1, which clears the 3:1 threshold for large text and UI but not the 4.5:1 needed for body copy. The full contrast matrix above shows the exact score for every color-on-color pair in this palette.
What colors go well with the Midnight Study palette?
Beyond its own four colors, #48566A, #555747, #EEEDEC 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 Midnight Study palette create?
Midnight Study reads as moody, night, vintage. Muted orange drives the personality, grounded by muted orange — a combination that works best when the deep base gets most of the canvas.
Can I use the Midnight Study color palette commercially?
Yes. Individual color values can't be copyrighted, so the Midnight Study 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 Midnight Study 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 Midnight Study's exact values, including the tint and shade ramps shown above.