TwoColorPalette

Blue and Green color palette

nearest CSS color: dodgerblue · 0.036

Open a Tailwind project and you have already met this pair. Blue-500 (#3B82F6) handles primary buttons and links. Green-500 (#22C55E) marks success states, confirmations, and positive trends. They show up together on dashboards, signup flows, and admin panels every day.

The two are close in brightness and equally saturated, so the between them is only 1.61 to 1. Never stack them as text on background. The sit 110 degrees apart, which gives enough separation that users read them as distinct meanings: action versus success.

Use each against a neutral surface, white or a Tailwind gray. Their blended midpoint is a teal (#21A9B5) if you need a bridge tone.

See Blue and Green in use

Background ⇄ tap a mockup to swap colors
Get startedLearn more
App UI
Continue
Mobile screen
BlueGreen
Data dashboard
Build
better
Start free
Marketing hero
Logo lockup
BG
Poster / type

Blue Tailwind scale (50-900)

Green Tailwind scale (50-900)

Blue to Green blend

A continuous interpolation from Blue to Green, sampled into the 10 steps below. Tap any swatch to copy its hex.

Why Blue and Green blend best in OKLab

The same two colors blended three ways. This site uses OKLab, which keeps the blend smooth and evenly lit. The other two are shown so you can see what to avoid: sRGB darkens and muddies the middle, and HSL detours through colors that are not in your palette.

OKLabsmooth, evenly lit (used here)
sRGBmuddy, darker middle
HSLdetours through other hues

Accessibility

AA large ✗AA normal ✗AAA ✗

Do not place Blue text on Green (or the reverse) for body copy. For readable text, pair a dark scale step such as blue-800 or green-900 with a light one like green-50.

Contrast pairing grid

Rows are Blue steps, columns are Green steps. Each mark is a Blue step shown on a Green step: a check means it clears WCAG AA for text (4.5:1). If you can read the mark, the pairing is legible.

50100200300400500600700800900
50
100
200
300
400
500
600
700
800
900

✓ passes AA ✗ fails AA

Copy for Tailwind

Tailwind v4 — @theme (paste into your CSS)
@theme {
  --color-blue-50: #F3F8FF;
  --color-blue-100: #E7F1FF;
  --color-blue-200: #D4E5FF;
  --color-blue-300: #B9D4FF;
  --color-blue-400: #94BDFE;
  --color-blue-500: #3B82F6;
  --color-blue-600: #2E69C9;
  --color-blue-700: #214E98;
  --color-blue-800: #0F2C5A;
  --color-blue-900: #030F27;

  --color-green-50: #F4FCF5;
  --color-green-100: #EAF9EC;
  --color-green-200: #D8F3DC;
  --color-green-300: #BFECC6;
  --color-green-400: #9BE1A8;
  --color-green-500: #22C55E;
  --color-green-600: #1AA14B;
  --color-green-700: #117937;
  --color-green-800: #06461D;
  --color-green-900: #011D08;
}
Tailwind v3 — tailwind.config.js
// tailwind.config.js
module.exports = {
  theme: {
    extend: {
      colors: {
        'blue': {
        50: '#F3F8FF',
        100: '#E7F1FF',
        200: '#D4E5FF',
        300: '#B9D4FF',
        400: '#94BDFE',
        500: '#3B82F6',
        600: '#2E69C9',
        700: '#214E98',
        800: '#0F2C5A',
        900: '#030F27',
        },
        'green': {
        50: '#F4FCF5',
        100: '#EAF9EC',
        200: '#D8F3DC',
        300: '#BFECC6',
        400: '#9BE1A8',
        500: '#22C55E',
        600: '#1AA14B',
        700: '#117937',
        800: '#06461D',
        900: '#011D08',
        },
      },
    },
  },
};
CSS variables
:root {
  --blue-50: #F3F8FF;
  --blue-100: #E7F1FF;
  --blue-200: #D4E5FF;
  --blue-300: #B9D4FF;
  --blue-400: #94BDFE;
  --blue-500: #3B82F6;
  --blue-600: #2E69C9;
  --blue-700: #214E98;
  --blue-800: #0F2C5A;
  --blue-900: #030F27;

  --green-50: #F4FCF5;
  --green-100: #EAF9EC;
  --green-200: #D8F3DC;
  --green-300: #BFECC6;
  --green-400: #9BE1A8;
  --green-500: #22C55E;
  --green-600: #1AA14B;
  --green-700: #117937;
  --green-800: #06461D;
  --green-900: #011D08;
}
SCSS variables
$blue-50: #F3F8FF;
$blue-100: #E7F1FF;
$blue-200: #D4E5FF;
$blue-300: #B9D4FF;
$blue-400: #94BDFE;
$blue-500: #3B82F6;
$blue-600: #2E69C9;
$blue-700: #214E98;
$blue-800: #0F2C5A;
$blue-900: #030F27;

$green-50: #F4FCF5;
$green-100: #EAF9EC;
$green-200: #D8F3DC;
$green-300: #BFECC6;
$green-400: #9BE1A8;
$green-500: #22C55E;
$green-600: #1AA14B;
$green-700: #117937;
$green-800: #06461D;
$green-900: #011D08;
JSON tokens
{
  "blue": {
    "50": "#F3F8FF",
    "100": "#E7F1FF",
    "200": "#D4E5FF",
    "300": "#B9D4FF",
    "400": "#94BDFE",
    "500": "#3B82F6",
    "600": "#2E69C9",
    "700": "#214E98",
    "800": "#0F2C5A",
    "900": "#030F27"
  },
  "green": {
    "50": "#F4FCF5",
    "100": "#EAF9EC",
    "200": "#D8F3DC",
    "300": "#BFECC6",
    "400": "#9BE1A8",
    "500": "#22C55E",
    "600": "#1AA14B",
    "700": "#117937",
    "800": "#06461D",
    "900": "#011D08"
  }
}

How we name colors

There is no single official authority for naming colors. We use the common, widely recognized name as the primary label for each color (here, Blue and Green); many common names are themselves W3C CSS named colors. For transparency we also show the nearest W3C CSS named color and the perceptual distance, ΔE, measured in OKLab. A small ΔE means the name is essentially exact; a larger one means it is the closest standard name rather than a perfect match.

Sources: W3C CSS Color Module Level 4 and the open color-name-list dataset, used to verify every color sits near a recognized name.