#405148

Closest named color: Dark Slate Gray (#2F4F4F). oklch(41.7% 0.026 162), rgb(64, 81, 72).

Aa

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

About this color

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

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

Values

HEX#405148
RGBrgb(64, 81, 72)
HSLhsl(148, 12%, 28%)
OKLCHoklch(41.7% 0.026 162)

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 #405148 8.43:1 AAA Lc -93.6 Preferred for body text
Black text on #405148 2.48:1 Fails Lc 14.9 Not readable
#405148 text on white 8.43:1 AAA Lc 89.1 Fine for body text
#405148 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

    #F4F6F5

    oklch(97.1% 0.002 165.1)

  2. Step 100

    100

    #E7EBE9

    oklch(93.6% 0.005 165)

  3. Step 200

    200

    #D4DBD7

    oklch(88.5% 0.009 161.3)

  4. Step 300

    300

    #B8C4BD

    oklch(80.9% 0.016 160.5)

  5. Step 400

    400

    #94A69C

    oklch(70.8% 0.025 161.5)

  6. Step 500

    500

    #799084

    oklch(63.2% 0.032 162.7)

  7. Step 600

    600

    #627A6D

    oklch(55.6% 0.034 161.4)

  8. Step 700

    700

    #51675B

    oklch(49.2% 0.033 161.1)

  9. Step 800

    800 (this color)

    #405148

    oklch(41.7% 0.026 162)

  10. Step 900

    900

    #38453E

    oklch(37.6% 0.021 161.7)

  11. Step 950

    950

    #212824

    oklch(26.8% 0.012 160.4)

Export this scale for Tailwind in the Tailwind colors tool

#405148 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)#504E480.025
Deuteranopia (no green cones)#4D4C490.025
Tritanopia (no blue cones)#3D514E0.010
Achromatopsia (no color)#4D4D4D0.026

Harmonies

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

Complementary

The opposite hue (180°).

  • #405148

    #405148

    oklch(41.7% 0.026 162)

  • #574750

    #574750

    oklch(41.8% 0.026 343.4)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #405148

    #405148

    oklch(41.7% 0.026 162)

  • #475041

    #475041

    oklch(41.8% 0.027 132.9)

  • #3C5150

    #3C5150

    oklch(41.7% 0.026 192.6)

Open the analogous palette in the generator

Split complementary

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

  • #405148

    #405148

    oklch(41.7% 0.026 162)

  • #514857

    #514857

    oklch(41.6% 0.027 311.9)

  • #5A4749

    #5A4749

    oklch(41.8% 0.026 11.2)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #405148

    #405148

    oklch(41.7% 0.026 162)

  • #4A4B5B

    #4A4B5B

    oklch(41.8% 0.027 282.4)

  • #594841

    #594841

    oklch(41.7% 0.026 43.6)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #405148

    #405148

    oklch(41.7% 0.026 162)

  • #424E5A

    #424E5A

    oklch(41.8% 0.025 248.4)

  • #574750

    #574750

    oklch(41.8% 0.026 343.4)

  • #554A3D

    #554A3D

    oklch(41.6% 0.026 71.7)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

Use #405148 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.