#271D28

Closest named color: Jet (#212529). oklch(24.7% 0.025 323.3), rgb(39, 29, 40).

Aa

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

About this color

#271D28 is a very dark close to neutral grey. In OKLCH its lightness is 25%, its chroma 0.025. It has too little chroma to lean warm or cool. The nearest named color is Jet (#212529), ΔE 0.029 away. White text reads best on it, at 16.24:1.

Hue familyNeutrals
Lightnessvery dark (25%)
Chromaclose to neutral grey (0.025)
Temperatureneutral
Nearest nameJet (#212529)
Black text1.29:1
White text16.24:1

Values

HEX#271D28
RGBrgb(39, 29, 40)
HSLhsl(295, 16%, 14%)
OKLCHoklch(24.7% 0.025 323.3)

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 #271D28 16.24:1 AAA Lc -105.7 Preferred for body text
Black text on #271D28 1.29:1 Fails Lc 0.0 Not readable
#271D28 text on white 16.24:1 AAA Lc 103.2 Preferred for body text
#271D28 text on black 1.29: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

    #F7F4F7

    oklch(97% 0.005 325.6)

  2. Step 100

    100

    #EDE8ED

    oklch(93.6% 0.009 325.6)

  3. Step 200

    200

    #DFD6DF

    oklch(88.6% 0.016 325.7)

  4. Step 300

    300

    #CABBCC

    oklch(81% 0.029 322.2)

  5. Step 400

    400

    #B097B2

    oklch(70.7% 0.048 323.7)

  6. Step 500

    500

    #9C7D9F

    oklch(63.1% 0.062 323.4)

  7. Step 600

    600

    #87668A

    oklch(55.6% 0.067 323.7)

  8. Step 700

    700

    #725575

    oklch(49.1% 0.061 323.3)

  9. Step 800

    800

    #5D465F

    oklch(42.8% 0.05 323.8)

  10. Step 900

    900

    #4C3B4E

    oklch(37.8% 0.039 322.8)

  11. Step 950

    950 (this color)

    #271D28

    oklch(24.7% 0.025 323.3)

Export this scale for Tailwind in the Tailwind colors tool

#271D28 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)#1C20280.022
Deuteranopia (no green cones)#1E21280.021
Tritanopia (no blue cones)#271E210.015
Achromatopsia (no color)#2020200.025

Harmonies

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

Complementary

The opposite hue (180°).

  • #271D28

    #271D28

    oklch(24.7% 0.025 323.3)

  • #1A2419

    #1A2419

    oklch(24.7% 0.025 142.5)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #271D28

    #271D28

    oklch(24.7% 0.025 323.3)

  • #211F2C

    #211F2C

    oklch(24.8% 0.025 291.5)

  • #2B1C22

    #2B1C22

    oklch(24.8% 0.026 353.4)

Open the analogous palette in the generator

Split complementary

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

  • #271D28

    #271D28

    oklch(24.7% 0.025 323.3)

  • #212214

    #212214

    oklch(24.6% 0.025 111.5)

  • #142520

    #142520

    oklch(24.8% 0.025 173.6)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #271D28

    #271D28

    oklch(24.7% 0.025 323.3)

  • #272013

    #272013

    oklch(24.8% 0.025 82.5)

  • #122526

    #122526

    oklch(24.9% 0.025 200)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #271D28

    #271D28

    oklch(24.7% 0.025 323.3)

  • #2B1E16

    #2B1E16

    oklch(24.8% 0.025 52.8)

  • #1A2419

    #1A2419

    oklch(24.7% 0.025 142.5)

  • #15232B

    #15232B

    oklch(24.7% 0.025 234.2)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

Use #271D28 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.