#5F787F

Closest named color: Battleship Gray (#6C757D). oklch(55.5% 0.031 216.7), rgb(95, 120, 127).

Aa

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

About this color

#5F787F is a medium-dark, muted teal or cyan. In OKLCH its lightness is 56%, its chroma 0.031 and its hue 217°. Its hue sits on the cool side of the wheel. The nearest named color is Battleship Gray (#6C757D), ΔE 0.018 away. White text reads best on it, at 4.68:1.

Hue familyTeals and cyans
Lightnessmedium-dark (56%)
Chromamuted (0.031)
Temperaturecool
Nearest nameBattleship Gray (#6C757D)
Black text4.47:1
White text4.68:1

Values

HEX#5F787F
RGBrgb(95, 120, 127)
HSLhsl(193, 14%, 44%)
OKLCHoklch(55.5% 0.031 216.7)

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 #5F787F 4.68:1 AA Lc -78.0 Fine for body text
Black text on #5F787F 4.47:1 AA large text Lc 31.5 Non-text elements, placeholder text
#5F787F text on white 4.68:1 AA Lc 72.6 Content text, not long reading
#5F787F text on black 4.47:1 AA large text Lc -29.1 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

    #E7EAEB

    oklch(93.5% 0.004 219.5)

  3. Step 200

    200

    #D4DADC

    oklch(88.4% 0.007 219.6)

  4. Step 300

    300

    #B7C3C6

    oklch(80.9% 0.014 214.4)

  5. Step 400

    400

    #92A4AA

    oklch(70.7% 0.022 219.8)

  6. Step 500

    500

    #778E95

    oklch(63.1% 0.028 218.1)

  7. Step 600

    600 (this color)

    #5F787F

    oklch(55.5% 0.031 216.7)

  8. Step 700

    700

    #4E656B

    oklch(49% 0.029 215.4)

  9. Step 800

    800

    #405258

    oklch(42.6% 0.024 220.1)

  10. Step 900

    900

    #374448

    oklch(37.7% 0.018 218.4)

  11. Step 950

    950

    #20282A

    oklch(27% 0.012 214.5)

Export this scale for Tailwind in the Tailwind colors tool

#5F787F 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)#73767F0.028
Deuteranopia (no green cones)#6E727F0.026
Tritanopia (no blue cones)#557B7A0.019
Achromatopsia (no color)#7474740.031

Harmonies

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

Complementary

The opposite hue (180°).

  • #5F787F

    #5F787F

    oklch(55.5% 0.031 216.7)

  • #846D67

    #846D67

    oklch(55.5% 0.031 35)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #5F787F

    #5F787F

    oklch(55.5% 0.031 216.7)

  • #5F7976

    #5F7976

    oklch(55.5% 0.031 187.6)

  • #657585

    #657585

    oklch(55.5% 0.031 248.4)

Open the analogous palette in the generator

Split complementary

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

  • #5F787F

    #5F787F

    oklch(55.5% 0.031 216.7)

  • #846C70

    #846C70

    oklch(55.6% 0.031 6.9)

  • #807060

    #807060

    oklch(55.6% 0.031 67.1)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #5F787F

    #5F787F

    oklch(55.5% 0.031 216.7)

  • #806C7A

    #806C7A

    oklch(55.5% 0.032 336.9)

  • #78735F

    #78735F

    oklch(55.4% 0.03 95.6)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #5F787F

    #5F787F

    oklch(55.5% 0.031 216.7)

  • #786F82

    #786F82

    oklch(55.6% 0.031 306.7)

  • #846D67

    #846D67

    oklch(55.5% 0.031 35)

  • #6E7763

    #6E7763

    oklch(55.6% 0.032 127.2)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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