AfoliOpen Afoli →

Dark Indigo color #1F0954

Dark Indigo is a color name from the xkcd color survey for the hex code #1F0954 — RGB 31, 9, 84, HSL 258°, 81%, 18%.

Open in Afoli Colour tools →

#1F0954Dark Indigo

Color codes

HEX
#1F0954
RGB
rgb(31, 9, 84)
HSL
hsl(258, 81%, 18%)
CMYK
63%, 89%, 0%, 67%
OKLCH
oklch(23.9% 0.122 286.1)

Tints and shades

#F4F4FF#D6D5FF#BAB6FF#A09AEF#8780D3#6F68B8#59509E#433884#2F216B#1E0752#0C002E

Color harmonies

Complementary
#1F0954#222000
Analogous
#001D45#1F0954#330043
Triadic
#1F0954#381200#002619
Split complementary
#1F0954#2C1B00#0D2600
Tetradic
#1F0954#41000E#222000#002525

Contrast with text

PairWCAG 2.x ratioAPCA LcResult
Dark Indigo text on white17.14 : 1103AAA — any text
Dark Indigo text on black1.23 : 10Fails for text
White text on Dark Indigo17.14 : 1-106AAA — any text
Black text on Dark Indigo1.23 : 10Fails 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.

Palettes with this color

Frequently asked questions

What is the hex code of Dark Indigo?

Dark Indigo has the hex code #1F0954, which is RGB 31, 9, 84 and HSL 258°, 81%, 18%.

Which text color reads best on Dark Indigo?

White text: contrast 17.14 : 1 (black text: 1.23 : 1).

Which colors go well with Dark Indigo?

Its complementary color is #222000; analogous colors are #001D45 and #330043; a triadic set adds #381200 and #002619.

Similar colors

Sources and licences

Updated November 21, 2026