Gradient Page

#2F80ED

#2F80ED is the HEX color code for
Royal Blue
#2F80ED

Royal Blue

Contrast
Dark
Luminance
46%
Color Conversions
Formats for Royal Blue (#2F80ED) in various color spaces.
#2F80ED
47, 128, 237
214°, 84%, 56%
80%, 46%, 0%, 7%
0.609, 0.182, 257.3
--color-royal-blue: #2F80ED;

Shades & Tints

#e8f1fd
#b9d4f9
#8ab8f5
#5b9cf1
#2c7fed
#1266d3
#0e4fa4
#0a3975
#062246
#020b17
DarkestBaseLightest

Color Harmonies

Complementary

#2F80ED
#ed9b31

Analogous

#31e0ed
#2F80ED
#3d31ed

Triadic

#2F80ED
#ed3182
#82ed31

Split Complementary

#2F80ED
#ed3d31
#e0ed31

UI Component Examples

See how #2F80ED 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: #2F80ED;
  --color-primary-rgb: 47 128 237;
  --color-primary-hsl: 214 84% 56%;
  
  /* Foreground text color based on contrast */
  --color-primary-foreground: #ffffff;

  /* Shades */
  --color-primary-50:  #e8f1fd;
  --color-primary-100: #b9d4f9;
  --color-primary-200: #8ab8f5;
  --color-primary-300: #5b9cf1;
  --color-primary-400: #2c7fed;
  --color-primary-500: #1266d3;
  --color-primary-600: #0e4fa4;
  --color-primary-700: #0a3975;
  --color-primary-800: #062246;
  --color-primary-900: #020b17;
}

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