Skip to content
#DCE4F2
#3E5A8C
#1A2646
#060A18
Background
Text · AA
Text · AAA
Text · AAA

Starfield Color Palette

#DCE4F2 · #3E5A8C · #1A2646 · #060A18

AAA
WCAG Grade
15.42:1
Contrast Ratio
AI Prompt

Use #DCE4F2 as the background. Use #3E5A8C as the primary accent. Use #1A2646 as secondary. Use #060A18 as body text/supporting color. Palette mood: Starfield — night, cool, moody, ocean.

Hex Codes, RGB & CMYK Color Values

Technical breakdown for the Starfield 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: 77.1%
220, 228, 242 9%, 6%, 0%, 5% 218°, 46%, 91%
Text · AA
Luminance: 10.2%
62, 90, 140 56%, 36%, 0%, 45% 218°, 39%, 40%
Text · AAA
Luminance: 2.0%
26, 38, 70 63%, 46%, 0%, 73% 224°, 46%, 19%
Text · AAA
Luminance: 0.3%
6, 10, 24 75%, 58%, 0%, 91% 227°, 60%, 6%

Starfield 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 Starfield palette — click any swatch to copy its hex.

#DCE4F2 gently saturated blue
#3E5A8C gently saturated blue
#1A2646 gently saturated blue
#060A18 gently saturated blue

Starfield 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
#060A18 on #DCE4F2
Aa Sample Text
15.42:1 AAA Body text, headings, UI
#DCE4F2 on #060A18
Aa Sample Text
15.42:1 AAA Body text, headings, UI
#1A2646 on #DCE4F2
Aa Sample Text
11.65:1 AAA Body text, headings, UI
#DCE4F2 on #1A2646
Aa Sample Text
11.65:1 AAA Body text, headings, UI
#3E5A8C on #DCE4F2
Aa Sample Text
5.39:1 AA Body text, UI
#DCE4F2 on #3E5A8C
Aa Sample Text
5.39:1 AA Body text, UI
#060A18 on #3E5A8C
Aa Sample Text
2.86:1 Fail Decorative use only
#3E5A8C on #060A18
Aa Sample Text
2.86:1 Fail Decorative use only
#1A2646 on #3E5A8C
Aa Sample Text
2.16:1 Fail Decorative use only
#3E5A8C on #1A2646
Aa Sample Text
2.16:1 Fail Decorative use only
#060A18 on #1A2646
Aa Sample Text
1.32:1 Fail Decorative use only
#1A2646 on #060A18
Aa Sample Text
1.32:1 Fail Decorative use only

Palette Details

A starfield is mostly black with pale points of light, and the brightest stars all sit in slightly different colours. All four colors are balanced (39–60%), with lightness running 6–91%. Body text #060A18 on #DCE4F2 measures 15.42:1 (AAA for normal text); the accent #3E5A8C measures 5.39:1 against the same background.

Color Harmony: Monochromatic

4 of 4 colors sit at essentially the same hue (222°, blue); the palette varies them by lightness and saturation rather than hue.

Hue Wheel

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

Stars vary in colour with their surface temperature, from blue-white at over 10,000 kelvin to orange-red at around 3,000; the eye perceives most of them as white because the colour response is poor in dim light.

Best Design Use Cases

Use the starlight for large surfaces, night blue for links and buttons, deep sky for fine details, and space black for text.

Measured best pair: #060A18 on #DCE4F2 at 15.42:1 (AAA). Use this pair for paragraph copy; the surface roles above are not body-text prescriptions.

Industries This Palette Suits

Startups & SaaS, Retail & E-commerce, Food & Beverage, Fashion, Agencies & Services, Non-profits.

Colors That Pair Well With Starfield

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.

orange

directly opposite #3E5A8C on the wheel — the strongest accent for CTAs and highlights when you need maximum energy

blue

30° beside #3E5A8C — a calm secondary that extends the palette without adding tension

tinted neutral

an ink-black carrying the palette's own hue — perfect for surfaces and dividers

Using Starfield Without Breaking Accessibility

  • Use #3E5A8C for buttons and links — it scores 5.39:1 against the #DCE4F2 background (above the 3:1 UI-components threshold).
  • Set body text in #060A18 — 15.42:1 against #DCE4F2 passes WCAG AA (AAA) for long-form reading.
  • Let #1A2646 carry sidebars, cards and footers — at a deep lightness it separates zones without stealing focus from #3E5A8C.

How to Implement the Starfield Color Scheme

To use this Starfield 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 {
  /* Starfield — ihatecolors */
  --color-bg: #DCE4F2;
  --color-accent: #3E5A8C;
  --color-secondary: #1A2646;
  --color-text: #060A18;
}

Web Design Tip

Use #DCE4F2 as the page background and #3E5A8C for primary buttons — they measure 5.39:1, which clears both the 3:1 UI threshold and the 4.5:1 body-text threshold.

Accessibility Note

Body copy in #060A18 on #DCE4F2 measures 15.42:1, which passes WCAG AAA for normal text.

Starfield Palette — Frequently Asked Questions

What are the hex codes in the Starfield color palette?

The Starfield palette contains #DCE4F2, #3E5A8C, #1A2646, #060A18. 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 Starfield color palette accessible (WCAG)?

Yes. #060A18 on #DCE4F2 reaches 15.42: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 Starfield palette?

Beyond its own four colors, #8E713E, #504884, #121417 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 Starfield palette create?

Starfield reads as night, cool, moody. Gently saturated blue drives the personality, grounded by gently saturated blue — a combination that works best when the very light base gets most of the canvas.

Can I use the Starfield color palette commercially?

Yes. Individual color values can't be copyrighted, so the Starfield 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 Starfield 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 Starfield's exact values, including the tint and shade ramps shown above.

Live Preview
Generate Similar ✦