Gradient Page

#4169E1

#4169E1 is the HEX color code for
Royal Blue
#4169E1

Royal Blue

Contrast
Dark
Luminance
42%
Color Conversions
Formats for Royal Blue (#4169E1) in various color spaces.
#4169E1
65, 105, 225
225°, 73%, 57%
71%, 53%, 0%, 12%
0.56, 0.188, 266.4
--color-royal-blue: #4169E1;

Shades & Tints

#e9eefc
#bdcbf5
#91a8ee
#6585e7
#3862e0
#1f49c7
#18399a
#11286e
#0a1842
#030816
DarkestBaseLightest

Color Harmonies

Complementary

#4169E1
#e1b941

Analogous

#41b9e1
#4169E1
#6941e1

Triadic

#4169E1
#e14169
#69e141

Split Complementary

#4169E1
#e16941
#b9e141

UI Component Examples

See how #4169E1 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: #4169E1;
  --color-primary-rgb: 65 105 225;
  --color-primary-hsl: 225 73% 57%;
  
  /* Foreground text color based on contrast */
  --color-primary-foreground: #ffffff;

  /* Shades */
  --color-primary-50:  #e9eefc;
  --color-primary-100: #bdcbf5;
  --color-primary-200: #91a8ee;
  --color-primary-300: #6585e7;
  --color-primary-400: #3862e0;
  --color-primary-500: #1f49c7;
  --color-primary-600: #18399a;
  --color-primary-700: #11286e;
  --color-primary-800: #0a1842;
  --color-primary-900: #030816;
}

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