Gradient Page

#2657EB

#2657EB is the HEX color code for
Royal Blue
#2657EB

Royal Blue

Contrast
Dark
Luminance
35%
Color Conversions
Formats for Royal Blue (#2657EB) in various color spaces.
#2657EB
38, 87, 235
225°, 83%, 54%
84%, 63%, 0%, 8%
0.524, 0.229, 264.9
--color-royal-blue: #2657EB;

Shades & Tints

#e8edfd
#b9c9f8
#8aa5f4
#5c81f0
#2d5deb
#1443d2
#0f34a3
#0b2575
#071646
#020717
DarkestBaseLightest

Color Harmonies

Complementary

#2657EB
#ebba28

Analogous

#28baeb
#2657EB
#5928eb

Triadic

#2657EB
#eb2859
#59eb28

Split Complementary

#2657EB
#eb5928
#baeb28

UI Component Examples

See how #2657EB 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 {
  /* Royal Blue Base */
  --color-primary: #2657EB;
  --color-primary-rgb: 38 87 235;
  --color-primary-hsl: 225 83% 54%;
  
  /* Foreground text color based on contrast */
  --color-primary-foreground: #ffffff;

  /* Shades */
  --color-primary-50:  #e8edfd;
  --color-primary-100: #b9c9f8;
  --color-primary-200: #8aa5f4;
  --color-primary-300: #5c81f0;
  --color-primary-400: #2d5deb;
  --color-primary-500: #1443d2;
  --color-primary-600: #0f34a3;
  --color-primary-700: #0b2575;
  --color-primary-800: #071646;
  --color-primary-900: #020717;
}

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
#2657EB Hex Color | Royal Blue sl | UI Color Scheme Generator