#DCE4F2
#3E5A8C
#1A2646
#060A18
Background
Primary Accent
Secondary
Body Text

Starfield Color Palette

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

AAA
WCAG Grade
15.4:1
Contrast Ratio
783
Saves
2,211
AI Copies
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%
Primary Accent
Luminance: 10.2%
62, 90, 140 56%, 36%, 0%, 45% 218°, 39%, 40%
Secondary
Luminance: 2.0%
26, 38, 70 63%, 46%, 0%, 73% 224°, 46%, 19%
Body Text
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.43:1 AAA Body text, headings, UI
#DCE4F2 on #060A18
Aa Sample Text
15.43: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

Starfield Color Psychology & Meaning

A starfield is mostly black with pale points of light, and the brightest stars all sit in slightly different colours, and this palette is starlight with deep sky. It feels vast and quiet, the color of a sky with more depth than it should have.

Color Harmony: Analogous Scheme

The Starfield palette is built using a analogous relationship between its hues. This ensures that even with high-contrast accents, the overall scheme feels balanced and intentional.

Hue Wheel

A analogous palette is often preferred by professional designers because it creates a calm, serene atmosphere by using neighboring colors.

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.

Industries This Palette Suits

Astronomy and space education, nightlife, premium audio.

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

a 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.4:1 against the #DCE4F2 background (above the 3:1 UI-components threshold).
  • Set body text in #060A18 — 15.4: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, you can copy the following CSS variables or Tailwind CSS configuration. These roles ensure your UI maintains accessibility and visual hierarchy.

Option 1: CSS Variables

:root { 
  /* {name} Palette - ihatecolors.com */{'
'}  --color-bg: {colors[0]};{'
'}  --color-primary: {colors[1]};{'
'}  --color-secondary: {colors[2]};{'
'}  --color-text: {colors[3]};{'
'} {'}'}

Web Design Tip

Use #DCE4F2 for the main background and #3E5A8C for primary buttons. This creates a high-contrast focal point.

Accessibility Note

The contrast ratio between #060A18 and #DCE4F2 is 15.43:1 (AAA). Ensure your body text remains legible.

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 for its strongest pairings: #060A18 on #DCE4F2 reaches 15.4:1 (AAA). For body text always keep a 4.5:1 ratio and for large UI elements 3:1 — the full contrast matrix above shows the exact score for every color-on-color combination 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.

Similar Palettes

Live Preview
Generate Similar ✦
Skip to content