Blue & Yellow, Blue Color Palette — PaletteCSS
Back to palettes

Blue & Yellow, Blue Color Palette

#E8E530 232, 229, 48
#E5E49E 229, 228, 158
#1215BA 18, 21, 186
#797BEC 121, 123, 236
#E8E530
Color 1
#E5E49E
Color 2
#1215BA
Color 3
#797BEC
Color 4
:root {
  --color-1: #E8E530;
  --color-2: #E5E49E;
  --color-3: #1215BA;
  --color-4: #797BEC;
}
colors: {
  'palette-1': '#E8E530',
  'palette-2': '#E5E49E',
  'palette-3': '#1215BA',
  'palette-4': '#797BEC',
}
const palette = [
  '#E8E530',
  '#E5E49E',
  '#1215BA',
  '#797BEC',
];
$color-1: #E8E530;
$color-2: #E5E49E;
$color-3: #1215BA;
$color-4: #797BEC;
Palette Codes 4 COLORS

This is a balanced, vibrant 4-colour palette pairing strongly contrasting colours for real visual punch.

3,740 Views
Added Jun 2026
Copy & Download

About this color palette

This is a balanced, vibrant 4-colour palette pairing strongly contrasting colours for real visual punch. It is anchored by Blue (#1215BA) and reads as well balanced in lightness, with an average saturation of 74% and lightness of 60%. It adapts to a wide range of web and brand projects.

The colors in this palette

Yellow #E8E530

rgb(232, 229, 48) · hsl(59, 80%, 55%)

A vivid, saturated tone that draws the eye — best for accents and highlights.

Yellow #E5E49E

rgb(229, 228, 158) · hsl(59, 58%, 76%)

A balanced mid-tone that works well for primary surfaces and UI elements.

Blue #1215BA

rgb(18, 21, 186) · hsl(239, 82%, 40%)

A vivid, saturated tone that draws the eye — best for accents and highlights.

Blue #797BEC

rgb(121, 123, 236) · hsl(239, 75%, 70%)

A vivid, saturated tone that draws the eye — best for accents and highlights.

Accessibility & contrast

Colour contrast decides whether text stays readable. Here is how each pair of colours in this palette performs when one is used as text on the other, measured against the WCAG standard (AA needs 4.5:1, AAA needs 7:1).

TextBackgroundRatioAAAAA
#E5E49E #1215BA 8.64:1 Pass Pass
#E8E530 #1215BA 8.51:1 Pass Pass
#1215BA #797BEC 3.18:1 Fail Fail
#E5E49E #797BEC 2.72:1 Fail Fail
#E8E530 #797BEC 2.68:1 Fail Fail
#E8E530 #E5E49E 1.02:1 Fail Fail

How to use these colors

  • Background — Yellow (#E5E49E): the lightest tone — a clean base for large areas
  • Text — Blue (#1215BA): the darkest tone — readable for body copy and headings
  • Primary — Blue (#1215BA): the most saturated tone — buttons, links and key UI
  • Accent — Yellow (#E8E530): a secondary highlight for badges and details

Colors that pair with this palette

Want to extend this palette? These colours pair naturally with its dominant Blue tone, based on colour-wheel harmony. Tap a swatch to explore that colour family.

Frequently asked questions

What colours are in this palette?

This palette has 4 colours: Yellow (#E8E530), Yellow (#E5E49E), Blue (#1215BA) and Blue (#797BEC).

Is this a warm or cool colour palette?

It is balanced, mixing warm and cool tones fairly evenly.

What are the hex codes for this palette?

The hex codes are #E8E530, #E5E49E, #1215BA and #797BEC. You can copy them as CSS variables, Tailwind, SCSS or JSON from the code panel above.

Is this palette accessible for text?

Yes — Yellow text on Blue reaches a contrast ratio of 8.64:1, which meets the WCAG AAA standard for readable text.

Related Palettes

Copied!