Gradient Page

#5271C4

#5271C4 is the HEX color code for
Indigo
Contrast
Dark
Luminance
44%
Color Conversions
Formats for Indigo (#5271C4) 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 #5271C4 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 {
  /* Indigo Base */
  --color-primary: #5271C4;
  --color-primary-rgb: 82 113 196;
  --color-primary-hsl: 224 49% 55%;
  
  /* Foreground text color based on contrast */
  --color-primary-foreground: #ffffff;

  /* Shades */
  --color-primary-50:  #eceff8;
  --color-primary-100: #c6d0eb;
  --color-primary-200: #a0b1de;
  --color-primary-300: #7a91d1;
  --color-primary-400: #5472c4;
  --color-primary-500: #3b59ab;
  --color-primary-600: #2e4585;
  --color-primary-700: #21315f;
  --color-primary-800: #141e39;
  --color-primary-900: #070a13;
}

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