Blue color palettes: 10 combinations with codes for websites and interfaces

What blue goes with, a ready shade scale and ten palettes with roles, HEX / RGB / HSL / OKLCH codes and contrast checks.

Color palettes Updated 10 palettes

In short

Blue works best with white and warm neutrals (sand, beige, light warm gray), with navy and graphite when you need it strict, and with coral, orange or yellow when you need an accent — those sit opposite blue on the color wheel. In an interface, keep blue for the accent on about 10% of the screen, and hold the background near-white or, in a dark theme, a deep blue-black. Below: a shade scale, seven proven pairings and ten ready palettes with codes and contrast.

Shades of blue: names and codes

Light blue is the upper part of the blue family — from icy tints to azure; navy and cobalt sit at the bottom. These are the named shades you meet most often in interfaces. Where a shade has a CSS keyword, it is shown too: you can type it straight into a style sheet.

  • Alice blue

    Page backgrounds: white with a cold cast

  • Powder blue

    Soft surfaces, pastel brands

  • Sky blue

    Illustrations and tags, never text on white

  • Light blue

    The classic light blue: accents on dark backgrounds

  • Cornflower

    A friendly accent with a violet tint

  • Azure

    Bright calls to action, charts

  • Dodger blue

    Links and focus rings on dark themes

  • Steel blue

    Calm, technical interfaces

  • Royal blue

    Confident buttons with white text

  • Denim

    Primary color for fintech and SaaS

  • Cobalt

    Headings and strict corporate accents

  • Midnight blue

    Dark backgrounds and text instead of black

A blue scale for a design system

Eleven steps from 50 to 950, built in OKLCH: the steps are even in perceived lightness, so the scale behaves predictably in both themes. The numbers under each step are its contrast with white and with black — for body text on white, take 700 and darker.

  1. #F0F8FF □ 1.1■ 19.6
  2. #DFEFFE □ 1.2■ 17.9
  3. #C0E1FE □ 1.4■ 15.4
  4. #95CEFE □ 1.7■ 12.5
  5. #61B7FC □ 2.2■ 9.7
  6. #379EE9 □ 2.9■ 7.2
  7. #1782C8 □ 4.1■ 5.1
  8. #0F68A2 □ 6.0■ 3.5
  9. #11507B □ 8.5■ 2.5
  10. #0F3857 □ 12.2■ 1.7
  11. #072135 □ 16.4■ 1.3

□ — contrast with white · ■ — with black. Text needs 4.5 and above

What goes with blue: 7 proven pairings

A pairing holds on contrast of one kind: lightness, temperature or position on the color wheel. Each pair below works on one of these.

  • White and cool gray

    The safest pair: clean and airy. Blue is the only color here, so it becomes the accent by itself. Good for medicine, SaaS and services where clarity matters.

  • Navy

    Monochrome: one hue at different lightness. Looks composed and expensive, but needs a warm neutral or a bright accent, or the palette turns gloomy.

  • Coral and orange

    Opposites on the color wheel: blue calms, coral pulls the eye. Keep coral for the main action only — 5–10% of the screen.

  • Yellow and lime

    An energetic pair for tech and young products. Yellow on white does not read as text (1.4:1) — use it for badges, highlights and illustrations.

  • Sand and beige

    The warmth of sand balances the cold of blue: calm, but not sterile. Works for travel, interiors and wellness.

  • Graphite

    A strict technical pair: graphite carries text and structure, blue marks what is interactive. A classic of developer tools.

  • Teal and mint

    Neighbors on the color wheel: soft and fresh. To keep them apart, separate them by lightness.

10 ready-made blue palettes with codes

Every color has a role: the page background, card surfaces, text, the main accent for buttons and a second one for tags and highlights. Click a swatch to copy its code; the CSS button copies all variables at once; the card can be saved as an image. Contrast is checked by WCAG: AA is the norm for text, AAA is with margin.

01 / 10

Ice minimal

light · cool · calm

  • Background
  • Surface
  • Text
  • Accent
  • Second accent
  • Text on background 15.0:1AAA
  • Text on surface 16.2:1AAA
  • Button label 5.4:1AA
  • Tag label 11.1:1AAA

When to use SaaS, dashboards, clinics — anywhere order and clarity sell.

Tip Keep the pale #BFD9EC off text: it is for tags, highlights and active table rows.

