Gradient Page

#02478E

#02478E is the HEX color code for
Congress Blue
#02478E

Congress Blue

Contrast
Dark
Luminance
23%
Color Conversions
Formats for Congress Blue (#02478E) in various color spaces.
#02478E
2, 71, 142
210°, 97%, 28%
99%, 50%, 0%, 44%
0.404, 0.133, 255.2
--color-congress-blue: #02478E;

Shades & Tints

#e6f2ff
#b4d9fe
#81bffd
#4fa6fc
#1d8cfc
#0373e2
#0359b0
#02407e
#01264b
#000d19
DarkestBaseLightest

Color Harmonies

Complementary

#02478E
#8d4702

Analogous

#028d8d
#02478E
#02028d

Triadic

#02478E
#8d0247
#478d02

Split Complementary

#02478E
#8d0202
#8d8d02

UI Component Examples

See how #02478E 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 {
  /* Congress Blue Base */
  --color-primary: #02478E;
  --color-primary-rgb: 2 71 142;
  --color-primary-hsl: 210 97% 28%;
  
  /* Foreground text color based on contrast */
  --color-primary-foreground: #ffffff;

  /* Shades */
  --color-primary-50:  #e6f2ff;
  --color-primary-100: #b4d9fe;
  --color-primary-200: #81bffd;
  --color-primary-300: #4fa6fc;
  --color-primary-400: #1d8cfc;
  --color-primary-500: #0373e2;
  --color-primary-600: #0359b0;
  --color-primary-700: #02407e;
  --color-primary-800: #01264b;
  --color-primary-900: #000d19;
}

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
#02478E Hex Color | Congress Blue sl | UI Color Scheme Generator