#374A42

Closest named color: Dark Slate Gray (#2F4F4F). oklch(39% 0.027 167.3), rgb(55, 74, 66).

Aa

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

About this color

#374A42 is a dark close to neutral grey. In OKLCH its lightness is 39%, 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.023 away. White text reads best on it, at 9.45:1.

Hue familyNeutrals
Lightnessdark (39%)
Chromaclose to neutral grey (0.027)
Temperatureneutral
Nearest nameDark Slate Gray (#2F4F4F)
Black text2.22:1
White text9.45:1

Values

HEX#374A42
RGBrgb(55, 74, 66)
HSLhsl(155, 15%, 25%)
OKLCHoklch(39% 0.027 167.3)

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 #374A42 9.45:1 AAA Lc -96.1 Preferred for body text
Black text on #374A42 2.22:1 Fails Lc 12.1 Not readable
#374A42 text on white 9.45:1 AAA Lc 91.9 Preferred for body text
#374A42 text on black 2.22:1 Fails Lc -10.5 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 900.

  1. Step 50

    50

    #F4F6F5

    oklch(97.1% 0.002 165.1)

  2. Step 100

    100

    #E6EBE9

    oklch(93.6% 0.006 170.4)

  3. Step 200

    200

    #D2DCD7

    oklch(88.5% 0.013 164.8)

  4. Step 300

    300

    #B5C5BE

    oklch(80.9% 0.02 167.8)

  5. Step 400

    400

    #8EA89C

    oklch(70.8% 0.034 165.8)

  6. Step 500

    500

    #719284

    oklch(63.1% 0.043 167.2)

  7. Step 600

    600

    #597C6E

    oklch(55.5% 0.045 168)

  8. Step 700

    700

    #49695C

    oklch(49.2% 0.043 167.5)

  9. Step 800

    800

    #3C554B

    oklch(42.6% 0.035 168)

  10. Step 900

    900 (this color)

    #374A42

    oklch(39% 0.027 167.3)

  11. Step 950

    950

    #1E2925

    oklch(26.9% 0.017 170.8)

Export this scale for Tailwind in the Tailwind colors tool

#374A42 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)#4947420.028
Deuteranopia (no green cones)#4645420.027
Tritanopia (no blue cones)#334A480.011
Achromatopsia (no color)#4646460.028

Harmonies

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

Complementary

The opposite hue (180°).

  • #374A42

    #374A42

    oklch(39% 0.027 167.3)

  • #513F48

    #513F48

    oklch(39% 0.029 347)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #374A42

    #374A42

    oklch(39% 0.027 167.3)

  • #3E493A

    #3E493A

    oklch(39.1% 0.029 137.4)

  • #344A4A

    #344A4A

    oklch(39.1% 0.027 196.1)

Open the analogous palette in the generator

Split complementary

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

  • #374A42

    #374A42

    oklch(39% 0.027 167.3)

  • #4B414F

    #4B414F

    oklch(39.1% 0.027 316.3)

  • #533F40

    #533F40

    oklch(39% 0.028 15.1)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #374A42

    #374A42

    oklch(39% 0.027 167.3)

  • #444353

    #444353

    oklch(39% 0.027 287.9)

  • #524139

    #524139

    oklch(39.1% 0.027 46.6)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #374A42

    #374A42

    oklch(39% 0.027 167.3)

  • #3C4654

    #3C4654

    oklch(39.1% 0.027 256.8)

  • #513F48

    #513F48

    oklch(39% 0.029 347)

  • #4D4335

    #4D4335

    oklch(38.9% 0.026 76.1)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

Use #374A42 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.