#3F313A

Closest named color: Onyx (#343A40). oklch(33.2% 0.025 339.8), rgb(63, 49, 58).

Aa

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

About this color

#3F313A is a dark close to neutral grey. In OKLCH its lightness is 33%, its chroma 0.025. 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 12.26:1.

Hue familyNeutrals
Lightnessdark (33%)
Chromaclose to neutral grey (0.025)
Temperatureneutral
Nearest nameOnyx (#343A40)
Black text1.71:1
White text12.26:1

Values

HEX#3F313A
RGBrgb(63, 49, 58)
HSLhsl(321, 13%, 22%)
OKLCHoklch(33.2% 0.025 339.8)

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 #3F313A 12.26:1 AAA Lc -101.4 Preferred for body text
Black text on #3F313A 1.71:1 Fails Lc 0.0 Not readable
#3F313A text on white 12.26:1 AAA Lc 98.0 Preferred for body text
#3F313A text on black 1.71: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

    #ECE8EB

    oklch(93.5% 0.006 334)

  3. Step 200

    200

    #DED6DB

    oklch(88.4% 0.011 339.4)

  4. Step 300

    300

    #C9BCC4

    oklch(80.8% 0.018 340)

  5. Step 400

    400

    #AE9AA7

    oklch(70.8% 0.03 338.8)

  6. Step 500

    500

    #9A8191

    oklch(63.1% 0.038 339.7)

  7. Step 600

    600

    #856A7B

    oklch(55.6% 0.042 340.4)

  8. Step 700

    700

    #705868

    oklch(49% 0.039 338.8)

  9. Step 800

    800

    #5B4855

    oklch(42.6% 0.033 337.9)

  10. Step 900

    900 (this color)

    #3F313A

    oklch(33.2% 0.025 339.8)

  11. Step 950

    950

    #2C2329

    oklch(26.9% 0.017 338.5)

Export this scale for Tailwind in the Tailwind colors tool

#3F313A 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)#31343A0.026
Deuteranopia (no green cones)#35363A0.023
Tritanopia (no blue cones)#4131340.011
Achromatopsia (no color)#3535350.025

Harmonies

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

Complementary

The opposite hue (180°).

  • #3F313A

    #3F313A

    oklch(33.2% 0.025 339.8)

  • #2B3A31

    #2B3A31

    oklch(33.2% 0.025 158.3)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #3F313A

    #3F313A

    oklch(33.2% 0.025 339.8)

  • #3A3240

    #3A3240

    oklch(33.1% 0.027 310.6)

  • #423133

    #423133

    oklch(33.3% 0.025 10.6)

Open the analogous palette in the generator

Split complementary

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

  • #3F313A

    #3F313A

    oklch(33.2% 0.025 339.8)

  • #32392B

    #32392B

    oklch(33.3% 0.026 129.4)

  • #273A39

    #273A39

    oklch(33.2% 0.024 191.9)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #3F313A

    #3F313A

    oklch(33.2% 0.025 339.8)

  • #393627

    #393627

    oklch(33.1% 0.025 98.1)

  • #27393F

    #27393F

    oklch(33.2% 0.026 220.5)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #3F313A

    #3F313A

    oklch(33.2% 0.025 339.8)

  • #3E3428

    #3E3428

    oklch(33.2% 0.025 71.9)

  • #2B3A31

    #2B3A31

    oklch(33.2% 0.025 158.3)

  • #2C3743

    #2C3743

    oklch(33.2% 0.026 250.8)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

Use #3F313A 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.