#3F313D

Closest named color: Onyx (#343A40). oklch(33.3% 0.028 331), rgb(63, 49, 61).

Aa

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

About this color

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

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

Values

HEX#3F313D
RGBrgb(63, 49, 61)
HSLhsl(309, 13%, 22%)
OKLCHoklch(33.3% 0.028 331)

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 #3F313D 12.22:1 AAA Lc -101.4 Preferred for body text
Black text on #3F313D 1.71:1 Fails Lc 0.0 Not readable
#3F313D text on white 12.22:1 AAA Lc 97.9 Preferred for body text
#3F313D 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

    #ECE8EC

    oklch(93.5% 0.007 325.6)

  3. Step 200

    200

    #DED6DD

    oklch(88.4% 0.013 329.6)

  4. Step 300

    300

    #C9BCC7

    oklch(80.9% 0.021 330.7)

  5. Step 400

    400

    #AE99AA

    oklch(70.7% 0.034 332.3)

  6. Step 500

    500

    #998096

    oklch(63% 0.044 330)

  7. Step 600

    600

    #846980

    oklch(55.5% 0.048 331.2)

  8. Step 700

    700

    #70586C

    oklch(49.2% 0.043 332)

  9. Step 800

    800

    #5B4858

    oklch(42.7% 0.036 331.6)

  10. Step 900

    900 (this color)

    #3F313D

    oklch(33.3% 0.028 331)

  11. Step 950

    950

    #2C232A

    oklch(26.9% 0.018 333.9)

Export this scale for Tailwind in the Tailwind colors tool

#3F313D 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)#31343E0.026
Deuteranopia (no green cones)#34363D0.024
Tritanopia (no blue cones)#4032350.016
Achromatopsia (no color)#3535350.029

Harmonies

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

Complementary

The opposite hue (180°).

  • #3F313D

    #3F313D

    oklch(33.3% 0.028 331)

  • #2C3B2F

    #2C3B2F

    oklch(33.5% 0.029 150.6)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #3F313D

    #3F313D

    oklch(33.3% 0.028 331)

  • #393343

    #393343

    oklch(33.4% 0.029 302)

  • #433035

    #433035

    oklch(33.3% 0.029 1.4)

Open the analogous palette in the generator

Split complementary

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

  • #3F313D

    #3F313D

    oklch(33.3% 0.028 331)

  • #343928

    #343928

    oklch(33.4% 0.029 121.3)

  • #263B37

    #263B37

    oklch(33.3% 0.028 181.3)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #3F313D

    #3F313D

    oklch(33.3% 0.028 331)

  • #3C3625

    #3C3625

    oklch(33.4% 0.029 90.9)

  • #253A3F

    #253A3F

    oklch(33.3% 0.028 214.2)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #3F313D

    #3F313D

    oklch(33.3% 0.028 331)

  • #413327

    #413327

    oklch(33.3% 0.029 62.2)

  • #2C3B2F

    #2C3B2F

    oklch(33.5% 0.029 150.6)

  • #293844

    #293844

    oklch(33.3% 0.029 242.9)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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