The name means beyond the sea, because the pigment came from lapis lazuli mined in Afghanistan. During the Renaissance it was more expensive than gold. It's a deep blue with a violet touch.
Also known as: ultramarine blue.
The hex code for ultramarine is #120A8F. In RGB it is rgb(18, 10, 143), in HSL hsl(244, 87%, 30%) and in CMYK 87, 93, 0, 44.
Pick a color to pair it with and see how it looks on clothes, interiors and design.
Ultramarine (#120A8F) is a cool, dark, highly saturated color. It belongs to the blues family. It mixes 18 red, 10 green and 143 blue (out of 255). It is mostly used in art, home decor, illustration.

From lightest to darkest. Tap a shade to copy its code.
See all its shades: Color shades generator
Combinations based on the color wheel. More in the color harmony tool.
Copy the codes or open a palette in the editor to tweak it.
Based on WCAG 2.1 guidelines. Test other pairs in the contrast checker.
:root {
--ultramarine: #120A8F;
--ultramarine-rgb: 18, 10, 143;
}
.bg { background-color: var(--ultramarine); }
.text { color: var(--ultramarine); }
The hex code for ultramarine is #120A8F. In RGB it is rgb(18, 10, 143), in HSL hsl(244, 87%, 30%) and in CMYK 87, 93, 0, 44.
Its complement on the color wheel is #878F0A, close to olive green. Used in small doses, it works as an accent and adds strong contrast.
Yes. The contrast with white is 14.3:1, enough for body text (WCAG AA).
We use Google Analytics cookies to understand how the site is used. Is that OK? Learn more