All codes: RGB, HSL, OKLCH
RoleHEXRGBHSLOKLCH
Background
Surface
Text
Accent
Second accent

Usage example

02 / 10

Corporate navy

strict · businesslike · light

  • Background
  • Surface
  • Text
  • Accent
  • Second accent
  • Text on background 15.9:1AAA
  • Text on surface 17.2:1AAA
  • Button label 10.0:1AAA
  • Tag label 5.9:1AA

When to use Finance, law, consulting, B2B — where reliability is the product.

Tip Steel gray #8A99AD is for secondary text, icons and borders; the button stays navy.

All codes: RGB, HSL, OKLCH
RoleHEXRGBHSLOKLCH
Background
Surface
Text
Accent
Second accent

Usage example

03 / 10

Sky and sand

warm base · soft · natural

  • Background
  • Surface
  • Text
  • Accent
  • Second accent
  • Text on background 12.7:1AAA
  • Text on surface 13.8:1AAA
  • Button label 5.3:1AA
  • Tag label 7.6:1AAA

When to use Travel, architecture, interiors, wellness.

Tip Sand #D9B48F is the second accent: quote backgrounds, illustrations. Text on it is always dark.

All codes: RGB, HSL, OKLCH
RoleHEXRGBHSLOKLCH
Background
Surface
Text
Accent
Second accent

Usage example

04 / 10

Blue and coral

contrasting · energetic · light

  • Background
  • Surface
  • Text
  • Accent
  • Second accent
  • Text on background 14.5:1AAA
  • Text on surface 15.4:1AAA
  • Button label 5.3:1AA
  • Tag label 5.6:1AA

When to use Consumer apps, education, events, marketplaces.

Tip Coral is for the main action and notifications only. Paint half the screen with it and the blue disappears.

All codes: RGB, HSL, OKLCH
RoleHEXRGBHSLOKLCH
Background
Surface
Text
Accent
Second accent

Usage example

05 / 10

Midnight blue

dark theme · technical · focused

  • Background
  • Surface
  • Text
  • Accent
  • Second accent
  • Text on background 15.9:1AAA
  • Text on surface 14.3:1AAA
  • Button label 7.6:1AAA
  • Tag label 5.4:1AA

When to use Developer tools, dashboards, fintech in a dark theme.

Tip The accent is lighter and softer than in a light theme: saturated blue hums on a dark background. The button label is dark.

All codes: RGB, HSL, OKLCH
RoleHEXRGBHSLOKLCH
Background
Surface
Text
Accent
Second accent

Usage example

06 / 10

Powder blue

pastel · gentle · light

  • Background
  • Surface
  • Text
  • Accent
  • Second accent
  • Text on background 11.9:1AAA
  • Text on surface 13.2:1AAA
  • Button label 7.6:1AAA
  • Tag label 9.8:1AAA

When to use Beauty, kids’ products, weddings, personal brands.

Tip The accent is pastel: white text on it is unreadable. Keep the button label dark and set the button apart by shape or outline.

All codes: RGB, HSL, OKLCH
RoleHEXRGBHSLOKLCH
Background
Surface
Text
Accent
Second accent

Usage example

07 / 10

Steel industrial

strict · technical · muted

  • Background
  • Surface
  • Text
  • Accent
  • Second accent
  • Text on background 13.4:1AAA
  • Text on surface 14.9:1AAA
  • Button label 6.2:1AA
  • Tag label 8.0:1AAA

When to use Manufacturing, engineering, logistics, industrial equipment.

Tip Amber #F2A93B is a signal color: warnings and the main call to action. Nowhere else.

All codes: RGB, HSL, OKLCH
RoleHEXRGBHSLOKLCH
Background
Surface
Text
Accent
Second accent

Usage example

08 / 10

Blue and lime

bright · tech · light

  • Background
  • Surface
  • Text
  • Accent
  • Second accent
  • Text on background 16.5:1AAA
  • Text on surface 17.4:1AAA
  • Button label 5.3:1AA
  • Tag label 13.9:1AAA

When to use Startups, AI products, marketing sites.

Tip Lime #D6F35B is a marker: highlighted words, badges, charts. As text on white it does not work.

All codes: RGB, HSL, OKLCH
RoleHEXRGBHSLOKLCH
Background
Surface
Text
Accent
Second accent

Usage example

09 / 10

Navy and gold

