#333A2E

Closest named color: Onyx (#343A40). oklch(33.8% 0.023 132.3), rgb(51, 58, 46).

Aa

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

About this color

#333A2E is a dark close to neutral grey. In OKLCH its lightness is 34%, its chroma 0.023. It has too little chroma to lean warm or cool. The nearest named color is Onyx (#343A40), ΔE 0.032 away. White text reads best on it, at 11.76:1.

Hue familyNeutrals
Lightnessdark (34%)
Chromaclose to neutral grey (0.023)
Temperatureneutral
Nearest nameOnyx (#343A40)
Black text1.78:1
White text11.76:1

Values

HEX#333A2E
RGBrgb(51, 58, 46)
HSLhsl(95, 12%, 20%)
OKLCHoklch(33.8% 0.023 132.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 #333A2E 11.76:1 AAA Lc -100.6 Preferred for body text
Black text on #333A2E 1.78:1 Fails Lc 0.0 Not readable
#333A2E text on white 11.76:1 AAA Lc 97.0 Preferred for body text
#333A2E text on black 1.78:1 Fails Lc 0.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

    #F5F6F4

    oklch(97.2% 0.003 128.5)

  2. Step 100

    100

    #E8EAE7

    oklch(93.5% 0.005 134.9)

  3. Step 200

    200

    #D7DAD4

    oklch(88.4% 0.009 128.6)

  4. Step 300

    300

    #BCC3B8

    oklch(80.9% 0.017 133.8)

  5. Step 400

    400

    #9AA493

    oklch(70.6% 0.027 132.2)

  6. Step 500

    500

    #828E79

    oklch(63.1% 0.034 131.7)

  7. Step 600

    600

    #6B7862

    oklch(55.5% 0.037 132.6)

  8. Step 700

    700

    #596551

    oklch(49% 0.034 132.9)

  9. Step 800

    800

    #495342

    oklch(42.8% 0.03 132.5)

  10. Step 900

    900 (this color)

    #333A2E

    oklch(33.8% 0.023 132.3)

  11. Step 950

    950

    #242821

    oklch(27% 0.014 131.7)

Export this scale for Tailwind in the Tailwind colors tool

#333A2E 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)#3B382D0.014
Deuteranopia (no green cones)#3A382F0.014
Tritanopia (no blue cones)#3339370.017
Achromatopsia (no color)#3838380.023

Harmonies

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

Complementary

The opposite hue (180°).

  • #333A2E

    #333A2E

    oklch(33.8% 0.023 132.3)

  • #3B3440

    #3B3440

    oklch(33.7% 0.023 311.2)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #333A2E

    #333A2E

    oklch(33.8% 0.023 132.3)

  • #39382B

    #39382B

    oklch(33.8% 0.022 103.9)

  • #2D3B34

    #2D3B34

    oklch(33.7% 0.022 163.3)

Open the analogous palette in the generator

Split complementary

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

  • #333A2E

    #333A2E

    oklch(33.8% 0.023 132.3)

  • #353643

    #353643

    oklch(33.7% 0.023 281.6)

  • #40333B

    #40333B

    oklch(33.8% 0.023 341)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #333A2E

    #333A2E

    oklch(33.8% 0.023 132.3)

  • #2F3843

    #2F3843

    oklch(33.7% 0.023 253.6)

  • #423334

    #423334

    oklch(33.8% 0.022 13.8)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #333A2E

    #333A2E

    oklch(33.8% 0.023 132.3)

  • #2B3A40

    #2B3A40

    oklch(33.8% 0.022 224.4)

  • #3B3440

    #3B3440

    oklch(33.7% 0.023 311.2)

  • #42342E

    #42342E

    oklch(33.8% 0.023 44.4)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

Use #333A2E 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.