#271E28

Closest named color: Jet (#212529). oklch(25% 0.023 323), rgb(39, 30, 40).

Aa

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

About this color

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

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

Values

HEX#271E28
RGBrgb(39, 30, 40)
HSLhsl(294, 14%, 14%)
OKLCHoklch(25% 0.023 323)

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 #271E28 16.12:1 AAA Lc -105.6 Preferred for body text
Black text on #271E28 1.30:1 Fails Lc 0.0 Not readable
#271E28 text on white 16.12:1 AAA Lc 103.1 Preferred for body text
#271E28 text on black 1.30: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

    #F7F5F7

    oklch(97.2% 0.003 325.6)

  2. Step 100

    100

    #ECE8ED

    oklch(93.6% 0.008 319.4)

  3. Step 200

    200

    #DED6DF

    oklch(88.5% 0.015 322.3)

  4. Step 300

    300

    #C9BBCB

    oklch(80.8% 0.027 322)

  5. Step 400

    400

    #AE98B0

    oklch(70.7% 0.042 323.4)

  6. Step 500

    500

    #9A7F9D

    oklch(63.2% 0.054 323)

  7. Step 600

    600

    #856888

    oklch(55.7% 0.06 323.2)

  8. Step 700

    700

    #705673

    oklch(49% 0.055 322.9)

  9. Step 800

    800

    #5B475E

    oklch(42.8% 0.045 322)

  10. Step 900

    900

    #4B3B4D

    oklch(37.6% 0.037 322.6)

  11. Step 950

    950 (this color)

    #271E28

    oklch(25% 0.023 323)

Export this scale for Tailwind in the Tailwind colors tool

#271E28 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)#1D20280.019
Deuteranopia (no green cones)#1F21280.018
Tritanopia (no blue cones)#271F210.015
Achromatopsia (no color)#2121210.023

Harmonies

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

Complementary

The opposite hue (180°).

  • #271E28

    #271E28

    oklch(25% 0.023 323)

  • #1B251B

    #1B251B

    oklch(25.1% 0.023 144.8)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #271E28

    #271E28

    oklch(25% 0.023 323)

  • #22202C

    #22202C

    oklch(25.1% 0.023 292.3)

  • #2A1D22

    #2A1D22

    oklch(24.9% 0.022 353.9)

Open the analogous palette in the generator

Split complementary

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

  • #271E28

    #271E28

    oklch(25% 0.023 323)

  • #222316

    #222316

    oklch(25.1% 0.023 111.6)

  • #162521

    #162521

    oklch(24.9% 0.022 175.9)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #271E28

    #271E28

    oklch(25% 0.023 323)

  • #272115

    #272115

    oklch(25.1% 0.023 84.3)

  • #142526

    #142526

    oklch(25% 0.023 200.5)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #271E28

    #271E28

    oklch(25% 0.023 323)

  • #2A1F17

    #2A1F17

    oklch(25% 0.022 57.5)

  • #1B251B

    #1B251B

    oklch(25.1% 0.023 144.8)

  • #16242B

    #16242B

    oklch(25.1% 0.023 230.5)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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