Desert Stars Color Palette
#141832 · #2E3458 · #C8C8D8 · #060810
Use #141832 as the background. Use #2E3458 as the primary accent. Use #C8C8D8 as secondary. Use #060810 as body text/supporting color. Palette mood: Desert Stars — night, cool, moody, sunset.
Hex Codes, RGB & CMYK Color Values
Technical breakdown for the Desert Stars 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: 1.0% | 20, 24, 50 | 60%, 52%, 0%, 80% | 232°, 43%, 14% | ||
| Decorative / accent Luminance: 3.7% | 46, 52, 88 | 48%, 41%, 0%, 65% | 231°, 31%, 26% | ||
| Text · AAA Luminance: 58.5% | 200, 200, 216 | 7%, 7%, 0%, 15% | 240°, 17%, 82% | ||
| Decorative / accent Luminance: 0.2% | 6, 8, 16 | 62%, 50%, 0%, 94% | 228°, 45%, 4% |
Desert Stars 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 Desert Stars palette — click any swatch to copy its hex.
Desert Stars 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 |
|---|---|---|---|---|
| #060810 on #C8C8D8 |
Aa Sample Text
| 12.10:1 | AAA | Body text, headings, UI |
| #C8C8D8 on #060810 |
Aa Sample Text
| 12.10:1 | AAA | Body text, headings, UI |
| #C8C8D8 on #141832 |
Aa Sample Text
| 10.53:1 | AAA | Body text, headings, UI |
| #141832 on #C8C8D8 |
Aa Sample Text
| 10.53:1 | AAA | Body text, headings, UI |
| #C8C8D8 on #2E3458 |
Aa Sample Text
| 7.26:1 | AAA | Body text, headings, UI |
| #2E3458 on #C8C8D8 |
Aa Sample Text
| 7.26:1 | AAA | Body text, headings, UI |
| #060810 on #2E3458 |
Aa Sample Text
| 1.66:1 | Fail | Decorative use only |
| #2E3458 on #060810 |
Aa Sample Text
| 1.66:1 | Fail | Decorative use only |
| #2E3458 on #141832 |
Aa Sample Text
| 1.44:1 | Fail | Decorative use only |
| #141832 on #2E3458 |
Aa Sample Text
| 1.44:1 | Fail | Decorative use only |
| #060810 on #141832 |
Aa Sample Text
| 1.14:1 | Fail | Decorative use only |
| #141832 on #060810 |
Aa Sample Text
| 1.14:1 | Fail | Decorative use only |
Color Harmony: Monochromatic
4 of 4 colors sit at essentially the same hue (233°, blue); the palette varies them by lightness and saturation rather than hue.
Single-hue palettes are the easiest to keep consistent, but neighbouring slots can look flat — separate them with lightness steps of at least 15%.
History & Design Context
Best Design Use Cases
Measured best pair: #060810 on #C8C8D8 at 12.10: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 Desert Stars
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 #2E3458 on the wheel — the strongest accent for CTAs and highlights when you need maximum energy
30° beside #2E3458 — 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 Desert Stars Without Breaking Accessibility
- Avoid #2E3458 for small UI elements on #141832 — at 1.44:1 it misses the 3:1 WCAG threshold; darken it with a shade from the ramp below.
- Don't set body copy in #060810 on #141832 — 1.14:1 fails WCAG AA; keep it for large decorative headings only.
- Don't use #C8C8D8 behind body text — this light tone works better for surfaces, badges and dividers than for reading areas.
How to Implement the Desert Stars Color Scheme
To use this Desert Stars 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 {
/* Desert Stars — ihatecolors */
--color-bg: #141832;
--color-accent: #2E3458;
--color-secondary: #C8C8D8;
--color-text: #060810;
} Web Design Tip
#2E3458 on #141832 measures 1.44:1 — the two are nearly indistinguishable, so this pair cannot separate a control from the page. Pick a different slot for actions, or use the darkest shade in the ramp.
Accessibility Note
#060810 on #141832 measures 1.14:1, which fails every WCAG text threshold. The strongest pair in this palette is #060810 on #C8C8D8 at 12.10:1 — use that pair for normal text instead.
Desert Stars Palette — Frequently Asked Questions
What are the hex codes in the Desert Stars color palette?
The Desert Stars palette contains #141832, #2E3458, #C8C8D8, #060810. 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 Desert Stars color palette accessible (WCAG)?
Yes. #060810 on #C8C8D8 reaches 12.10: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 Desert Stars palette?
Beyond its own four colors, #756D3E, #3E3450, #EBECEF 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 Desert Stars palette create?
Desert Stars reads as night, cool, moody. Gently 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 Desert Stars color palette commercially?
Yes. Individual color values can't be copyrighted, so the Desert Stars 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 Desert Stars 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 Desert Stars's exact values, including the tint and shade ramps shown above.