#4F5140

Closest named color: Dark Slate Gray (#2F4F4F). oklch(42.8% 0.027 113), rgb(79, 81, 64).

Aa

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

About this color

#4F5140 is a dark close to neutral grey. In OKLCH its lightness is 43%, its chroma 0.027. It has too little chroma to lean warm or cool. The nearest named color is Dark Slate Gray (#2F4F4F), ΔE 0.050 away. White text reads best on it, at 8.12:1.

Hue familyNeutrals
Lightnessdark (43%)
Chromaclose to neutral grey (0.027)
Temperatureneutral
Nearest nameDark Slate Gray (#2F4F4F)
Black text2.58:1
White text8.12:1

Values

HEX#4F5140
RGBrgb(79, 81, 64)
HSLhsl(67, 12%, 28%)
OKLCHoklch(42.8% 0.027 113)

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 #4F5140 8.12:1 AAA Lc -92.8 Preferred for body text
Black text on #4F5140 2.58:1 Fails Lc 15.8 Dividers and decoration only
#4F5140 text on white 8.12:1 AAA Lc 88.2 Fine for body text
#4F5140 text on black 2.58:1 Fails Lc -14.0 Not readable

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

    #F5F5F4

    oklch(97% 0.001 106.4)

  2. Step 100

    100

    #EAEAE7

    oklch(93.6% 0.004 106.5)

  3. Step 200

    200

    #D9DAD3

    oklch(88.6% 0.01 113.2)

  4. Step 300

    300

    #C0C2B6

    oklch(80.9% 0.017 114.4)

  5. Step 400

    400

    #A0A391

    oklch(70.8% 0.026 114.7)

  6. Step 500

    500

    #898C76

    oklch(63.1% 0.032 113.6)

  7. Step 600

    600

    #73765E

    oklch(55.6% 0.036 113.4)

  8. Step 700

    700

    #60634E

    oklch(49.1% 0.032 114.2)

  9. Step 800

    800 (this color)

    #4F5140

    oklch(42.8% 0.027 113)

  10. Step 900

    900

    #414336

    oklch(37.7% 0.022 114.5)

  11. Step 950

    950

    #262720

    oklch(26.9% 0.013 113.9)

Export this scale for Tailwind in the Tailwind colors tool

#4F5140 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)#544F3F0.009
Deuteranopia (no green cones)#5450410.009
Tritanopia (no blue cones)#514F4C0.023
Achromatopsia (no color)#4F4F4F0.027

Harmonies

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

Complementary

The opposite hue (180°).

  • #4F5140

    #4F5140

    oklch(42.8% 0.027 113)

  • #4F4D5D

    #4F4D5D

    oklch(42.8% 0.026 291)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #4F5140

    #4F5140

    oklch(42.8% 0.027 113)

  • #574E3E

    #574E3E

    oklch(42.8% 0.028 81.9)

  • #475346

    #475346

    oklch(42.8% 0.026 143)

Open the analogous palette in the generator

Split complementary

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

  • #4F5140

    #4F5140

    oklch(42.8% 0.027 113)

  • #474F5F

    #474F5F

    oklch(42.7% 0.029 264.2)

  • #574A58

    #574A58

    oklch(42.7% 0.028 323.8)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #4F5140

    #4F5140

    oklch(42.8% 0.027 113)

  • #41525C

    #41525C

    oklch(42.8% 0.027 234.1)

  • #5C4950

    #5C4950

    oklch(42.8% 0.028 354.3)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #4F5140

    #4F5140

    oklch(42.8% 0.027 113)

  • #3E5456

    #3E5456

    oklch(42.9% 0.027 203.2)

  • #4F4D5D

    #4F4D5D

    oklch(42.8% 0.026 291)

  • #5D4A48

    #5D4A48

    oklch(42.8% 0.026 25.2)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

Use #4F5140 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.