AfoliOpen Afoli →

Denim color #3B638C

Denim is a color name from the xkcd color survey for the hex code #3B638C — RGB 59, 99, 140, HSL 210°, 41%, 39%.

Open in Afoli Colour tools →

#3B638CDenim

Color codes

HEX
#3B638C
RGB
rgb(59, 99, 140)
HSL
hsl(210, 41%, 39%)
CMYK
58%, 29%, 0%, 45%
OKLCH
oklch(48.9% 0.08 250.3)

Tints and shades

#EEF6FF#BEDEFF#99C4F2#7FAAD7#6791BC#4F78A2#386089#214970#093358#001E3B#000B1D

Color harmonies

Complementary
#3B638C#7D5828
Analogous
#1B6A80#3B638C#575A8D
Triadic
#3B638C#874C55#506937
Split complementary
#3B638C#87503C#6A6125
Tetradic
#3B638C#7F4D6E#7D5828#316E50

Contrast with text

PairWCAG 2.x ratioAPCA LcResult
Denim text on white6.27 : 181AA — body text
Denim text on black3.35 : 1-21AA for large text only
White text on Denim6.27 : 1-86AA — body text
Black text on Denim3.35 : 123AA for large text only

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 Denim?

Denim has the hex code #3B638C, which is RGB 59, 99, 140 and HSL 210°, 41%, 39%.

Which text color reads best on Denim?

White text: contrast 6.27 : 1 (black text: 3.35 : 1).

Which colors go well with Denim?

Its complementary color is #7D5828; analogous colors are #1B6A80 and #575A8D; a triadic set adds #874C55 and #506937.

Similar colors

Sources and licences

Updated November 21, 2026