#301F27

Closest named color: Jet (#212529). oklch(26.4% 0.03 349.5), rgb(48, 31, 39).

Aa

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

About this color

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

Hue familyNeutrals
Lightnessdark (26%)
Chromaclose to neutral grey (0.030)
Temperatureneutral
Nearest nameJet (#212529)
Black text1.35:1
White text15.54:1

Values

HEX#301F27
RGBrgb(48, 31, 39)
HSLhsl(332, 22%, 15%)
OKLCHoklch(26.4% 0.03 349.5)

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 #301F27 15.54:1 AAA Lc -105.1 Preferred for body text
Black text on #301F27 1.35:1 Fails Lc 0.0 Not readable
#301F27 text on white 15.54:1 AAA Lc 102.4 Preferred for body text
#301F27 text on black 1.35: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

    #F8F4F6

    oklch(97.1% 0.005 345.3)

  2. Step 100

    100

    #EFE7EB

    oklch(93.5% 0.01 345.4)

  3. Step 200

    200

    #E4D4DB

    oklch(88.5% 0.02 349.1)

  4. Step 300

    300

    #D3B8C4

    oklch(80.9% 0.035 349.3)

  5. Step 400

    400

    #BC93A6

    oklch(70.7% 0.055 349.1)

  6. Step 500

    500

    #AB7890

    oklch(63.2% 0.071 349.5)

  7. Step 600

    600

    #96607A

    oklch(55.6% 0.078 349.6)

  8. Step 700

    700

    #804F67

    oklch(49.1% 0.073 349.3)

  9. Step 800

    800

    #684154

    oklch(42.7% 0.06 349.3)

  10. Step 900

    900

    #553745

    oklch(37.7% 0.048 350.1)

  11. Step 950

    950 (this color)

    #301F27

    oklch(26.4% 0.03 349.5)

Export this scale for Tailwind in the Tailwind colors tool

#301F27 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)#2022270.032
Deuteranopia (no green cones)#2425270.029
Tritanopia (no blue cones)#321F220.010
Achromatopsia (no color)#2424240.030

Harmonies

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

Complementary

The opposite hue (180°).

  • #301F27

    #301F27

    oklch(26.4% 0.03 349.5)

  • #162A23

    #162A23

    oklch(26.5% 0.029 169.7)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #301F27

    #301F27

    oklch(26.4% 0.03 349.5)

  • #2B202E

    #2B202E

    oklch(26.3% 0.03 318.9)

  • #321F1F

    #321F1F

    oklch(26.4% 0.03 19.2)

Open the analogous palette in the generator

Split complementary

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

  • #301F27

    #301F27

    oklch(26.4% 0.03 349.5)

  • #1D281B

    #1D281B

    oklch(26.2% 0.028 140.7)

  • #12292A

    #12292A

    oklch(26.3% 0.029 199.2)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #301F27

    #301F27

    oklch(26.4% 0.03 349.5)

  • #262615

    #262615

    oklch(26.3% 0.029 108.3)

  • #152830

    #152830

    oklch(26.4% 0.029 226.8)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #301F27

    #301F27

    oklch(26.4% 0.03 349.5)

  • #2D2314

    #2D2314

    oklch(26.3% 0.03 77)

  • #162A23

    #162A23

    oklch(26.5% 0.029 169.7)

  • #1C2533

    #1C2533

    oklch(26.3% 0.029 259.1)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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