Gradient Page

#0000CD

#0000CD is the HEX color code for
Dark Blue
#0000CD

Dark Blue

Contrast
Dark
Luminance
9%
Color Conversions
Formats for Dark Blue (#0000CD) in various color spaces.
#0000CD
0, 0, 205
240°, 100%, 40%
100%, 100%, 0%, 20%
0.383, 0.266, 264.1
--color-dark-blue: #0000CD;

Shades & Tints

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

Color Harmonies

Complementary

#0000CD
#cccc00

Analogous

#0066cc
#0000CD
#6600cc

Triadic

#0000CD
#cc0000
#00cc00

Split Complementary

#0000CD
#cc6600
#66cc00

UI Component Examples

See how #0000CD 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 {
  /* Dark Blue Base */
  --color-primary: #0000CD;
  --color-primary-rgb: 0 0 205;
  --color-primary-hsl: 240 100% 40%;
  
  /* 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
#0000CD Hex Color | Dark Blue sl | UI Color Scheme Generator