#5B5259

Closest named color: Dusty Grape (#545775). oklch(45% 0.016 333.4), rgb(91, 82, 89).

Aa

White text reads best on this color (7.51:1).

About this color

#5B5259 is a dark close to neutral grey. In OKLCH its lightness is 45%, its chroma 0.016. It has too little chroma to lean warm or cool. The nearest named color is Dusty Grape (#545775), ΔE 0.044 away. White text reads best on it, at 7.51:1.

Hue familyNeutrals
Lightnessdark (45%)
Chromaclose to neutral grey (0.016)
Temperatureneutral
Nearest nameDusty Grape (#545775)
Black text2.79:1
White text7.51:1

Values

HEX#5B5259
RGBrgb(91, 82, 89)
HSLhsl(313, 5%, 34%)
OKLCHoklch(45% 0.016 333.4)

Contrast

WCAG 2 contrast ratios are the conformance target: AA needs 4.5:1 for body text and 3:1 for large text, AAA needs 7:1. APCA Lc values are supplementary guidance from the WCAG 3 drafts.

PairWCAG 2ResultAPCAAPCA guidance
White text on #5B5259 7.51:1 AAA Lc -90.9 Preferred for body text
Black text on #5B5259 2.79:1 Fails Lc 17.9 Dividers and decoration only
#5B5259 text on white 7.51:1 AAA Lc 86.1 Fine for body text
#5B5259 text on black 2.79:1 Fails Lc -15.9 Dividers and decoration only

Tints and shades

A 50–950 scale built in OKLCH: the hue is held, lightness follows a Tailwind v4-like curve, and every step is kept inside the sRGB gamut. This color sits at step 800.

  1. Step 50

    50

    #F6F5F6

    oklch(97.1% 0.002 325.6)

  2. Step 100

    100

    #EBE9EA

    oklch(93.6% 0.003 345.2)

  3. Step 200

    200

    #DBD8DA

    oklch(88.5% 0.004 337.4)

  4. Step 300

    300

    #C4BEC3

    oklch(80.8% 0.01 331)

  5. Step 400

    400

    #A79DA5

    oklch(70.7% 0.016 332.3)

  6. Step 500

    500

    #91858E

    oklch(63% 0.019 334.4)

  7. Step 600

    600

    #7B6F79

    oklch(55.6% 0.021 331.3)

  8. Step 700

    700

    #685D65

    oklch(49.2% 0.019 335.4)

  9. Step 800

    800 (this color)

    #5B5259

    oklch(45% 0.016 333.4)

  10. Step 900

    900

    #463F44

    oklch(37.7% 0.013 335.9)

  11. Step 950

    950

    #292528

    oklch(27% 0.008 334.4)

Export this scale for Tailwind in the Tailwind colors tool

#5B5259 with color blindness

Simulated with the Machado et al. (2009) model. ΔE is how far the color moves: below about 0.02 you would not notice a change.

VisionSeen asShift (ΔE)
Protanopia (no red cones)#5254590.015
Deuteranopia (no green cones)#5455590.014
Tritanopia (no blue cones)#5C52540.008
Achromatopsia (no color)#5555550.016

Harmonies

Hue rotations in OKLCH that keep this color's lightness and chroma.

Complementary

The opposite hue (180°).

  • #5B5259

    #5B5259

    oklch(45% 0.016 333.4)

  • #4F5851

    #4F5851

    oklch(45% 0.016 152.2)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #5B5259

    #5B5259

    oklch(45% 0.016 333.4)

  • #57535D

    #57535D

    oklch(45% 0.017 303.8)

  • #5D5254

    #5D5254

    oklch(45% 0.015 5.3)

Open the analogous palette in the generator

Split complementary

The two hues beside the complement (150° and 210°).

  • #5B5259

    #5B5259

    oklch(45% 0.016 333.4)

  • #53574D

    #53574D

    oklch(45% 0.017 124.9)

  • #4C5856

    #4C5856

    oklch(44.9% 0.015 184.5)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #5B5259

    #5B5259

    oklch(45% 0.016 333.4)

  • #58554B

    #58554B

    oklch(44.9% 0.016 93.2)

  • #4B585B

    #4B585B

    oklch(45% 0.017 213.2)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #5B5259

    #5B5259

    oklch(45% 0.016 333.4)

  • #5C534C

    #5C534C

    oklch(44.9% 0.016 60.3)

  • #4F5851

    #4F5851

    oklch(45% 0.016 152.2)

  • #4E565E

    #4E565E

    oklch(44.9% 0.017 248.2)

Open the square palette in the generator

Palettes with this color

Curated palettes that contain a color within ΔE 0.04 (OKLab) of #5B5259, closest first.

Similar named colors

The eight closest entries in our named color list, with their ΔE distance.

Use #5B5259 in your product

Turn it into light and dark UI roles checked for contrast, then export to Tailwind v4, shadcn/ui, CSS or design tokens.