Gradient Page

#2A5298

#2A5298 is the HEX color code for
St Tropaz
#2A5298

St Tropaz

Contrast
Dark
Luminance
31%
Color Conversions
Formats for St Tropaz (#2A5298) in various color spaces.
#2A5298
42, 82, 152
218°, 57%, 38%
72%, 46%, 0%, 40%
0.448, 0.123, 260.7
--color-st-tropaz: #2A5298;

Shades & Tints

#ebf0fa
#c3d3ef
#9bb6e4
#7398d9
#4b7bce
#3161b4
#264c8c
#1b3664
#10203c
#050b14
DarkestBaseLightest

Color Harmonies

Complementary

#2A5298
#98702a

Analogous

#2a8998
#2A5298
#382a98

Triadic

#2A5298
#982a52
#52982a

Split Complementary

#2A5298
#98382a
#89982a

UI Component Examples

See how #2A5298 looks when applied to real interface components.

Interactive Elements
Surface & Accent
Pro Tip!

Use lighter tints for backgrounds to maintain readability while keeping brand identity.

Status Indicator
Active
# CSS Variables
Copy-paste these variables into your global CSS to use this palette instantly.
:root {
  /* St Tropaz Base */
  --color-primary: #2A5298;
  --color-primary-rgb: 42 82 152;
  --color-primary-hsl: 218 57% 38%;
  
  /* Foreground text color based on contrast */
  --color-primary-foreground: #ffffff;

  /* Shades */
  --color-primary-50:  #ebf0fa;
  --color-primary-100: #c3d3ef;
  --color-primary-200: #9bb6e4;
  --color-primary-300: #7398d9;
  --color-primary-400: #4b7bce;
  --color-primary-500: #3161b4;
  --color-primary-600: #264c8c;
  --color-primary-700: #1b3664;
  --color-primary-800: #10203c;
  --color-primary-900: #050b14;
}

Want more?

We hope you enjoyed this color. Keep reading for more amazing colorful content for developers, designers and creators!
View our entire collection of UI gradientsView all our color names
#2A5298 Hex Color | St Tropaz sl | UI Color Scheme Generator