#3E313F

Closest named color: Onyx (#343A40). oklch(33.3% 0.03 323.9), rgb(62, 49, 63).

Aa

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

About this color

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

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

Values

HEX#3E313F
RGBrgb(62, 49, 63)
HSLhsl(296, 13%, 22%)
OKLCHoklch(33.3% 0.03 323.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 #3E313F 12.23:1 AAA Lc -101.4 Preferred for body text
Black text on #3E313F 1.71:1 Fails Lc 0.0 Not readable
#3E313F text on white 12.23:1 AAA Lc 97.9 Preferred for body text
#3E313F 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

    #F6F5F6

    oklch(97.1% 0.002 325.6)

  2. Step 100

    100

    #ECE8EC

    oklch(93.5% 0.007 325.6)

  3. Step 200

    200

    #DDD6DE

    oklch(88.4% 0.013 321.9)

  4. Step 300

    300

    #C8BCC9

    oklch(80.9% 0.022 323.5)

  5. Step 400

    400

    #AC99AE

    oklch(70.6% 0.037 323)

  6. Step 500

    500

    #988099

    oklch(63% 0.046 324.9)

  7. Step 600

    600

    #826A84

    oklch(55.6% 0.049 323.7)

  8. Step 700

    700

    #6E5870

    oklch(49.1% 0.046 323.6)

  9. Step 800

    800

    #5A485B

    oklch(42.7% 0.039 324.5)

  10. Step 900

    900 (this color)

    #3E313F

    oklch(33.3% 0.03 323.9)

  11. Step 950

    950

    #2B232C

    oklch(26.9% 0.02 322.5)

Export this scale for Tailwind in the Tailwind colors tool

#3E313F 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)#3034400.025
Deuteranopia (no green cones)#33363E0.025
Tritanopia (no blue cones)#3F32360.017
Achromatopsia (no color)#3535350.030

Harmonies

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

Complementary

The opposite hue (180°).

  • #3E313F

    #3E313F

    oklch(33.3% 0.03 323.9)

  • #2D3A2C

    #2D3A2C

    oklch(33.2% 0.03 143)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #3E313F

    #3E313F

    oklch(33.3% 0.03 323.9)

  • #373344

    #373344

    oklch(33.2% 0.03 295.5)

  • #433037

    #433037

    oklch(33.4% 0.03 354.9)

Open the analogous palette in the generator

Split complementary

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

  • #3E313F

    #3E313F

    oklch(33.3% 0.03 323.9)

  • #363826

    #363826

    oklch(33.3% 0.03 113.2)

  • #263B35

    #263B35

    oklch(33.2% 0.029 174.7)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #3E313F

    #3E313F

    oklch(33.3% 0.03 323.9)

  • #3D3524

    #3D3524

    oklch(33.2% 0.03 85.6)

  • #233B3D

    #233B3D

    oklch(33.4% 0.03 202.5)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #3E313F

    #3E313F

    oklch(33.3% 0.03 323.9)

  • #433228

    #433228

    oklch(33.3% 0.03 51.8)

  • #2D3A2C

    #2D3A2C

    oklch(33.2% 0.03 143)

  • #273943

    #273943

    oklch(33.3% 0.029 233.1)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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