#333740

Closest named color: Onyx (#343A40). oklch(33.7% 0.017 266.4), rgb(51, 55, 64).

Aa

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

About this color

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

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

Values

HEX#333740
RGBrgb(51, 55, 64)
HSLhsl(222, 11%, 23%)
OKLCHoklch(33.7% 0.017 266.4)

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 #333740 11.92:1 AAA Lc -100.9 Preferred for body text
Black text on #333740 1.76:1 Fails Lc 0.0 Not readable
#333740 text on white 11.92:1 AAA Lc 97.3 Preferred for body text
#333740 text on black 1.76: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

    #E9EAEC

    oklch(93.7% 0.003 264.5)

  3. Step 200

    200

    #D7D9DE

    oklch(88.5% 0.007 268.5)

  4. Step 300

    300

    #BDC1C9

    oklch(81% 0.012 264.5)

  5. Step 400

    400

    #9BA1AE

    oklch(70.8% 0.02 265.9)

  6. Step 500

    500

    #82899A

    oklch(63% 0.027 267.8)

  7. Step 600

    600

    #6C7384

    oklch(55.6% 0.028 267.7)

  8. Step 700

    700

    #5A6170

    oklch(49.2% 0.026 265.6)

  9. Step 800

    800

    #494F5B

    oklch(42.7% 0.021 264.3)

  10. Step 900

    900 (this color)

    #333740

    oklch(33.7% 0.017 266.4)

  11. Step 950

    950

    #24262C

    oklch(26.9% 0.012 271)

Export this scale for Tailwind in the Tailwind colors tool

#333740 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)#3438400.004
Deuteranopia (no green cones)#3336400.003
Tritanopia (no blue cones)#30393A0.015
Achromatopsia (no color)#3737370.017

Harmonies

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

Complementary

The opposite hue (180°).

  • #333740

    #333740

    oklch(33.7% 0.017 266.4)

  • #3B372D

    #3B372D

    oklch(33.8% 0.018 88.8)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #333740

    #333740

    oklch(33.7% 0.017 266.4)

  • #2F393F

    #2F393F

    oklch(33.8% 0.017 234.3)

  • #38353F

    #38353F

    oklch(33.6% 0.018 299.1)

Open the analogous palette in the generator

Split complementary

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

  • #333740

    #333740

    oklch(33.7% 0.017 266.4)

  • #3E352F

    #3E352F

    oklch(33.7% 0.016 55.8)

  • #36382F

    #36382F

    oklch(33.6% 0.016 117.4)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #333740

    #333740

    oklch(33.7% 0.017 266.4)

  • #3F3432

    #3F3432

    oklch(33.6% 0.016 30.1)

  • #323A32

    #323A32

    oklch(33.8% 0.018 145.2)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #333740

    #333740

    oklch(33.7% 0.017 266.4)

  • #3F3437

    #3F3437

    oklch(33.8% 0.016 359.7)

  • #3B372D

    #3B372D

    oklch(33.8% 0.018 88.8)

  • #2E3A37

    #2E3A37

    oklch(33.6% 0.017 178.4)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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