#301F23

Closest named color: Jet (#212529). oklch(26.2% 0.027 3.6), rgb(48, 31, 35).

Aa

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

About this color

#301F23 is a dark close to neutral grey. In OKLCH its lightness is 26%, its chroma 0.027. It has too little chroma to lean warm or cool. The nearest named color is Jet (#212529), ΔE 0.032 away. White text reads best on it, at 15.60:1.

Hue familyNeutrals
Lightnessdark (26%)
Chromaclose to neutral grey (0.027)
Temperatureneutral
Nearest nameJet (#212529)
Black text1.34:1
White text15.60:1

Values

HEX#301F23
RGBrgb(48, 31, 35)
HSLhsl(346, 22%, 15%)
OKLCHoklch(26.2% 0.027 3.6)

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 #301F23 15.60:1 AAA Lc -105.2 Preferred for body text
Black text on #301F23 1.34:1 Fails Lc 0.0 Not readable
#301F23 text on white 15.60:1 AAA Lc 102.5 Preferred for body text
#301F23 text on black 1.34: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

    #F8F4F5

    oklch(97.1% 0.004 360)

  2. Step 100

    100

    #F0E7E9

    oklch(93.6% 0.01 2)

  3. Step 200

    200

    #E4D4D8

    oklch(88.4% 0.018 0.4)

  4. Step 300

    300

    #D4B8BE

    oklch(80.8% 0.033 3.3)

  5. Step 400

    400

    #BD949D

    oklch(70.7% 0.051 3.8)

  6. Step 500

    500

    #AC7985

    oklch(63.1% 0.066 3.6)

  7. Step 600

    600

    #97616F

    oklch(55.5% 0.072 2.8)

  8. Step 700

    700

    #81505C

    oklch(49% 0.068 4)

  9. Step 800

    800

    #69424C

    oklch(42.7% 0.056 3)

  10. Step 900

    900

    #55383F

    oklch(37.7% 0.043 3.5)

  11. Step 950

    950 (this color)

    #301F23

    oklch(26.2% 0.027 3.6)

Export this scale for Tailwind in the Tailwind colors tool

#301F23 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)#2122230.030
Deuteranopia (no green cones)#2525230.028
Tritanopia (no blue cones)#331E200.008
Achromatopsia (no color)#2424240.027

Harmonies

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

Complementary

The opposite hue (180°).

  • #301F23

    #301F23

    oklch(26.2% 0.027 3.6)

  • #142926

    #142926

    oklch(26.2% 0.028 184.1)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #301F23

    #301F23

    oklch(26.2% 0.027 3.6)

  • #2D202A

    #2D202A

    oklch(26.3% 0.026 334.7)

  • #30201C

    #30201C

    oklch(26.2% 0.026 34.5)

Open the analogous palette in the generator

Split complementary

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

  • #301F23

    #301F23

    oklch(26.2% 0.027 3.6)

  • #1A281E

    #1A281E

    oklch(26% 0.027 153.2)

  • #14282D

    #14282D

    oklch(26.2% 0.027 215.6)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #301F23

    #301F23

    oklch(26.2% 0.027 3.6)

  • #222718

    #222718

    oklch(26.3% 0.028 123.3)

  • #192631

    #192631

    oklch(26.2% 0.027 244.6)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #301F23

    #301F23

    oklch(26.2% 0.027 3.6)

  • #292415

    #292415

    oklch(26.1% 0.027 91.8)

  • #142926

    #142926

    oklch(26.2% 0.028 184.1)

  • #202432

    #202432

    oklch(26.3% 0.027 272.1)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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