#1D1F2E

Closest named color: Dark (#1B2431). oklch(24.4% 0.029 278.2), rgb(29, 31, 46).

Aa

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

About this color

#1D1F2E is a very dark close to neutral grey. In OKLCH its lightness is 24%, its chroma 0.029. It has too little chroma to lean warm or cool. The nearest named color is Dark (#1B2431), ΔE 0.017 away. White text reads best on it, at 16.30:1.

Hue familyNeutrals
Lightnessvery dark (24%)
Chromaclose to neutral grey (0.029)
Temperatureneutral
Nearest nameDark (#1B2431)
Black text1.28:1
White text16.30:1

Values

HEX#1D1F2E
RGBrgb(29, 31, 46)
HSLhsl(233, 23%, 15%)
OKLCHoklch(24.4% 0.029 278.2)

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 #1D1F2E 16.30:1 AAA Lc -105.8 Preferred for body text
Black text on #1D1F2E 1.28:1 Fails Lc 0.0 Not readable
#1D1F2E text on white 16.30:1 AAA Lc 103.3 Preferred for body text
#1D1F2E text on black 1.28: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

    #F5F5F8

    oklch(97.1% 0.004 286.3)

  2. Step 100

    100

    #E8E9F1

    oklch(93.6% 0.011 280.5)

  3. Step 200

    200

    #D6D8E6

    oklch(88.5% 0.019 279.5)

  4. Step 300

    300

    #BBBFD7

    oklch(80.9% 0.034 278.1)

  5. Step 400

    400

    #989EC3

    oklch(70.7% 0.054 277.7)

  6. Step 500

    500

    #7F86B4

    oklch(63.2% 0.07 277.5)

  7. Step 600

    600

    #696F9F

    oklch(55.6% 0.075 278.2)

  8. Step 700

    700

    #575D88

    oklch(49.1% 0.069 277.4)

  9. Step 800

    800

    #474C6F

    oklch(42.7% 0.058 277.4)

  10. Step 900

    900

    #3C3F5A

    oklch(37.7% 0.046 279)

  11. Step 950

    950 (this color)

    #1D1F2E

    oklch(24.4% 0.029 278.2)

Export this scale for Tailwind in the Tailwind colors tool

#1D1F2E 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)#1B212F0.007
Deuteranopia (no green cones)#1A1F2E0.005
Tritanopia (no blue cones)#1922240.026
Achromatopsia (no color)#2020200.029

Harmonies

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

Complementary

The opposite hue (180°).

  • #1D1F2E

    #1D1F2E

    oklch(24.4% 0.029 278.2)

  • #242110

    #242110

    oklch(24.6% 0.03 99.5)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #1D1F2E

    #1D1F2E

    oklch(24.4% 0.029 278.2)

  • #15222D

    #15222D

    oklch(24.5% 0.028 244.8)

  • #241D2B

    #241D2B

    oklch(24.5% 0.028 307.2)

Open the analogous palette in the generator

Split complementary

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

  • #1D1F2E

    #1D1F2E

    oklch(24.4% 0.029 278.2)

  • #291E11

    #291E11

    oklch(24.5% 0.028 70.5)

  • #1C2314

    #1C2314

    oklch(24.4% 0.029 128.7)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #1D1F2E

    #1D1F2E

    oklch(24.4% 0.029 278.2)

  • #2C1C16

    #2C1C16

    oklch(24.5% 0.028 41.4)

  • #14251B

    #14251B

    oklch(24.6% 0.03 157.5)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #1D1F2E

    #1D1F2E

    oklch(24.4% 0.029 278.2)

  • #2C1B1E

    #2C1B1E

    oklch(24.5% 0.027 7.7)

  • #242110

    #242110

    oklch(24.6% 0.03 99.5)

  • #0E2523

    #0E2523

    oklch(24.5% 0.029 188)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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