#3A5154

Closest named color: Dark Slate Gray (#2F4F4F). oklch(41.7% 0.029 206.1), rgb(58, 81, 84).

Aa

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

About this color

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

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

Values

HEX#3A5154
RGBrgb(58, 81, 84)
HSLhsl(187, 18%, 28%)
OKLCHoklch(41.7% 0.029 206.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 #3A5154 8.45:1 AAA Lc -93.6 Preferred for body text
Black text on #3A5154 2.48:1 Fails Lc 14.9 Not readable
#3A5154 text on white 8.45:1 AAA Lc 89.1 Fine for body text
#3A5154 text on black 2.48:1 Fails Lc -13.1 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

    #E6EBEB

    oklch(93.6% 0.005 197.1)

  3. Step 200

    200

    #D2DBDC

    oklch(88.5% 0.01 204.9)

  4. Step 300

    300

    #B5C4C6

    oklch(80.9% 0.017 206.4)

  5. Step 400

    400

    #8EA6A9

    oklch(70.8% 0.027 205.8)

  6. Step 500

    500

    #729094

    oklch(63.2% 0.034 206.3)

  7. Step 600

    600

    #5A7A7E

    oklch(55.6% 0.037 205.7)

  8. Step 700

    700

    #4A676A

    oklch(49.2% 0.034 204.1)

  9. Step 800

    800 (this color)

    #3A5154

    oklch(41.7% 0.029 206.1)

  10. Step 900

    900

    #344547

    oklch(37.7% 0.022 205.2)

  11. Step 950

    950

    #1F282A

    oklch(26.9% 0.013 212.7)

Export this scale for Tailwind in the Tailwind colors tool

#3A5154 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)#4D4F540.028
Deuteranopia (no green cones)#494C540.025
Tritanopia (no blue cones)#3153520.014
Achromatopsia (no color)#4D4D4D0.029

Harmonies

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

Complementary

The opposite hue (180°).

  • #3A5154

    #3A5154

    oklch(41.7% 0.029 206.1)

  • #5B4744

    #5B4744

    oklch(41.8% 0.028 28.2)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #3A5154

    #3A5154

    oklch(41.7% 0.029 206.1)

  • #3C524C

    #3C524C

    oklch(41.8% 0.029 176.2)

  • #3E4F5A

    #3E4F5A

    oklch(41.7% 0.028 236.7)

Open the analogous palette in the generator

Split complementary

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

  • #3A5154

    #3A5154

    oklch(41.7% 0.029 206.1)

  • #5A464D

    #5A464D

    oklch(41.8% 0.029 355.5)

  • #59493D

    #59493D

    oklch(41.8% 0.029 58.7)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #3A5154

    #3A5154

    oklch(41.7% 0.029 206.1)

  • #554755

    #554755

    oklch(41.7% 0.029 326.1)

  • #534B3B

    #534B3B

    oklch(41.6% 0.028 84.5)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #3A5154

    #3A5154

    oklch(41.7% 0.029 206.1)

  • #4D495A

    #4D495A

    oklch(41.6% 0.028 295.9)

  • #5B4744

    #5B4744

    oklch(41.8% 0.028 28.2)

  • #4B4E3D

    #4B4E3D

    oklch(41.6% 0.027 115.7)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

Use #3A5154 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.