Export

Code

/* Royal Blue — colorset.net */
:root {
  --color-1: #1E3A8A;
  --color-2: #3B82F6;
  --color-3: #60A5FA;
  --color-4: #93C5FD;
  --color-5: #DBEAFE;

  --color-bg: #DBEAFE;
  --color-surface: #E8F1FD;
  --color-border: #C1D2E8;
  --color-text: #2B3F72;
  --color-muted: #5E6981;
  --color-primary: #2B72E5;
  --color-on-primary: #FFFFFF;
  --color-accent: #778597;
  --color-on-accent: #000000;
}

@media (prefers-color-scheme: dark) {
  :root {
    --color-bg: #080F1F;
    --color-surface: #12192A;
    --color-border: #242D42;
    --color-text: #DBEAFE;
    --color-muted: #778597;
    --color-primary: #2B72E5;
    --color-on-primary: #FFFFFF;
    --color-accent: #4263B7;
    --color-on-accent: #FFFFFF;
  }
}

Color values

ColorHEXRGBHSLOKLCH
1
2
3
4
5

Roles & contrast

Original colors are kept; roles are adjusted only when needed for contrast.

RoleLight modeDark mode
Backgroundfrom palette · color 5adjusted for contrast · from #1E3A8A
Surfacederivedderived
Borderderivedderived
Textadjusted for contrast · from #1E3A8Afrom palette · color 5
Muted textderivedderived
Primaryadjusted for contrast · from #3B82F6adjusted for contrast · from #3B82F6
On primaryderivedderived
Accentadjusted for contrast · from #60A5FAadjusted for contrast · from #3B82F6
On accentderivedderived

Contrast

Light mode
PairSampleRatioWCAG
Text on background8.37:1AAA pass 4.5:1
Text on surface8.96:1AAA pass 4.5:1
Muted text on background4.51:1AA pass 4.5:1
Label on primary4.52:1AA pass 4.5:1
Label on accent5.59:1AA pass 4.5:1
Primary on background3.71:1AA Large pass 3:1
Accent on background3.08:1AA Large pass 3:1
Dark mode
PairSampleRatioWCAG
Text on background15.67:1AAA pass 4.5:1
Text on surface14.37:1AAA pass 4.5:1
Muted text on background5.09:1AA pass 4.5:1
Label on primary4.52:1AA pass 4.5:1
Label on accent5.68:1AA pass 4.5:1
Primary on background4.23:1AA Large pass 3:1
Accent on background3.37:1AA Large pass 3:1

Every color on every color

Rows are backgrounds and columns are text colors, using the actual palette colors. Ratios: AAA 7:1, AA 4.5:1, AA large text 3:1.

Every color on every color
Background / Text#1E3A8A (Text 1)#3B82F6 (Text 2)#60A5FA (Text 3)#93C5FD (Text 4)#DBEAFE (Text 5)
#1E3A8ASame color2.82—4.07AA Large5.74AA8.49AAA
#3B82F62.82—Same color1.45—2.04—3.01AA Large
#60A5FA4.07AA Large1.45—Same color1.41—2.08—
#93C5FD5.74AA2.04—1.41—Same color1.48—
#DBEAFE8.49AAA3.01AA Large2.08—1.48—Same color

How to read contrast ratios (WCAG guide)

Shades

Shades and tints (50–950)

#1E3A8A#3B82F6#60A5FA#93C5FD#DBEAFE

Variations

About Royal Blue

Five colors make up Royal Blue, a cool blue set: #1E3A8A, #3B82F6, #60A5FA, #93C5FD, #DBEAFE. All hues sit within 14° of each other, so dark blue #1E3A8A and its relatives form a cohesive monochromatic scheme. With lightness between 38% and 93% and #60A5FA near the middle, there is enough spread for layered surfaces but not maximum text contrast. Average chroma is 0.119, medium for a palette, so the colors are clear without being loud; the most saturated color is #3B82F6. As a UI theme it uses #2B72E5 for primary actions and #778597 as the accent; dark mode sits on #080F1F with #DBEAFE text (15.7:1). Try it for icons and logos, typography-led layouts and focused single-product sites, letting vivid blue #3B82F6 carry the key actions.

Royal Blue color palette: #1E3A8A, #3B82F6, #60A5FA, #93C5FD, #DBEAFE
Share image for Royal Blue

Gradients in similar colors