Midnight Blue#0E1358
Ultramarine#18219A
Royal Blue#3844E0
Medium Slate Blue#7B82EA
Periwinkle#BDC1F5

Color Palette

#0E1358 · #18219A · #3844E0 · #7B82EA · #BDC1F5

random0 likes
Share

Export for Developers

:root {
  --color-1: #0E1358;
  --color-1-rgb: 14, 19, 88;
  --color-1-hsl: 236, 73%, 20%;
  --color-2: #18219A;
  --color-2-rgb: 24, 33, 154;
  --color-2-hsl: 236, 73%, 35%;
  --color-3: #3844E0;
  --color-3-rgb: 56, 68, 224;
  --color-3-hsl: 236, 73%, 55%;
  --color-4: #7B82EA;
  --color-4-rgb: 123, 130, 234;
  --color-4-hsl: 236, 73%, 70%;
  --color-5: #BDC1F5;
  --color-5-rgb: 189, 193, 245;
  --color-5-hsl: 236, 74%, 85%;
}

Real World Preview

Get Started

Accessibility

WCAG Accessibility Report

Excellent
#0E1358
On White
16.76:1AAA
On Black
1.25:1Fail
Aa
Aa
#18219A
On White
12.19:1AAA
On Black
1.72:1Fail
Aa
Aa
#3844E0
On White
6.84:1AA
On Black
3.07:1Fail
Aa
Aa
#7B82EA
On White
3.37:1Fail
On Black
6.22:1AA
Aa
Aa
#BDC1F5
On White
1.73:1Fail
On Black
12.11:1AAA
Aa
Aa

Contrast ratios calculated per WCAG 2.1. AA requires ≥4.5:1, AAA requires ≥7:1 for normal text.

Palette Variations

Palette Variations

Original

☀️

lighter

· Increased lightness, reduced saturation

🌑

darker

· Reduced lightness, increased saturation

🌫️

muted

· Desaturated for a calm, muted look

vibrant

· Boosted saturation for maximum impact

Best Use Cases for This Palette

This random palette featuring Midnight Blue, Ultramarine, Royal Blue works well across a variety of design contexts. Below are some of the most common use cases — click to see curated palettes for each.

Frequently Asked Questions

What are the hex codes in this color palette?

The colors in this palette are: #0E1358, #18219A, #3844E0, #7B82EA, #BDC1F5. Copy them individually or export the full palette as CSS variables, Tailwind config, SCSS, or JSON using the Export section above.

What is this color palette good for?

This random color palette featuring Midnight Blue, Ultramarine, Royal Blue works well for websites, mobile apps, branding projects, and digital designs. Check the Real World Preview section to see how it looks on buttons, cards, and navigation.

Is this color palette accessible?

Check the Accessibility section below to see WCAG contrast ratios for all color combinations in this palette. Look for combinations that achieve 4.5:1 or higher for text use.

How do I use this palette in Tailwind CSS?

Click "Export for Developers" and select the Tailwind option. You will get a formatted config object ready to paste into your tailwind.config.js file. Each color becomes a utility class in your project.

Explore more: Generate palettes · Check contrast · Tints & shades · All free tools