Gradient Page

#120A8F

#120A8F is the HEX color code for
Ultramarine
#120A8F

Ultramarine

Contrast
Dark
Luminance
11%
Color Conversions
Formats for Ultramarine (#120A8F) in various color spaces.
#120A8F
18, 10, 143
244°, 87%, 30%
87%, 93%, 0%, 44%
0.307, 0.194, 268.5
--color-ultramarine: #120A8F;

Shades & Tints

#e9e7fd
#bcb7fa
#8f88f7
#6258f3
#3628f0
#1c0fd7
#160ca7
#100877
#090548
#030218
DarkestBaseLightest

Color Harmonies

Complementary

#120A8F
#868f0a

Analogous

#0a448f
#120A8F
#550a8f

Triadic

#120A8F
#8f130a
#0a8f13

Split Complementary

#120A8F
#8f550a
#448f0a

UI Component Examples

See how #120A8F 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 {
  /* Ultramarine Base */
  --color-primary: #120A8F;
  --color-primary-rgb: 18 10 143;
  --color-primary-hsl: 244 87% 30%;
  
  /* Foreground text color based on contrast */
  --color-primary-foreground: #ffffff;

  /* Shades */
  --color-primary-50:  #e9e7fd;
  --color-primary-100: #bcb7fa;
  --color-primary-200: #8f88f7;
  --color-primary-300: #6258f3;
  --color-primary-400: #3628f0;
  --color-primary-500: #1c0fd7;
  --color-primary-600: #160ca7;
  --color-primary-700: #100877;
  --color-primary-800: #090548;
  --color-primary-900: #030218;
}

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
#120A8F Hex Color | Ultramarine sl | UI Color Scheme Generator