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
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.
The color directly opposite on the color wheel — creates maximum contrast and vibrance.
#120A8F
Base
#878F0A
Colors adjacent on the wheel — naturally harmonious and pleasing to the eye.
#120A8F
Base
#0A458F
#540A8F
Three colors equally spaced 120° apart — bold, balanced, and visually rich.
#120A8F
Base
#8F120A
#0A8F12
Two colors flanking the complement — high contrast with less tension than full complementary.
#120A8F
Base
#8F540A
#458F0A
Four colors at 90° intervals — rich variety, best when one color dominates.
#120A8F
Base
#8F0A45
#878F0A
#0A8F54
Shades and tints of the same hue — cohesive, elegant, and easy to work with.
#120A8F
Base
#030218
#090547
#0D0769
#170DB5
#1B0FD6
#4B40F2
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
#120A8F
Base
#1A0ECD
#392DF0
#736BF5
#AEA9F9
#E8E7FD
Ready-to-use code snippets for #120A8F. Click the copy button to copy any snippet to your clipboard.
/* Background */
.element {
background-color: #120A8F;
}
/* Text */
.element {
color: #120A8F;
}
/* Border */
.element {
border: 1px solid #120A8F;
}
/* Linear gradient to complementary */
.element {
background: linear-gradient(
to right,
#120A8F,
#EBF727
);
}
/* Radial gradient */
.element {
background: radial-gradient(
circle,
#120A8F,
#EBF727
);
}
// 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);
}
How Ultramarine appears to people with different types of color vision deficiency.
#120A8F
How the color appears with full color vision.
#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.
#0B0B8F
Protanopia affects ~1% of males. Red cones are absent, causing reds to appear dark and indistinguishable from greens and browns.
#003636
Tritanopia is rare (~0.003%). Blue cones are absent, making blue and yellow difficult to distinguish. Blues may appear green, yellows appear pink.
#2A2A2A
Achromatopsia is complete color blindness. The world is seen entirely in shades of grey. Affects ~1 in 30,000 people.
How to use this color
- Copy HEX for CSS and design tools, or RGB/HSL for UI adjustments.
- Use CMYK when preparing print assets (posters, packaging, brochures).
- Check contrast before using it for text or important UI elements.