Gradient Page

#2B5876

#2B5876 is the HEX color code for
San Juan
Contrast
Dark
Luminance
31%
Color Conversions
Formats for San Juan (#2B5876) in various color spaces.
HEX
RGB
HSL
CMYK
OKLCH
CSS Variable

Shades & Tints

LightestBaseDarkest

Color Harmonies

Complementary

Analogous

Triadic

Split Complementary

UI Component Examples

See how #2B5876 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: #2B5876;
  --color-primary-rgb: 43 88 118;
  --color-primary-hsl: 204 47% 32%;
  
  /* Foreground text color based on contrast */
  --color-primary-foreground: #ffffff;

  /* Shades */
  --color-primary-50:  #ecf3f8;
  --color-primary-100: #c7dceb;
  --color-primary-200: #a1c5dd;
  --color-primary-300: #7caed0;
  --color-primary-400: #5697c2;
  --color-primary-500: #3d7ea9;
  --color-primary-600: #2f6283;
  --color-primary-700: #22465e;
  --color-primary-800: #142a38;
  --color-primary-900: #070e13;
}

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