#42545D

Closest named color: Dark Slate Gray (#2F4F4F). oklch(43.4% 0.027 229.8), rgb(66, 84, 93).

Aa

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

About this color

#42545D 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.038 away. White text reads best on it, at 7.90:1.

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

Values

HEX#42545D
RGBrgb(66, 84, 93)
HSLhsl(200, 17%, 31%)
OKLCHoklch(43.4% 0.027 229.8)

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 #42545D 7.90:1 AAA Lc -92.1 Preferred for body text
Black text on #42545D 2.65:1 Fails Lc 16.6 Dividers and decoration only
#42545D text on white 7.90:1 AAA Lc 87.4 Fine for body text
#42545D text on black 2.65:1 Fails Lc -14.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

    #F4F6F6

    oklch(97.2% 0.002 197.1)

  2. Step 100

    100

    #E7EAEC

    oklch(93.5% 0.004 236.5)

  3. Step 200

    200

    #D4DADE

    oklch(88.5% 0.009 236.6)

  4. Step 300

    300

    #B7C3C9

    oklch(81% 0.016 229)

  5. Step 400

    400

    #91A4AD

    oklch(70.7% 0.025 227.9)

  6. Step 500

    500

    #768E99

    oklch(63.2% 0.032 227.3)

  7. Step 600

    600

    #5F7884

    oklch(55.7% 0.035 228.7)

  8. Step 700

    700

    #4E6570

    oklch(49.2% 0.033 228.7)

  9. Step 800

    800 (this color)

    #42545D

    oklch(43.4% 0.027 229.8)

  10. Step 900

    900

    #36444B

    oklch(37.7% 0.022 229.7)

  11. Step 950

    950

    #20282C

    oklch(27.1% 0.014 229.5)

Export this scale for Tailwind in the Tailwind colors tool

#42545D 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)#4F535D0.019
Deuteranopia (no green cones)#4C505D0.018
Tritanopia (no blue cones)#3A57570.019
Achromatopsia (no color)#5151510.027

Harmonies

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

Complementary

The opposite hue (180°).

  • #42545D

    #42545D

    oklch(43.4% 0.027 229.8)

  • #5E4D44

    #5E4D44

    oklch(43.5% 0.027 49.5)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #42545D

    #42545D

    oklch(43.4% 0.027 229.8)

  • #405657

    #405657

    oklch(43.5% 0.027 199.7)

  • #485160

    #485160

    oklch(43.3% 0.027 260.6)

Open the analogous palette in the generator

Split complementary

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

  • #42545D

    #42545D

    oklch(43.4% 0.027 229.8)

  • #5F4B4B

    #5F4B4B

    oklch(43.4% 0.027 18.3)

  • #595040

    #595040

    oklch(43.5% 0.028 81.9)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #42545D

    #42545D

    oklch(43.4% 0.027 229.8)

  • #5D4B53

    #5D4B53

    oklch(43.4% 0.027 349.8)

  • #525241

    #525241

    oklch(43.3% 0.027 107.5)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #42545D

    #42545D

    oklch(43.4% 0.027 229.8)

  • #584C5A

    #584C5A

    oklch(43.4% 0.027 321.4)

  • #5E4D44

    #5E4D44

    oklch(43.5% 0.027 49.5)

  • #495547

    #495547

    oklch(43.5% 0.027 141.1)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

Use #42545D 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.