Gradient Page

#0000FF

#0000FF is the HEX color code for
Blue
#0000FF

Blue

Contrast
Dark
Luminance
11%
Color Conversions
Formats for Blue (#0000FF) in various color spaces.
#0000FF
0, 0, 255
240°, 100%, 50%
100%, 100%, 0%, 0%
0.452, 0.313, 264.1
--color-blue: #0000FF;

Shades & Tints

#e5e5ff
#b3b3ff
#8080ff
#4d4dff
#1a1aff
#0000e6
#0000b3
#000080
#00004d
#00001a
DarkestBaseLightest

Color Harmonies

Complementary

#0000FF
#ffff00

Analogous

#0080ff
#0000FF
#8000ff

Triadic

#0000FF
#ff0000
#00ff00

Split Complementary

#0000FF
#ff8000
#80ff00

UI Component Examples

See how #0000FF 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 {
  /* Blue Base */
  --color-primary: #0000FF;
  --color-primary-rgb: 0 0 255;
  --color-primary-hsl: 240 100% 50%;
  
  /* Foreground text color based on contrast */
  --color-primary-foreground: #ffffff;

  /* Shades */
  --color-primary-50:  #e5e5ff;
  --color-primary-100: #b3b3ff;
  --color-primary-200: #8080ff;
  --color-primary-300: #4d4dff;
  --color-primary-400: #1a1aff;
  --color-primary-500: #0000e6;
  --color-primary-600: #0000b3;
  --color-primary-700: #000080;
  --color-primary-800: #00004d;
  --color-primary-900: #00001a;
}

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
#0000FF Hex Color | Blue sl | UI Color Scheme Generator