premium · dark · warm accent

  • Background
  • Surface
  • Text
  • Accent
  • Second accent
  • Text on background 15.0:1AAA
  • Text on surface 12.8:1AAA
  • Button label 7.4:1AAA
  • Tag label 7.8:1AAA

When to use Premium services, real estate, hotels, private clubs.

Tip Gold goes on buttons and thin lines, not on fills. Soft blue #8FB1D6 is for links and secondary accents.

All codes: RGB, HSL, OKLCH
RoleHEXRGBHSLOKLCH
Background
Surface
Text
Accent
Second accent

Usage example

10 / 10

Sea analogous

fresh · calm · light

  • Background
  • Surface
  • Text
  • Accent
  • Second accent
  • Text on background 13.9:1AAA
  • Text on surface 15.1:1AAA
  • Button label 5.3:1AA
  • Tag label 4.9:1AA

When to use Healthcare, ecology, water, sport.

Tip Blue and teal are close in hue — split them by role: blue for actions, teal for statuses and charts.

All codes: RGB, HSL, OKLCH
RoleHEXRGBHSLOKLCH
Background
Surface
Text
Accent
Second accent

Usage example

How to use a blue palette on a site

  1. 01

    60 / 30 / 10

    60% of the area is a neutral background, 30% is surfaces and text, 10% is the blue accent. Once blue takes more than a third of the screen it stops being an accent, and buttons get lost.

  2. 02

    Text contrast

    Body text needs at least 4.5:1 (WCAG AA). Light blue text on white almost always fails: #87CEEB on white is 1.7:1. For text on white, take blue from step 700 of the scale above — #0F68A2 gives 6.0:1.

  3. 03

    Blue for actions, not for everything

    When links, buttons, icons and headings share one blue, people cannot tell what is clickable. Reserve blue for interactive elements and keep the rest neutral.

  4. 04

    Dark theme

    On a dark background the accent gets lighter and less saturated (steps 300–400), and the background is not black but a deep blue-black: contrast stays softer and eyes tire less.

  5. 05

    A warm counterweight

    An all-cold palette looks sterile. One warm neutral — sand, beige or warm gray — brings it to life without changing its character.

  6. 06

    Where blue fits

    Fintech, healthcare, SaaS, B2B services, education — fields where trust and clarity matter. Food, fashion and entertainment usually need a warm accent next to it.

Common mistakes with blue

  1. Pure #0000FF

    The “computer” blue hurts the eyes and looks like a 1998 link. Shift it toward azure or mute it.

  2. White text on light blue

    A popular button nobody can read: white on #87CEEB is 1.7:1. Either darken the button or make the text dark.

  3. Five blues without a system

    Shades picked by eye argue with each other. Take them from one scale — then they differ only in lightness.

  4. A saturated blue background everywhere

    Large fields of saturated blue are tiring. Backgrounds take steps 50–100; saturated blue is for accents.

  5. Cold gray with cold blue

    Grays with a cold cast plus blue make a “hospital” palette. Add one warm neutral.

Questions about blue palettes

What color goes best with blue?

White and warm neutrals for a calm base; navy and graphite for a strict look; coral, orange or yellow for a bright accent. Coral and orange sit opposite blue on the color wheel, so they give the most noticeable contrast.

Which blue should I use for buttons?

One where white text gets at least 4.5:1 contrast: on the scale above that is 700 and darker, for example #0F68A2. Keep the light steps 300–500 for backgrounds, tags and the dark theme.

Is light blue a different color from blue?

In English both are blue, and lighter ones get a qualifier: light blue, sky blue. Russian even has two separate words. In design it is one scale anyway: light blues are its upper steps, navy the lower ones.

Is blue a warm or a cool color?

Cool. But blue has warmer shades leaning green (teal) and cooler ones leaning violet (cornflower). A palette gets warmer not through the blue itself but through the neutrals next to it — sand, beige, warm gray.

What text color goes on a blue background?

On light blue (steps 50–300) — dark text: near-black with a blue cast, such as #0F2233. On saturated and dark blue (700+) — white. Check the contrast: 4.5:1 and above for regular text.

How do I make a blue palette less boring?

Add a complementary accent — coral, orange or lime — on 5–10% of the area, and one warm neutral for the background. Another way is to play with lightness: a very light background, a saturated accent and deep navy text.

Coming next in Palettes

  • Loud, “trashy” combinations
  • A palette for a premium site
  • Strict combinations
The whole Library