#1F131D

Closest named color: Rich Black (#0D1B2A). oklch(20.7% 0.027 332.5), rgb(31, 19, 29).

Aa

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

About this color

#1F131D is a very dark close to neutral grey. In OKLCH its lightness is 21%, its chroma 0.027. It has too little chroma to lean warm or cool. The nearest named color is Rich Black (#0D1B2A), ΔE 0.042 away. White text reads best on it, at 17.96:1.

Hue familyNeutrals
Lightnessvery dark (21%)
Chromaclose to neutral grey (0.027)
Temperatureneutral
Nearest nameRich Black (#0D1B2A)
Black text1.16:1
White text17.96:1

Values

HEX#1F131D
RGBrgb(31, 19, 29)
HSLhsl(310, 24%, 10%)
OKLCHoklch(20.7% 0.027 332.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 #1F131D 17.96:1 AAA Lc -106.9 Preferred for body text
Black text on #1F131D 1.16:1 Fails Lc 0.0 Not readable
#1F131D text on white 17.96:1 AAA Lc 104.7 Preferred for body text
#1F131D text on black 1.16: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

    #EEE8EC

    oklch(93.7% 0.008 337.4)

  3. Step 200

    200

    #E1D5DE

    oklch(88.5% 0.018 334.2)

  4. Step 300

    300

    #CEB9CA

    oklch(80.9% 0.033 332.2)

  5. Step 400

    400

    #B495AF

    oklch(70.6% 0.051 331.6)

  6. Step 500

    500

    #A27B9B

    oklch(63.1% 0.066 332.7)

  7. Step 600

    600

    #8C6486

    oklch(55.6% 0.071 331.8)

  8. Step 700

    700

    #775371

    oklch(49.1% 0.065 332.5)

  9. Step 800

    800

    #61445C

    oklch(42.7% 0.054 332.7)

  10. Step 900

    900

    #4F394B

    oklch(37.6% 0.042 332.9)

  11. Step 950

    950 (this color)

    #1F131D

    oklch(20.7% 0.027 332.5)

Export this scale for Tailwind in the Tailwind colors tool

#1F131D 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)#13161D0.026
Deuteranopia (no green cones)#16171D0.022
Tritanopia (no blue cones)#2014170.014
Achromatopsia (no color)#1717170.027

Harmonies

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

Complementary

The opposite hue (180°).

  • #1F131D

    #1F131D

    oklch(20.7% 0.027 332.5)

  • #0E1B12

    #0E1B12

    oklch(20.7% 0.026 153.5)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #1F131D

    #1F131D

    oklch(20.7% 0.027 332.5)

  • #1A1522

    #1A1522

    oklch(20.8% 0.026 301.8)

  • #221216

    #221216

    oklch(20.6% 0.027 3.5)

Open the analogous palette in the generator

Split complementary

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

  • #1F131D

    #1F131D

    oklch(20.7% 0.027 332.5)

  • #151A0C

    #151A0C

    oklch(20.8% 0.027 124.7)

  • #081C19

    #081C19

    oklch(20.9% 0.027 182.6)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #1F131D

    #1F131D

    oklch(20.7% 0.027 332.5)

  • #1C1709

    #1C1709

    oklch(20.6% 0.026 90.4)

  • #071B1F

    #071B1F

    oklch(20.8% 0.027 212.4)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #1F131D

    #1F131D

    oklch(20.7% 0.027 332.5)

  • #20150A

    #20150A

    oklch(20.7% 0.027 65.4)

  • #0E1B12

    #0E1B12

    oklch(20.7% 0.026 153.5)

  • #0C1923

    #0C1923

    oklch(20.7% 0.027 242.8)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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