#333A41

Closest named color: Onyx (#343A40). oklch(34.5% 0.016 248.3), rgb(51, 58, 65).

Aa

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

About this color

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

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

Values

HEX#333A41
RGBrgb(51, 58, 65)
HSLhsl(210, 12%, 23%)
OKLCHoklch(34.5% 0.016 248.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 #333A41 11.52:1 AAA Lc -100.2 Preferred for body text
Black text on #333A41 1.82:1 Fails Lc 7.3 Not readable
#333A41 text on white 11.52:1 AAA Lc 96.6 Preferred for body text
#333A41 text on black 1.82: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

    #F5F5F6

    oklch(97% 0.001 286.4)

  2. Step 100

    100

    #E8EAEC

    oklch(93.6% 0.003 247.9)

  3. Step 200

    200

    #D6D9DD

    oklch(88.4% 0.006 255.5)

  4. Step 300

    300

    #BBC1C8

    oklch(80.8% 0.012 252.1)

  5. Step 400

    400

    #98A2AC

    oklch(70.7% 0.019 248.1)

  6. Step 500

    500

    #7F8B98

    oklch(63.1% 0.024 250.3)

  7. Step 600

    600

    #687582

    oklch(55.6% 0.026 248.3)

  8. Step 700

    700

    #56626E

    oklch(49% 0.024 248.3)

  9. Step 800

    800

    #47505A

    oklch(42.7% 0.02 251.1)

  10. Step 900

    900 (this color)

    #333A41

    oklch(34.5% 0.016 248.3)

  11. Step 950

    950

    #23272B

    oklch(27% 0.009 248.2)

Export this scale for Tailwind in the Tailwind colors tool

#333A41 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)#373A410.006
Deuteranopia (no green cones)#3639410.006
Tritanopia (no blue cones)#2F3C3C0.014
Achromatopsia (no color)#3939390.016

Harmonies

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

Complementary

The opposite hue (180°).

  • #333A41

    #333A41

    oklch(34.5% 0.016 248.3)

  • #3F3831

    #3F3831

    oklch(34.6% 0.015 67.3)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #333A41

    #333A41

    oklch(34.5% 0.016 248.3)

  • #303B3F

    #303B3F

    oklch(34.4% 0.016 221.9)

  • #373841

    #373841

    oklch(34.3% 0.016 280.5)

Open the analogous palette in the generator

Split complementary

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

  • #333A41

    #333A41

    oklch(34.5% 0.016 248.3)

  • #413733

    #413733

    oklch(34.6% 0.016 43)

  • #3B3930

    #3B3930

    oklch(34.4% 0.015 96.8)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #333A41

    #333A41

    oklch(34.5% 0.016 248.3)

  • #413637

    #413637

    oklch(34.5% 0.016 11.7)

  • #373B32

    #373B32

    oklch(34.5% 0.016 126.8)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #333A41

    #333A41

    oklch(34.5% 0.016 248.3)

  • #3F363C

    #3F363C

    oklch(34.5% 0.016 338.2)

  • #3F3831

    #3F3831

    oklch(34.6% 0.015 67.3)

  • #333C36

    #333C36

    oklch(34.6% 0.016 156.3)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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