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

Blue & Yellow, Blue Color Palette

#CCCC0F 204, 204, 15
#E8E85E 232, 232, 94
#0C0CB6 12, 12, 182
#9595F3 149, 149, 243
#CCCC0F
Color 1
#E8E85E
Color 2
#0C0CB6
Color 3
#9595F3
Color 4
:root {
  --color-1: #CCCC0F;
  --color-2: #E8E85E;
  --color-3: #0C0CB6;
  --color-4: #9595F3;
}
colors: {
  'palette-1': '#CCCC0F',
  'palette-2': '#E8E85E',
  'palette-3': '#0C0CB6',
  'palette-4': '#9595F3',
}
const palette = [
  '#CCCC0F',
  '#E8E85E',
  '#0C0CB6',
  '#9595F3',
];
$color-1: #CCCC0F;
$color-2: #E8E85E;
$color-3: #0C0CB6;
$color-4: #9595F3;
Palette Codes 4 COLORS

This is a balanced, high-energy 4-colour palette that combines high-contrast tones for a bold, dynamic look.

2,724 Views
Added Jun 2026
Tags
Copy & Download

About this color palette

This is a balanced, high-energy 4-colour palette that combines high-contrast tones for a bold, dynamic look. It is anchored by Blue (#0C0CB6) and reads as well balanced in lightness, with an average saturation of 82% and lightness of 55%. It adapts to a wide range of web and brand projects.

The colors in this palette

Yellow #CCCC0F

rgb(204, 204, 15) · hsl(60, 86%, 43%)

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

Yellow #E8E85E

rgb(232, 232, 94) · hsl(60, 75%, 64%)

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

Blue #0C0CB6

rgb(12, 12, 182) · hsl(240, 88%, 38%)

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

Blue #9595F3

rgb(149, 149, 243) · hsl(240, 80%, 77%)

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
#E8E85E #0C0CB6 9.25:1 Pass Pass
#CCCC0F #0C0CB6 7:1 Pass Pass
#0C0CB6 #9595F3 4.51:1 Pass Fail
#E8E85E #9595F3 2.05:1 Fail Fail
#CCCC0F #9595F3 1.55:1 Fail Fail
#CCCC0F #E8E85E 1.32:1 Fail Fail

How to use these colors

  • Background — Blue (#9595F3): the lightest tone — a clean base for large areas
  • Text — Blue (#0C0CB6): the darkest tone — readable for body copy and headings
  • Primary — Blue (#0C0CB6): the most saturated tone — buttons, links and key UI
  • Accent — Yellow (#CCCC0F): 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 (#CCCC0F), Yellow (#E8E85E), Blue (#0C0CB6) and Blue (#9595F3).

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 #CCCC0F, #E8E85E, #0C0CB6 and #9595F3. 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 9.25:1, which meets the WCAG AAA standard for readable text.

Related Palettes

Copied!