#42333E

Closest named color: Onyx (#343A40). oklch(34.2% 0.028 335.9), rgb(66, 51, 62).

Aa

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

About this color

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

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

Values

HEX#42333E
RGBrgb(66, 51, 62)
HSLhsl(316, 13%, 23%)
OKLCHoklch(34.2% 0.028 335.9)

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 #42333E 11.83:1 AAA Lc -100.7 Preferred for body text
Black text on #42333E 1.77:1 Fails Lc 0.0 Not readable
#42333E text on white 11.83:1 AAA Lc 97.1 Preferred for body text
#42333E text on black 1.77: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

    #F7F5F6

    oklch(97.2% 0.002 345.2)

  2. Step 100

    100

    #EDE8EB

    oklch(93.6% 0.007 340.4)

  3. Step 200

    200

    #DED6DC

    oklch(88.4% 0.012 334.1)

  4. Step 300

    300

    #CABCC6

    oklch(81% 0.021 335.8)

  5. Step 400

    400

    #AF99A9

    oklch(70.7% 0.034 335.6)

  6. Step 500

    500

    #9B8094

    oklch(63.1% 0.044 335.4)

  7. Step 600

    600

    #85697E

    oklch(55.5% 0.047 335.2)

  8. Step 700

    700

    #71586A

    oklch(49.2% 0.042 336.5)

  9. Step 800

    800

    #5C4857

    oklch(42.8% 0.036 335.2)

  10. Step 900

    900 (this color)

    #42333E

    oklch(34.2% 0.028 335.9)

  11. Step 950

    950

    #2C232A

    oklch(26.9% 0.018 333.9)

Export this scale for Tailwind in the Tailwind colors tool

#42333E 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)#33363E0.027
Deuteranopia (no green cones)#36383E0.025
Tritanopia (no blue cones)#4433370.013
Achromatopsia (no color)#3737370.028

Harmonies

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

Complementary

The opposite hue (180°).

  • #42333E

    #42333E

    oklch(34.2% 0.028 335.9)

  • #2D3D32

    #2D3D32

    oklch(34.2% 0.028 154.6)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #42333E

    #42333E

    oklch(34.2% 0.028 335.9)

  • #3C3544

    #3C3544

    oklch(34.2% 0.027 306.1)

  • #453236

    #453236

    oklch(34% 0.028 4.7)

Open the analogous palette in the generator

Split complementary

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

  • #42333E

    #42333E

    oklch(34.2% 0.028 335.9)

  • #353B2B

    #353B2B

    oklch(34.2% 0.028 124.6)

  • #273D3A

    #273D3A

    oklch(34.1% 0.028 185.3)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #42333E

    #42333E

    oklch(34.2% 0.028 335.9)

  • #3D3928

    #3D3928

    oklch(34.4% 0.028 96.4)

  • #273C42

    #273C42

    oklch(34.1% 0.029 217.5)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #42333E

    #42333E

    oklch(34.2% 0.028 335.9)

  • #433629

    #433629

    oklch(34.3% 0.028 66.6)

  • #2D3D32

    #2D3D32

    oklch(34.2% 0.028 154.6)

  • #2C3A46

    #2C3A46

    oklch(34.1% 0.028 244.6)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

Use #42333E 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.