Gradient Page

#4481EB

#4481EB is the HEX color code for
Royal Blue
Contrast
Dark
Luminance
48%
Color Conversions
Formats for Royal Blue (#4481EB) in various color spaces.
HEX
RGB
HSL
CMYK
OKLCH
CSS Variable

Shades & Tints

LightestBaseDarkest

Color Harmonies

Complementary

Analogous

Triadic

Split Complementary

UI Component Examples

See how #4481EB 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: #4481EB;
  --color-primary-rgb: 68 129 235;
  --color-primary-hsl: 218 81% 59%;
  
  /* Foreground text color based on contrast */
  --color-primary-foreground: #ffffff;

  /* Shades */
  --color-primary-50:  #e8effd;
  --color-primary-100: #bad0f8;
  --color-primary-200: #8cb1f3;
  --color-primary-300: #5d92ee;
  --color-primary-400: #2f73e9;
  --color-primary-500: #165ad0;
  --color-primary-600: #1146a2;
  --color-primary-700: #0c3273;
  --color-primary-800: #071e45;
  --color-primary-900: #020a17;
}

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