AfoliOpen Afoli →

Sapphire color #2138AB

Sapphire is a color name from the xkcd color survey for the hex code #2138AB — RGB 33, 56, 171, HSL 230°, 68%, 40%.

Open in Afoli Colour tools →

#2138ABSapphire

Color codes

HEX
#2138AB
RGB
rgb(33, 56, 171)
HSL
hsl(230, 68%, 40%)
CMYK
81%, 67%, 0%, 33%
OKLCH
oklch(40.7% 0.184 267.8)

Tints and shades

#F1F5FF#CADAFF#A4BEFF#7FA1FF#5C83FB#4669DF#314FC3#1F34A7#10168C#080065#020035

Color harmonies

Complementary
#2138AB#5C4600
Analogous
#004F74#2138AB#59219D
Triadic
#2138AB#8E0007#005A1F
Split complementary
#2138AB#703900#465000
Tetradic
#2138AB#88004A#5C4600#005749

Contrast with text

PairWCAG 2.x ratioAPCA LcResult
Sapphire text on white9.47 : 191AAA — any text
Sapphire text on black2.22 : 1-11Fails for text
White text on Sapphire9.47 : 1-95AAA — any text
Black text on Sapphire2.22 : 113Fails 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 Sapphire?

Sapphire has the hex code #2138AB, which is RGB 33, 56, 171 and HSL 230°, 68%, 40%.

Which text color reads best on Sapphire?

White text: contrast 9.47 : 1 (black text: 2.22 : 1).

Which colors go well with Sapphire?

Its complementary color is #5C4600; analogous colors are #004F74 and #59219D; a triadic set adds #8E0007 and #005A1F.

Similar colors

Sources and licences

Updated November 21, 2026