#334239

Closest named color: Charcoal Grey (#3C4142). oklch(36.3% 0.025 158.6), rgb(51, 66, 57).

Aa

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

About this color

#334239 is a dark close to neutral grey. In OKLCH its lightness is 36%, its chroma 0.025. It has too little chroma to lean warm or cool. The nearest named color is Charcoal Grey (#3C4142), ΔE 0.023 away. White text reads best on it, at 10.61:1.

Hue familyNeutrals
Lightnessdark (36%)
Chromaclose to neutral grey (0.025)
Temperatureneutral
Nearest nameCharcoal Grey (#3C4142)
Black text1.97:1
White text10.61:1

Values

HEX#334239
RGBrgb(51, 66, 57)
HSLhsl(144, 13%, 23%)
OKLCHoklch(36.3% 0.025 158.6)

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 #334239 10.61:1 AAA Lc -98.6 Preferred for body text
Black text on #334239 1.97:1 Fails Lc 9.3 Not readable
#334239 text on white 10.61:1 AAA Lc 94.6 Preferred for body text
#334239 text on black 1.97:1 Fails Lc -8.0 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

    #E7EBE8

    oklch(93.6% 0.006 153.8)

  3. Step 200

    200

    #D4DBD6

    oklch(88.5% 0.01 155.1)

  4. Step 300

    300

    #B7C4BC

    oklch(80.8% 0.018 159)

  5. Step 400

    400

    #92A79A

    oklch(70.8% 0.03 158.4)

  6. Step 500

    500

    #779181

    oklch(63.2% 0.038 158.1)

  7. Step 600

    600

    #5F7B6A

    oklch(55.6% 0.042 158.1)

  8. Step 700

    700

    #4E6859

    oklch(49.2% 0.039 159.3)

  9. Step 800

    800

    #405549

    oklch(42.8% 0.033 159.6)

  10. Step 900

    900 (this color)

    #334239

    oklch(36.3% 0.025 158.6)

  11. Step 950

    950

    #202924

    oklch(27% 0.016 160.8)

Export this scale for Tailwind in the Tailwind colors tool

#334239 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)#4240390.024
Deuteranopia (no green cones)#3F3E390.022
Tritanopia (no blue cones)#30423F0.011
Achromatopsia (no color)#3F3F3F0.025

Harmonies

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

Complementary

The opposite hue (180°).

  • #334239

    #334239

    oklch(36.3% 0.025 158.6)

  • #473942

    #473942

    oklch(36.3% 0.024 339.7)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #334239

    #334239

    oklch(36.3% 0.025 158.6)

  • #3A4133

    #3A4133

    oklch(36.4% 0.025 129.3)

  • #2F4240

    #2F4240

    oklch(36.2% 0.024 188.1)

Open the analogous palette in the generator

Split complementary

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

  • #334239

    #334239

    oklch(36.3% 0.025 158.6)

  • #423A48

    #423A48

    oklch(36.2% 0.026 310.7)

  • #4A393B

    #4A393B

    oklch(36.4% 0.024 10.4)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #334239

    #334239

    oklch(36.3% 0.025 158.6)

  • #3B3D4B

    #3B3D4B

    oklch(36.4% 0.024 278.7)

  • #4A3A34

    #4A3A34

    oklch(36.4% 0.025 41.6)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #334239

    #334239

    oklch(36.3% 0.025 158.6)

  • #343F4B

    #343F4B

    oklch(36.3% 0.025 250.8)

  • #473942

    #473942

    oklch(36.3% 0.024 339.7)

  • #473C30

    #473C30

    oklch(36.4% 0.025 69.4)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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