Blue & Dark Blue, Teal Color Palette — PaletteCSS
Back to palettes

Blue & Dark Blue, Teal Color Palette

#0B112C 11, 17, 44
#4F9AB7 79, 154, 183
#2A2A41 42, 42, 65
#5898F5 88, 152, 245
#0B112C
Color 1
#4F9AB7
Color 2
#2A2A41
Color 3
#5898F5
Color 4
:root {
  --color-1: #0B112C;
  --color-2: #4F9AB7;
  --color-3: #2A2A41;
  --color-4: #5898F5;
}
colors: {
  'palette-1': '#0B112C',
  'palette-2': '#4F9AB7',
  'palette-3': '#2A2A41',
  'palette-4': '#5898F5',
}
const palette = [
  '#0B112C',
  '#4F9AB7',
  '#2A2A41',
  '#5898F5',
];
$color-1: #0B112C;
$color-2: #4F9AB7;
$color-3: #2A2A41;
$color-4: #5898F5;
Palette Codes 4 COLORS

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

3,315 Views
Added Jun 2026
Copy & Download

About this color palette

This is a cool, versatile 4-colour palette pairing strongly contrasting colours for real visual punch. It is anchored by Blue (#5898F5) and reads as well balanced in lightness, with an average saturation of 53% and lightness of 37%. It works well for calm, professional and modern interfaces.

The colors in this palette

Dark Blue #0B112C

rgb(11, 17, 44) · hsl(229, 60%, 11%)

A deep, low-lightness tone — strong for text, headings and bold accents.

Teal #4F9AB7

rgb(79, 154, 183) · hsl(197, 42%, 51%)

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

Dark Blue #2A2A41

rgb(42, 42, 65) · hsl(240, 21%, 21%)

A deep, low-lightness tone — strong for text, headings and bold accents.

Blue #5898F5

rgb(88, 152, 245) · hsl(216, 89%, 65%)

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
#0B112C #5898F5 6.39:1 Pass Fail
#0B112C #4F9AB7 5.87:1 Pass Fail
#2A2A41 #5898F5 4.8:1 Pass Fail
#4F9AB7 #2A2A41 4.41:1 Fail Fail
#0B112C #2A2A41 1.33:1 Fail Fail
#4F9AB7 #5898F5 1.09:1 Fail Fail

How to use these colors

  • Background — Blue (#5898F5): the lightest tone — a clean base for large areas
  • Text — Dark Blue (#0B112C): the darkest tone — readable for body copy and headings
  • Primary — Dark Blue (#0B112C): the most saturated tone — buttons, links and key UI
  • Accent — Teal (#4F9AB7): 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: Dark Blue (#0B112C), Teal (#4F9AB7), Dark Blue (#2A2A41) and Blue (#5898F5).

Is this a warm or cool colour palette?

It is a cool palette — its tones lean toward blues, greens and purples, which feel calm and modern.

What are the hex codes for this palette?

The hex codes are #0B112C, #4F9AB7, #2A2A41 and #5898F5. You can copy them as CSS variables, Tailwind, SCSS or JSON from the code panel above.

Is this palette accessible for text?

Yes — Dark Blue text on Blue reaches a contrast ratio of 6.39:1, which meets the WCAG AA standard for readable text.

Related Palettes

Copied!