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%.
#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
| Pair | WCAG 2.x ratio | APCA Lc | Result |
|---|---|---|---|
| Sapphire text on white | 9.47 : 1 | 91 | AAA — any text |
| Sapphire text on black | 2.22 : 1 | -11 | Fails for text |
| White text on Sapphire | 9.47 : 1 | -95 | AAA — any text |
| Black text on Sapphire | 2.22 : 1 | 13 | Fails for 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
- Blue Blue #2242C7
- Indigo Blue #3A18B1
- Cobalt #1E488F
- Ultramarine #2000B1
- Dark Slate Blue #483D8B
- Cobalt Blue #030AA7
- Blue With A Hint Of Purple #533CC6
- Royal #0C1793
- Medium Blue #0000CD
- Twilight Blue #0A437A
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)