Gradient Page

#6654F1

#6654F1 is the HEX color code for
Royal Blue
#6654F1

Royal Blue

Contrast
Dark
Luminance
42%
Color Conversions
Formats for Royal Blue (#6654F1) in various color spaces.
#6654F1
102, 84, 241
247°, 85%, 64%
58%, 65%, 0%, 5%
0.558, 0.225, 281.4
--color-royal-blue: #6654F1;

Shades & Tints

#eae7fd
#c0b8f9
#9689f5
#6c5af2
#412bee
#2811d4
#1f0da5
#160a76
#0d0647
#040218
DarkestBaseLightest

Color Harmonies

Complementary

#6654F1
#dff155

Analogous

#5591f1
#6654F1
#b555f1

Triadic

#6654F1
#f16755
#55f167

Split Complementary

#6654F1
#f1b555
#91f155

UI Component Examples

See how #6654F1 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: #6654F1;
  --color-primary-rgb: 102 84 241;
  --color-primary-hsl: 247 85% 64%;
  
  /* Foreground text color based on contrast */
  --color-primary-foreground: #ffffff;

  /* Shades */
  --color-primary-50:  #eae7fd;
  --color-primary-100: #c0b8f9;
  --color-primary-200: #9689f5;
  --color-primary-300: #6c5af2;
  --color-primary-400: #412bee;
  --color-primary-500: #2811d4;
  --color-primary-600: #1f0da5;
  --color-primary-700: #160a76;
  --color-primary-800: #0d0647;
  --color-primary-900: #040218;
}

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