#301F1B

Closest named color: Dark Brown (#341C02). oklch(25.9% 0.028 33.7), rgb(48, 31, 27).

Aa

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

About this color

#301F1B is a dark close to neutral grey. In OKLCH its lightness is 26%, its chroma 0.028. It has too little chroma to lean warm or cool. The nearest named color is Dark Brown (#341C02), ΔE 0.034 away. White text reads best on it, at 15.70:1.

Hue familyNeutrals
Lightnessdark (26%)
Chromaclose to neutral grey (0.028)
Temperatureneutral
Nearest nameDark Brown (#341C02)
Black text1.33:1
White text15.70:1

Values

HEX#301F1B
RGBrgb(48, 31, 27)
HSLhsl(11, 28%, 15%)
OKLCHoklch(25.9% 0.028 33.7)

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 #301F1B 15.70:1 AAA Lc -105.2 Preferred for body text
Black text on #301F1B 1.33:1 Fails Lc 0.0 Not readable
#301F1B text on white 15.70:1 AAA Lc 102.6 Preferred for body text
#301F1B text on black 1.33: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 950.

  1. Step 50

    50

    #F8F4F3

    oklch(97% 0.005 34.3)

  2. Step 100

    100

    #F0E8E6

    oklch(93.7% 0.009 34.3)

  3. Step 200

    200

    #E5D5D1

    oklch(88.5% 0.019 34.3)

  4. Step 300

    300

    #D5BAB3

    oklch(81% 0.033 34.9)

  5. Step 400

    400

    #BF958B

    oklch(70.6% 0.053 33.7)

  6. Step 500

    500

    #AE7B6F

    oklch(63.1% 0.067 33.7)

  7. Step 600

    600

    #996357

    oklch(55.5% 0.073 33.1)

  8. Step 700

    700

    #835247

    oklch(49.1% 0.069 33.3)

  9. Step 800

    800

    #6A433A

    oklch(42.5% 0.057 33.6)

  10. Step 900

    900

    #563932

    oklch(37.6% 0.043 34.1)

  11. Step 950

    950 (this color)

    #301F1B

    oklch(25.9% 0.028 33.7)

Export this scale for Tailwind in the Tailwind colors tool

#301F1B 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)#23211B0.026
Deuteranopia (no green cones)#27241B0.024
Tritanopia (no blue cones)#341D1E0.013
Achromatopsia (no color)#2323230.028

Harmonies

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

Complementary

The opposite hue (180°).

  • #301F1B

    #301F1B

    oklch(25.9% 0.028 33.7)

  • #13272C

    #13272C

    oklch(25.8% 0.028 215.6)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #301F1B

    #301F1B

    oklch(25.9% 0.028 33.7)

  • #301E22

    #301E22

    oklch(25.9% 0.029 4.7)

  • #2E2116

    #2E2116

    oklch(26% 0.028 61.4)

Open the analogous palette in the generator

Split complementary

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

  • #301F1B

    #301F1B

    oklch(25.9% 0.028 33.7)

  • #132825

    #132825

    oklch(25.8% 0.028 184)

  • #182530

    #182530

    oklch(25.8% 0.028 244.7)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #301F1B

    #301F1B

    oklch(25.9% 0.028 33.7)

  • #19281E

    #19281E

    oklch(26% 0.028 154.8)

  • #1F2331

    #1F2331

    oklch(25.9% 0.027 272)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #301F1B

    #301F1B

    oklch(25.9% 0.028 33.7)

  • #212617

    #212617

    oklch(25.9% 0.028 123.3)

  • #13272C

    #13272C

    oklch(25.8% 0.028 215.6)

  • #27212F

    #27212F

    oklch(26.1% 0.027 304.1)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

Use #301F1B 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.