#5F787A

Closest named color: Battleship Gray (#6C757D). oklch(55.4% 0.029 202.4), rgb(95, 120, 122).

Aa

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

About this color

#5F787A is a medium-dark close to neutral grey. In OKLCH its lightness is 55%, its chroma 0.029. It has too little chroma to lean warm or cool. The nearest named color is Battleship Gray (#6C757D), ΔE 0.021 away. White text reads best on it, at 4.71:1.

Hue familyNeutrals
Lightnessmedium-dark (55%)
Chromaclose to neutral grey (0.029)
Temperatureneutral
Nearest nameBattleship Gray (#6C757D)
Black text4.45:1
White text4.71:1

Values

HEX#5F787A
RGBrgb(95, 120, 122)
HSLhsl(184, 12%, 43%)
OKLCHoklch(55.4% 0.029 202.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 #5F787A 4.71:1 AA Lc -78.2 Fine for body text
Black text on #5F787A 4.45:1 AA large text Lc 31.3 Non-text elements, placeholder text
#5F787A text on white 4.71:1 AA Lc 72.7 Content text, not long reading
#5F787A text on black 4.45:1 AA large text Lc -29.0 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 600.

  1. Step 50

    50

    #F4F6F6

    oklch(97.2% 0.002 197.1)

  2. Step 100

    100

    #E7EBEB

    oklch(93.7% 0.004 197.1)

  3. Step 200

    200

    #D4DBDB

    oklch(88.6% 0.008 197)

  4. Step 300

    300

    #B7C3C4

    oklch(80.8% 0.013 202.9)

  5. Step 400

    400

    #92A5A6

    oklch(70.7% 0.021 200.5)

  6. Step 500

    500

    #778F90

    oklch(63.2% 0.027 199.6)

  7. Step 600

    600 (this color)

    #5F787A

    oklch(55.4% 0.029 202.4)

  8. Step 700

    700

    #4F6667

    oklch(49.2% 0.027 199.6)

  9. Step 800

    800

    #415354

    oklch(42.7% 0.022 200.5)

  10. Step 900

    900

    #374446

    oklch(37.6% 0.017 207.8)

  11. Step 950

    950

    #202829

    oklch(27% 0.011 205.8)

Export this scale for Tailwind in the Tailwind colors tool

#5F787A 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)#74767A0.029
Deuteranopia (no green cones)#6F727A0.027
Tritanopia (no blue cones)#577A790.012
Achromatopsia (no color)#7373730.029

Harmonies

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

Complementary

The opposite hue (180°).

  • #5F787A

    #5F787A

    oklch(55.4% 0.029 202.4)

  • #836C6B

    #836C6B

    oklch(55.3% 0.029 21)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #5F787A

    #5F787A

    oklch(55.4% 0.029 202.4)

  • #627871

    #627871

    oklch(55.3% 0.028 174)

  • #627681

    #627681

    oklch(55.4% 0.029 232.1)

Open the analogous palette in the generator

Split complementary

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

  • #5F787A

    #5F787A

    oklch(55.4% 0.029 202.4)

  • #816C74

    #816C74

    oklch(55.4% 0.029 353.2)

  • #816E63

    #816E63

    oklch(55.3% 0.029 51.9)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #5F787A

    #5F787A

    oklch(55.4% 0.029 202.4)

  • #7B6D7D

    #7B6D7D

    oklch(55.3% 0.03 322)

  • #7B7160

    #7B7160

    oklch(55.3% 0.028 81)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #5F787A

    #5F787A

    oklch(55.4% 0.029 202.4)

  • #737083

    #737083

    oklch(55.5% 0.029 292.7)

  • #836C6B

    #836C6B

    oklch(55.3% 0.029 21)

  • #737561

    #737561

    oklch(55.5% 0.03 112)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

Use #5F787A 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.