AfoliOpen Afoli →

Ultramarine color #2000B1

Ultramarine is a color name from the xkcd color survey for the hex code #2000B1 — RGB 32, 0, 177, HSL 251°, 100%, 35%.

Open in Afoli Colour tools →

#2000B1Ultramarine

Color codes

HEX
#2000B1
RGB
rgb(32, 0, 177)
HSL
hsl(251, 100%, 35%)
CMYK
82%, 100%, 0%, 31%
OKLCH
oklch(35.5% 0.231 270.6)

Tints and shades

#F1F5FF#CCD9FF#A8BDFF#849FFF#637FFF#475DF9#3540DC#261EBF#1A0096#0D0063#040034

Color harmonies

Complementary
#2000B1#4A3A00
Analogous
#004062#2000B1#4F008C
Triadic
#2000B1#740700#00491F
Split complementary
#2000B1#5A2F00#364200
Tetradic
#2000B1#710038#4A3A00#00463D

Contrast with text

PairWCAG 2.x ratioAPCA LcResult
Ultramarine text on white12.38 : 195AAA — any text
Ultramarine text on black1.70 : 10Fails for text
White text on Ultramarine12.38 : 1-99AAA — any text
Black text on Ultramarine1.70 : 18Fails for text

WCAG 2.x needs 4.5 : 1 for body text and 3 : 1 for large text; APCA asks for |Lc| 75 for body text and 60 for large text.

Frequently asked questions

What is the hex code of Ultramarine?

Ultramarine has the hex code #2000B1, which is RGB 32, 0, 177 and HSL 251°, 100%, 35%.

Which text color reads best on Ultramarine?

White text: contrast 12.38 : 1 (black text: 1.70 : 1).

Which colors go well with Ultramarine?

Its complementary color is #4A3A00; analogous colors are #004062 and #4F008C; a triadic set adds #740700 and #00491F.

Similar colors

Sources and licences

Updated November 21, 2026