#1F271D

Closest named color: Jet (#212529). oklch(26.1% 0.022 139.4), rgb(31, 39, 29).

Aa

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

About this color

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

Hue familyNeutrals
Lightnessdark (26%)
Chromaclose to neutral grey (0.022)
Temperatureneutral
Nearest nameJet (#212529)
Black text1.36:1
White text15.37:1

Values

HEX#1F271D
RGBrgb(31, 39, 29)
HSLhsl(108, 15%, 13%)
OKLCHoklch(26.1% 0.022 139.4)

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 #1F271D 15.37:1 AAA Lc -105.0 Preferred for body text
Black text on #1F271D 1.36:1 Fails Lc 0.0 Not readable
#1F271D text on white 15.37:1 AAA Lc 102.3 Preferred for body text
#1F271D text on black 1.36: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

    #F4F6F4

    oklch(97.1% 0.003 145.5)

  2. Step 100

    100

    #E7EBE6

    oklch(93.6% 0.008 139.4)

  3. Step 200

    200

    #D4DBD3

    oklch(88.4% 0.013 141.8)

  4. Step 300

    300

    #B8C5B5

    oklch(80.9% 0.026 139.8)

  5. Step 400

    400

    #94A78F

    oklch(70.7% 0.04 139.2)

  6. Step 500

    500

    #799273

    oklch(63.2% 0.054 139.6)

  7. Step 600

    600

    #627C5C

    oklch(55.7% 0.057 139.8)

  8. Step 700

    700

    #51684B

    oklch(49% 0.053 139.2)

  9. Step 800

    800

    #43553E

    oklch(42.7% 0.043 138.9)

  10. Step 900

    900

    #384635

    oklch(37.6% 0.034 140.1)

  11. Step 950

    950 (this color)

    #1F271D

    oklch(26.1% 0.022 139.4)

Export this scale for Tailwind in the Tailwind colors tool

#1F271D 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)#28251C0.016
Deuteranopia (no green cones)#26241D0.016
Tritanopia (no blue cones)#1F26240.015
Achromatopsia (no color)#2525250.022

Harmonies

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

Complementary

The opposite hue (180°).

  • #1F271D

    #1F271D

    oklch(26.1% 0.022 139.4)

  • #29212B

    #29212B

    oklch(26.1% 0.022 319.5)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #1F271D

    #1F271D

    oklch(26.1% 0.022 139.4)

  • #252519

    #252519

    oklch(26.1% 0.021 107.8)

  • #1A2823

    #1A2823

    oklch(26.2% 0.021 170.5)

Open the analogous palette in the generator

Split complementary

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

  • #1F271D

    #1F271D

    oklch(26.1% 0.022 139.4)

  • #24232E

    #24232E

    oklch(26.2% 0.02 289.1)

  • #2D2026

    #2D2026

    oklch(26.2% 0.023 349.4)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #1F271D

    #1F271D

    oklch(26.1% 0.022 139.4)

  • #1E252F

    #1E252F

    oklch(26.2% 0.021 257.3)

  • #2E2020

    #2E2020

    oklch(26.1% 0.022 18.7)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #1F271D

    #1F271D

    oklch(26.1% 0.022 139.4)

  • #19262D

    #19262D

    oklch(26% 0.022 232.2)

  • #29212B

    #29212B

    oklch(26.1% 0.022 319.5)

  • #2D211B

    #2D211B

    oklch(26% 0.022 47.9)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

Use #1F271D 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.