#3F303B

Closest named color: Onyx (#343A40). oklch(33% 0.028 336), rgb(63, 48, 59).

Aa

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

About this color

#3F303B 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.034 away. White text reads best on it, at 12.37:1.

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

Values

HEX#3F303B
RGBrgb(63, 48, 59)
HSLhsl(316, 14%, 22%)
OKLCHoklch(33% 0.028 336)

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 #3F303B 12.37:1 AAA Lc -101.6 Preferred for body text
Black text on #3F303B 1.69:1 Fails Lc 0.0 Not readable
#3F303B text on white 12.37:1 AAA Lc 98.2 Preferred for body text
#3F303B text on black 1.69: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

    #EDE8EB

    oklch(93.6% 0.007 340.4)

  3. Step 200

    200

    #DED6DC

    oklch(88.4% 0.012 334.1)

  4. Step 300

    300

    #CABCC6

    oklch(81% 0.021 335.8)

  5. Step 400

    400

    #AF99A9

    oklch(70.7% 0.034 335.6)

  6. Step 500

    500

    #9B8094

    oklch(63.1% 0.044 335.4)

  7. Step 600

    600

    #86697E

    oklch(55.6% 0.048 336.4)

  8. Step 700

    700

    #71576A

    oklch(49% 0.044 336.1)

  9. Step 800

    800

    #5C4857

    oklch(42.8% 0.036 335.2)

  10. Step 900

    900 (this color)

    #3F303B

    oklch(33% 0.028 336)

  11. Step 950

    950

    #2C232A

    oklch(26.9% 0.018 333.9)

Export this scale for Tailwind in the Tailwind colors tool

#3F303B 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)#30333B0.028
Deuteranopia (no green cones)#34353B0.024
Tritanopia (no blue cones)#4130340.013
Achromatopsia (no color)#3434340.029

Harmonies

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

Complementary

The opposite hue (180°).

  • #3F303B

    #3F303B

    oklch(33% 0.028 336)

  • #2A3A2F

    #2A3A2F

    oklch(33.1% 0.029 154.6)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #3F303B

    #3F303B

    oklch(33% 0.028 336)

  • #393241

    #393241

    oklch(33.1% 0.028 306.1)

  • #422F33

    #422F33

    oklch(32.9% 0.028 4.8)

Open the analogous palette in the generator

Split complementary

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

  • #3F303B

    #3F303B

    oklch(33% 0.028 336)

  • #323828

    #323828

    oklch(33% 0.028 124.6)

  • #243A37

    #243A37

    oklch(32.9% 0.028 185.2)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #3F303B

    #3F303B

    oklch(33% 0.028 336)

  • #3A3625

    #3A3625

    oklch(33.2% 0.029 96.5)

  • #24393F

    #24393F

    oklch(32.9% 0.029 217.6)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #3F303B

    #3F303B

    oklch(33% 0.028 336)

  • #403326

    #403326

    oklch(33.1% 0.029 66.6)

  • #2A3A2F

    #2A3A2F

    oklch(33.1% 0.029 154.6)

  • #293743

    #293743

    oklch(33% 0.028 244.7)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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