Ultramarine Blue

Export

Code

/* Ultramarine Blue — colorset.net */
:root {
  --color-1: #120A8F;
  --color-2: #2621A1;
  --color-3: #3A38B3;
  --color-4: #4E4FC5;
  --color-5: #6266D7;

  --color-bg: #F5F6FF;
  --color-surface: #EAEDFB;
  --color-border: #D1D4E6;
  --color-text: #1D2B5C;
  --color-muted: #616B83;
  --color-primary: #6266D7;
  --color-on-primary: #FFFFFF;
  --color-accent: #120A8F;
  --color-on-accent: #FFFFFF;
}

@media (prefers-color-scheme: dark) {
  :root {
    --color-bg: #090E1F;
    --color-surface: #13192A;
    --color-border: #252D42;
    --color-text: #9FA4C6;
    --color-muted: #7E829C;
    --color-primary: #6266D7;
    --color-on-primary: #FFFFFF;
    --color-accent: #96A0FF;
    --color-on-accent: #090E1F;
  }
}

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
Backgroundadjusted for contrast · from #6266D7adjusted for contrast · from #120A8F
Surfacederivedderived
Borderderivedderived
Textadjusted for contrast · from #120A8Fadjusted for contrast · from #6266D7
Muted textderivedderived
Primaryfrom palette · color 5from palette · color 5
On primaryderivedderived
Accentfrom palette · color 1adjusted for contrast · from #6266D7
On accentderivedderived

Contrast

Light mode
PairSampleRatioWCAG
Text on background12.57:1AAA pass 4.5:1
Text on surface11.60:1AAA pass 4.5:1
Muted text on background4.95:1AA pass 4.5:1
Label on primary4.77:1AA pass 4.5:1
Label on accent14.33:1AAA pass 4.5:1
Primary on background4.43:1AA Large pass 3:1
Accent on background13.31:1AAA pass 3:1
Dark mode
PairSampleRatioWCAG
Text on background7.86:1AAA pass 4.5:1
Text on surface7.17:1AAA pass 4.5:1
Muted text on background5.08:1AA pass 4.5:1
Label on primary4.77:1AA pass 4.5:1
Label on accent8.01:1AAA pass 4.5:1
Primary on background4.02:1AA Large pass 3:1
Accent on background8.01:1AAA 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#120A8F (Text 1)#2621A1 (Text 2)#3A38B3 (Text 3)#4E4FC5 (Text 4)#6266D7 (Text 5)
#120A8FSame color1.24—1.63—2.22—3.00AA Large
#2621A11.24—Same color1.32—1.79—2.43—
#3A38B31.63—1.32—Same color1.36—1.84—
#4E4FC52.22—1.79—1.36—Same color1.35—
#6266D73.00AA Large2.43—1.84—1.35—Same color

How to read contrast ratios (WCAG guide)

Shades

Shades and tints (50–950)

#120A8F#2621A1#3A38B3#4E4FC5#6266D7

Variations

About Ultramarine Blue

Ultramarine Blue is a cool blue palette of 5 colors that runs from blue #6266D7 to deep blue #120A8F. With a hue spread of just 10°, it is effectively monochromatic: #120A8F, #2621A1 and #3A38B3 differ mostly in lightness. All five colors stay in a narrow mid-tone band (31% to 57% lightness, #120A8F to #6266D7), so text and background roles are adjusted for contrast. Saturation is high (mean OKLCH chroma 0.185, peaking at 0.194 in #120A8F); the colors feel saturated and energetic. In light mode #F5F6FF becomes the background with #1D2B5C text at 12.6:1, and #6266D7 takes the primary role. With #6266D7 leading, good fits include fintech and banking apps, SaaS dashboards and festival branding.

Ultramarine Blue color palette: #120A8F, #2621A1, #3A38B3, #4E4FC5, #6266D7
Share image for Ultramarine Blue

Gradients in similar colors