#4A5145

Closest named color: Dark Slate Gray (#2F4F4F). oklch(42.5% 0.021 132.1), rgb(74, 81, 69).

Aa

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

About this color

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

Hue familyNeutrals
Lightnessdark (42%)
Chromaclose to neutral grey (0.021)
Temperatureneutral
Nearest nameDark Slate Gray (#2F4F4F)
Black text2.55:1
White text8.22:1

Values

HEX#4A5145
RGBrgb(74, 81, 69)
HSLhsl(95, 8%, 29%)
OKLCHoklch(42.5% 0.021 132.1)

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 #4A5145 8.22:1 AAA Lc -93.1 Preferred for body text
Black text on #4A5145 2.55:1 Fails Lc 15.6 Dividers and decoration only
#4A5145 text on white 8.22:1 AAA Lc 88.4 Fine for body text
#4A5145 text on black 2.55:1 Fails Lc -13.7 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

    #F5F6F4

    oklch(97.2% 0.003 128.5)

  2. Step 100

    100

    #E9EAE8

    oklch(93.6% 0.003 128.5)

  3. Step 200

    200

    #D7DAD5

    oklch(88.5% 0.007 132.4)

  4. Step 300

    300

    #BEC2BA

    oklch(80.9% 0.012 128.6)

  5. Step 400

    400

    #9CA397

    oklch(70.6% 0.019 131.9)

  6. Step 500

    500

    #848D7D

    oklch(63.1% 0.026 131.3)

  7. Step 600

    600

    #6D7766

    oklch(55.6% 0.028 132.3)

  8. Step 700

    700

    #5B6455

    oklch(49.1% 0.026 132.8)

  9. Step 800

    800 (this color)

    #4A5145

    oklch(42.5% 0.021 132.1)

  10. Step 900

    900

    #3E443A

    oklch(37.8% 0.018 132.7)

  11. Step 950

    950

    #242822

    oklch(27.1% 0.012 135.1)

Export this scale for Tailwind in the Tailwind colors tool

#4A5145 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)#524F440.013
Deuteranopia (no green cones)#514F460.013
Tritanopia (no blue cones)#4A504E0.016
Achromatopsia (no color)#4F4F4F0.022

Harmonies

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

Complementary

The opposite hue (180°).

  • #4A5145

    #4A5145

    oklch(42.5% 0.021 132.1)

  • #524B57

    #524B57

    oklch(42.4% 0.021 311.3)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #4A5145

    #4A5145

    oklch(42.5% 0.021 132.1)

  • #504F42

    #504F42

    oklch(42.4% 0.021 103.6)

  • #44524B

    #44524B

    oklch(42.4% 0.021 163.8)

Open the analogous palette in the generator

Split complementary

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

  • #4A5145

    #4A5145

    oklch(42.5% 0.021 132.1)

  • #4C4D5A

    #4C4D5A

    oklch(42.4% 0.021 282)

  • #574A52

    #574A52

    oklch(42.5% 0.021 340.6)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #4A5145

    #4A5145

    oklch(42.5% 0.021 132.1)

  • #464F5A

    #464F5A

    oklch(42.4% 0.022 253.5)

  • #594A4B

    #594A4B

    oklch(42.5% 0.02 13.4)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #4A5145

    #4A5145

    oklch(42.5% 0.021 132.1)

  • #425157

    #425157

    oklch(42.4% 0.021 224.1)

  • #524B57

    #524B57

    oklch(42.4% 0.021 311.3)

  • #594B45

    #594B45

    oklch(42.5% 0.021 44.5)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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