Gradient Page

#667EEA

#667EEA is the HEX color code for
Cornflower Blue
#667EEA

Cornflower Blue

Contrast
Light
Luminance
51%
Color Conversions
Formats for Cornflower Blue (#667EEA) in various color spaces.
#667EEA
102, 126, 234
229°, 76%, 66%
56%, 46%, 0%, 8%
0.627, 0.164, 271.5
--color-cornflower-blue: #667EEA;

Shades & Tints

#e9ecfc
#bcc6f6
#8fa1f0
#627bea
#3555e3
#1c3cca
#152e9d
#0f2170
#091443
#030716
DarkestBaseLightest

Color Harmonies

Complementary

#667EEA
#ead266

Analogous

#66c0ea
#667EEA
#9066ea

Triadic

#667EEA
#ea667f
#7fea66

Split Complementary

#667EEA
#ea9066
#c0ea66

UI Component Examples

See how #667EEA 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 {
  /* Cornflower Blue Base */
  --color-primary: #667EEA;
  --color-primary-rgb: 102 126 234;
  --color-primary-hsl: 229 76% 66%;
  
  /* Foreground text color based on contrast */
  --color-primary-foreground: #000000;

  /* Shades */
  --color-primary-50:  #e9ecfc;
  --color-primary-100: #bcc6f6;
  --color-primary-200: #8fa1f0;
  --color-primary-300: #627bea;
  --color-primary-400: #3555e3;
  --color-primary-500: #1c3cca;
  --color-primary-600: #152e9d;
  --color-primary-700: #0f2170;
  --color-primary-800: #091443;
  --color-primary-900: #030716;
}

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
#667EEA Hex Color | Cornflower Blue sl | UI Color Scheme Generator