Ultramarine (#120A8F)

HEX, RGB, HSL, CMYK values + mood/style/use-case color tags. Use this page to keep your colors consistent across web and print.

Preview

Sample Text
This is how text may look on this color.
Best text color: #FFFFFF
Contrast vs white: 14.33:1 — vs black: 1.47:1

Color values

  • HEX #120A8F
  • RGB rgb(18, 10, 143)
  • HSL hsl(243, 93%, 56%)
  • CMYK cmyk( 87.41, 93.01, 0, 43.92 )
  • Websafe #000099

Tags

Tip: tags are heuristic suggestions (helpful for browsing and inspiration).

Color Harmonies

Colors that pair well with #120A8F based on color theory relationships.

Complementary

The color directly opposite on the color wheel — creates maximum contrast and vibrance.

Ultramarine
#120A8F Base
#878F0A
Analogous

Colors adjacent on the wheel — naturally harmonious and pleasing to the eye.

Ultramarine
#120A8F Base
#0A458F
#540A8F
Triadic

Three colors equally spaced 120° apart — bold, balanced, and visually rich.

Ultramarine
#120A8F Base
#8F120A
#0A8F12
Split-Complementary

Two colors flanking the complement — high contrast with less tension than full complementary.

Ultramarine
#120A8F Base
#8F540A
#458F0A
Tetradic (Square)

Four colors at 90° intervals — rich variety, best when one color dominates.

Ultramarine
#120A8F Base
#8F0A45
#878F0A
#0A8F54
Monochromatic

Shades and tints of the same hue — cohesive, elegant, and easy to work with.

Ultramarine
#120A8F Base
#030218
#090547
#0D0769
#170DB5
#1B0FD6
#4B40F2
Shades & Tints

Darker shades and lighter tints of Ultramarine, generated by adjusting lightness while keeping the same hue and saturation.

Shades (darker)

#030218
#060330
#090547
#0C075F
#0F0877
Ultramarine #120A8F Base
#1A0ECD
#392DF0
#736BF5
#AEA9F9
#E8E7FD
CSS & SCSS Snippets

Ready-to-use code snippets for #120A8F. Click the copy button to copy any snippet to your clipboard.

CSS Properties
/* Background */
.element {
    background-color: #120A8F;
}

/* Text */
.element {
    color: #120A8F;
}

/* Border */
.element {
    border: 1px solid #120A8F;
}
CSS Gradient
/* Linear gradient to complementary */
.element {
    background: linear-gradient(
        to right,
        #120A8F,
        #EBF727
    );
}

/* Radial gradient */
.element {
    background: radial-gradient(
        circle,
        #120A8F,
        #EBF727
    );
}
SCSS Variable
// SCSS variable
$ultramarine: #120A8F;

// With RGB channels (useful for rgba() usage)
$ultramarine-r: 18;
$ultramarine-g: 10;
$ultramarine-b: 143;

// Usage
.element {
    background-color: $ultramarine;
    color: rgba($ultramarine-r, $ultramarine-g, $ultramarine-b, 0.8);
}
Color Blindness Simulation

How Ultramarine appears to people with different types of color vision deficiency.

Normal Vision #120A8F How the color appears with full color vision.
Deuteranopia #0D0D8F Deuteranopia affects ~8% of males. Green cones are absent, making it difficult to distinguish red from green. The most common form of color blindness.
Protanopia #0B0B8F Protanopia affects ~1% of males. Red cones are absent, causing reds to appear dark and indistinguishable from greens and browns.
Tritanopia #003636 Tritanopia is rare (~0.003%). Blue cones are absent, making blue and yellow difficult to distinguish. Blues may appear green, yellows appear pink.
Achromatopsia #2A2A2A Achromatopsia is complete color blindness. The world is seen entirely in shades of grey. Affects ~1 in 30,000 people.
Similar Named Colors

The closest named colors to Ultramarine ranked by perceptual difference (Delta-E 2000 — lower = more similar).

Ultramarine #120A8F Base
Phthalo Blue #000F89 ΔE 1.45
Dark Blue #00008B ΔE 1.68
Duke Blue #00009C ΔE 1.96
Navy Blue #000080 ΔE 2.84

How to use this color

  1. Copy HEX for CSS and design tools, or RGB/HSL for UI adjustments.
  2. Use CMYK when preparing print assets (posters, packaging, brochures).
  3. Check contrast before using it for text or important UI elements.