#1F2004

Closest named color: Dark Brown (#341C02). oklch(23.5% 0.045 111.3), rgb(31, 32, 4).

Aa

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

About this color

#1F2004 is a very dark, muted brown. In OKLCH its lightness is 24%, its chroma 0.045 and its hue 111°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Dark Brown (#341C02), ΔE 0.044 away. White text reads best on it, at 16.57:1.

Hue familyBrowns
Lightnessvery dark (24%)
Chromamuted (0.045)
Temperaturein between
Nearest nameDark Brown (#341C02)
Black text1.26:1
White text16.57:1

Values

HEX#1F2004
RGBrgb(31, 32, 4)
HSLhsl(62, 78%, 7%)
OKLCHoklch(23.5% 0.045 111.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 #1F2004 16.57:1 AAA Lc -105.9 Preferred for body text
Black text on #1F2004 1.26:1 Fails Lc 0.0 Not readable
#1F2004 text on white 16.57:1 AAA Lc 103.5 Preferred for body text
#1F2004 text on black 1.26: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

    #F5F6F1

    oklch(97.1% 0.007 115.7)

  2. Step 100

    100

    #EAEBDF

    oklch(93.6% 0.016 110.6)

  3. Step 200

    200

    #D9DBC5

    oklch(88.4% 0.03 111.2)

  4. Step 300

    300

    #C1C49D

    oklch(80.8% 0.053 111.1)

  5. Step 400

    400

    #A2A666

    oklch(70.7% 0.086 111.5)

  6. Step 500

    500

    #8C9039

    oklch(63.2% 0.11 111.6)

  7. Step 600

    600

    #76790A

    oklch(55.5% 0.119 111.5)

  8. Step 700

    700

    #636600

    oklch(49.1% 0.109 111.8)

  9. Step 800

    800

    #515304

    oklch(42.6% 0.092 111.3)

  10. Step 900

    900

    #434511

    oklch(37.7% 0.072 111.5)

  11. Step 950

    950 (this color)

    #1F2004

    oklch(23.5% 0.045 111.3)

Export this scale for Tailwind in the Tailwind colors tool

#1F2004 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)#231E020.009
Deuteranopia (no green cones)#231F050.009
Tritanopia (no blue cones)#221D1A0.041
Achromatopsia (no color)#1E1E1E0.045

Harmonies

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

Complementary

The opposite hue (180°).

  • #1F2004

    #1F2004

    oklch(23.5% 0.045 111.3)

  • #1E1A32

    #1E1A32

    oklch(23.5% 0.045 290.1)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #1F2004

    #1F2004

    oklch(23.5% 0.045 111.3)

  • #291C02

    #291C02

    oklch(23.7% 0.046 82.4)

  • #11230F

    #11230F

    oklch(23.4% 0.044 141.9)

Open the analogous palette in the generator

Split complementary

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

  • #1F2004

    #1F2004

    oklch(23.5% 0.045 111.3)

  • #121E33

    #121E33

    oklch(23.6% 0.044 261)

  • #28162B

    #28162B

    oklch(23.4% 0.047 321.7)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #1F2004

    #1F2004

    oklch(23.5% 0.045 111.3)

  • #022230

    #022230

    oklch(23.7% 0.045 231.2)

  • #2E1421

    #2E1421

    oklch(23.4% 0.047 350)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #1F2004

    #1F2004

    oklch(23.5% 0.045 111.3)

  • #002426

    #002426

    oklch(23.7% 0.04 200.3)

  • #1E1A32

    #1E1A32

    oklch(23.5% 0.045 290.1)

  • #301515

    #301515

    oklch(23.5% 0.044 20.9)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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