Ultramarine color: hex code #120A8F
Ultramarine has the hex code #120A8F. It is a dark, vivid blue.
In the RGB color model it is made of 7.1% red, 3.9% green and 56.1% blue (18, 10, 143).
Its hue angle is 244°, with 87% saturation and 30% lightness. For print, the CMYK equivalent is 87% cyan, 93% magenta, 0% yellow and 44% black.
White text is the more readable choice on this background (contrast 14.33:1).
Ultramarine (#120A8F) color codes
| HEX | #120A8F | |
|---|---|---|
| RGB | rgb(18, 10, 143) | |
| RGB percent | rgb(7.1%, 3.9%, 56.1%) | |
| HSL | hsl(244, 87%, 30%) | |
| HSV / HSB | hsv(244, 93%, 56%) | |
| CMYK | cmyk(87%, 93%, 0%, 44%) | |
| CIE LAB | lab(17.12, 48.42, -67.21) | |
| CIE LCH | lch(17.12, 82.84, 305.77) | |
| CIE XYZ | xyz(5.314, 2.328, 26.151) | |
| Decimal | 1182351 | |
| Short hex | None (no 3-digit form) |
Color harmonies
Colors that go with Ultramarine, based on their position on the color wheel.
Complementary
The color opposite on the color wheel (180°). Strongest contrast.
Analogous
Neighbors 30° either side. Calm, natural combinations.
Split complementary
The two colors next to the complement (150° and 210°).
Triadic
Three colors evenly spaced, 120° apart.
Tetradic (square)
Four colors 90° apart.
Shades, tints and tones
Shades (darker, mixed with black)
Tints (lighter, mixed with white)
Tones (mixed with gray)
Contrast and accessibility
| Text on #120A8F | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 1.47:1 | Fail | Fail | Fail |
| Sample text | 14.33:1 | Pass | Pass | Pass |
| #120A8F as text on | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 14.33:1 | Pass | Pass | Pass |
| Sample text | 1.47:1 | Fail | Fail | Fail |
WCAG 2 asks for 4.5:1 for normal text (AA), 7:1 for AAA, and 3:1 for large text. Check other pairs.
Color blindness simulation
How #120A8F looks to people with the most common types of color vision deficiency.
#003192Protanopia
no red cones#00238dDeuteranopia
no green cones#003a53Tritanopia
no blue cones#2a2a2aAchromatopsia
no color vision
CSS examples
.background { background-color: #120a8f; }
.text { color: #120a8f; }
.border { border: 2px solid #120a8f; }
.transparent { background-color: rgb(18 10 143 / 50%); }
.gradient { background: linear-gradient(to right, #120a8f, #550a8f); }
Similar colors
#111188Galactic Cruise#00008bDark Blue#221188Nightly Expedition#000099Everlasting Night#001199Space Exploration#240093Dramatic Blue#000088Midnight in Tokyo#220088Orbital Kingdom
See #120A8F on its hex code page
Questions
- What color is #120A8F?
- #120A8F is a dark, vivid blue known as Ultramarine. It belongs to the blue family of colors.
- What is the RGB value of Ultramarine?
- The RGB value is 18, 10, 143: 18 red, 10 green and 143 blue on a 0 to 255 scale.
- What is the complementary color of Ultramarine?
- The complementary color is #878F0A, found by rotating the hue 180° on the color wheel.
- Is black or white text better on #120A8F?
- White text. Black text has a contrast ratio of 1.47:1 and white text 14.33:1. WCAG asks for at least 4.5:1 for normal text.