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%.
#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
| Pair | WCAG 2.x ratio | APCA Lc | Result |
|---|---|---|---|
| Ultramarine text on white | 12.38 : 1 | 95 | AAA — any text |
| Ultramarine text on black | 1.70 : 1 | 0 | Fails for text |
| White text on Ultramarine | 12.38 : 1 | -99 | AAA — any text |
| Black text on Ultramarine | 1.70 : 1 | 8 | Fails for 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
- Cobalt Blue #030AA7
- Indigo Blue #3A18B1
- Royal #0C1793
- Medium Blue #0000CD
- Sapphire #2138AB
- Dark Blue #00008B
- Pure Blue #0203E2
- Violet Blue #510AC9
- Navy #000080
- Blue Blue #2242C7
Sources and licences
- xkcd color survey (Randall Munroe, CC0 1.0)
- Afoli — conversions, shades, harmonies, WCAG 2.x / APCA contrast (tools/color/color-core.js)