Gradient Page

#304B6A

#304B6A is the HEX color code for
San Juan
#304B6A

San Juan

Contrast
Dark
Luminance
28%
Color Conversions
Formats for San Juan (#304B6A) in various color spaces.
#304B6A
48, 75, 106
212°, 38%, 30%
55%, 29%, 0%, 58%
0.406, 0.062, 252.7
--color-san-juan: #304B6A;

Shades & Tints

#edf2f7
#cad8e7
#a7bed7
#84a3c8
#6189b8
#47709e
#37577b
#283e58
#182535
#080c12
DarkestBaseLightest

Color Harmonies

Complementary

#304B6A
#6a4e2f

Analogous

#2f686a
#304B6A
#312f6a

Triadic

#304B6A
#6a2f4b
#4b6a2f

Split Complementary

#304B6A
#6a312f
#686a2f

UI Component Examples

See how #304B6A 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 {
  /* San Juan Base */
  --color-primary: #304B6A;
  --color-primary-rgb: 48 75 106;
  --color-primary-hsl: 212 38% 30%;
  
  /* Foreground text color based on contrast */
  --color-primary-foreground: #ffffff;

  /* Shades */
  --color-primary-50:  #edf2f7;
  --color-primary-100: #cad8e7;
  --color-primary-200: #a7bed7;
  --color-primary-300: #84a3c8;
  --color-primary-400: #6189b8;
  --color-primary-500: #47709e;
  --color-primary-600: #37577b;
  --color-primary-700: #283e58;
  --color-primary-800: #182535;
  --color-primary-900: #080c12;
}

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
#304B6A Hex Color | San Juan sl | UI Color Scheme Generator