#1F2012

Closest named color: Jet (#212529). oklch(23.8% 0.025 111.6), rgb(31, 32, 18).

Aa

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

About this color

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

Hue familyNeutrals
Lightnessvery dark (24%)
Chromaclose to neutral grey (0.025)
Temperatureneutral
Nearest nameJet (#212529)
Black text1.27:1
White text16.48:1

Values

HEX#1F2012
RGBrgb(31, 32, 18)
HSLhsl(64, 28%, 10%)
OKLCHoklch(23.8% 0.025 111.6)

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 #1F2012 16.48:1 AAA Lc -105.9 Preferred for body text
Black text on #1F2012 1.27:1 Fails Lc 0.0 Not readable
#1F2012 text on white 16.48:1 AAA Lc 103.4 Preferred for body text
#1F2012 text on black 1.27: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

    #F5F6F3

    oklch(97.2% 0.004 121.6)

  2. Step 100

    100

    #EAEAE4

    oklch(93.5% 0.008 106.6)

  3. Step 200

    200

    #D9DACE

    oklch(88.4% 0.016 110.6)

  4. Step 300

    300

    #C1C3AD

    oklch(81% 0.03 111.3)

  5. Step 400

    400

    #A1A482

    oklch(70.7% 0.048 111.7)

  6. Step 500

    500

    #8A8D62

    oklch(63% 0.061 111.4)

  7. Step 600

    600

    #747749

    oklch(55.5% 0.066 111.5)

  8. Step 700

    700

    #62643A

    oklch(49.1% 0.061 110.8)

  9. Step 800

    800

    #505231

    oklch(42.8% 0.05 111.3)

  10. Step 900

    900

    #42442B

    oklch(37.8% 0.04 112)

  11. Step 950

    950 (this color)

    #1F2012

    oklch(23.8% 0.025 111.6)

Export this scale for Tailwind in the Tailwind colors tool

#1F2012 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)#221F110.006
Deuteranopia (no green cones)#221F130.007
Tritanopia (no blue cones)#211E1C0.022
Achromatopsia (no color)#1F1F1F0.025

Harmonies

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

Complementary

The opposite hue (180°).

  • #1F2012

    #1F2012

    oklch(23.8% 0.025 111.6)

  • #1F1D2A

    #1F1D2A

    oklch(23.9% 0.025 291.5)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #1F2012

    #1F2012

    oklch(23.8% 0.025 111.6)

  • #251E11

    #251E11

    oklch(23.9% 0.025 82.4)

  • #182217

    #182217

    oklch(23.8% 0.025 142.4)

Open the analogous palette in the generator

Split complementary

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

  • #1F2012

    #1F2012

    oklch(23.8% 0.025 111.6)

  • #181F2B

    #181F2B

    oklch(23.8% 0.025 261)

  • #241B26

    #241B26

    oklch(23.8% 0.025 320.1)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #1F2012

    #1F2012

    oklch(23.8% 0.025 111.6)

  • #122129

    #122129

    oklch(23.8% 0.026 232.6)

  • #281A20

    #281A20

    oklch(23.8% 0.024 351.7)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #1F2012

    #1F2012

    oklch(23.8% 0.025 111.6)

  • #0F2224

    #0F2224

    oklch(23.7% 0.025 204.4)

  • #1F1D2A

    #1F1D2A

    oklch(23.9% 0.025 291.5)

  • #2A1A19

    #2A1A19

    oklch(23.8% 0.026 23.2)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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