#334642

Closest named color: Charcoal Grey (#3C4142). oklch(37.7% 0.025 180.5), rgb(51, 70, 66).

Aa

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

About this color

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

Hue familyNeutrals
Lightnessdark (38%)
Chromaclose to neutral grey (0.025)
Temperatureneutral
Nearest nameCharcoal Grey (#3C4142)
Black text2.09:1
White text10.02:1

Values

HEX#334642
RGBrgb(51, 70, 66)
HSLhsl(167, 16%, 24%)
OKLCHoklch(37.7% 0.025 180.5)

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 #334642 10.02:1 AAA Lc -97.4 Preferred for body text
Black text on #334642 2.09:1 Fails Lc 10.7 Not readable
#334642 text on white 10.02:1 AAA Lc 93.3 Preferred for body text
#334642 text on black 2.09:1 Fails Lc -9.2 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

    #E6EBEA

    oklch(93.6% 0.006 183)

  3. Step 200

    200

    #D2DBD9

    oklch(88.4% 0.01 181.4)

  4. Step 300

    300

    #B4C5C1

    oklch(80.9% 0.019 180.1)

  5. Step 400

    400

    #8DA7A1

    oklch(70.7% 0.03 179.9)

  6. Step 500

    500

    #71918A

    oklch(63% 0.037 180.2)

  7. Step 600

    600

    #587C74

    oklch(55.7% 0.043 179.3)

  8. Step 700

    700

    #486862

    oklch(49.1% 0.038 181.7)

  9. Step 800

    800

    #3B5550

    oklch(42.7% 0.033 181.5)

  10. Step 900

    900 (this color)

    #334642

    oklch(37.7% 0.025 180.5)

  11. Step 950

    950

    #1E2927

    oklch(27% 0.016 182.8)

Export this scale for Tailwind in the Tailwind colors tool

#334642 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)#4444420.026
Deuteranopia (no green cones)#4141420.026
Tritanopia (no blue cones)#2E47450.007
Achromatopsia (no color)#4242420.025

Harmonies

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

Complementary

The opposite hue (180°).

  • #334642

    #334642

    oklch(37.7% 0.025 180.5)

  • #4D3C41

    #4D3C41

    oklch(37.6% 0.025 358.9)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #334642

    #334642

    oklch(37.7% 0.025 180.5)

  • #38453B

    #38453B

    oklch(37.5% 0.024 152.1)

  • #324549

    #324549

    oklch(37.6% 0.025 212)

Open the analogous palette in the generator

Split complementary

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

  • #334642

    #334642

    oklch(37.7% 0.025 180.5)

  • #493D48

    #493D48

    oklch(37.7% 0.024 328.7)

  • #4E3D3A

    #4E3D3A

    oklch(37.7% 0.025 29.8)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #334642

    #334642

    oklch(37.7% 0.025 180.5)

  • #433F4D

    #433F4D

    oklch(37.7% 0.024 298.3)

  • #4C3F34

    #4C3F34

    oklch(37.8% 0.026 62.2)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #334642

    #334642

    oklch(37.7% 0.025 180.5)

  • #3C414F

    #3C414F

    oklch(37.6% 0.025 269.7)

  • #4D3C41

    #4D3C41

    oklch(37.6% 0.025 358.9)

  • #464132

    #464132

    oklch(37.6% 0.025 91.8)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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