#1F2F2B

Closest named color: Jet (#212529). oklch(28.9% 0.023 177.4), rgb(31, 47, 43).

Aa

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

About this color

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

Hue familyNeutrals
Lightnessdark (29%)
Chromaclose to neutral grey (0.023)
Temperatureneutral
Nearest nameJet (#212529)
Black text1.49:1
White text14.00:1

Values

HEX#1F2F2B
RGBrgb(31, 47, 43)
HSLhsl(165, 21%, 15%)
OKLCHoklch(28.9% 0.023 177.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 #1F2F2B 14.00:1 AAA Lc -103.7 Preferred for body text
Black text on #1F2F2B 1.49:1 Fails Lc 0.0 Not readable
#1F2F2B text on white 14.00:1 AAA Lc 100.6 Preferred for body text
#1F2F2B text on black 1.49: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

    #F3F6F5

    oklch(97.1% 0.003 174.5)

  2. Step 100

    100

    #E5ECEA

    oklch(93.7% 0.008 177.3)

  3. Step 200

    200

    #CFDCD9

    oklch(88.4% 0.015 180.7)

  4. Step 300

    300

    #AFC7C0

    oklch(81% 0.028 176.2)

  5. Step 400

    400

    #85AAA0

    oklch(70.8% 0.043 176.7)

  6. Step 500

    500

    #659589

    oklch(63.2% 0.055 177.1)

  7. Step 600

    600

    #4B7F73

    oklch(55.6% 0.059 177.6)

  8. Step 700

    700

    #3C6B60

    oklch(49.1% 0.055 177.1)

  9. Step 800

    800

    #32574F

    oklch(42.6% 0.045 178.7)

  10. Step 900

    900

    #2C4841

    oklch(37.7% 0.036 176.7)

  11. Step 950

    950 (this color)

    #1F2F2B

    oklch(28.9% 0.023 177.4)

Export this scale for Tailwind in the Tailwind colors tool

#1F2F2B 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)#2E2D2B0.024
Deuteranopia (no green cones)#2B2B2B0.023
Tritanopia (no blue cones)#1B2F2E0.007
Achromatopsia (no color)#2C2C2C0.023

Harmonies

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

Complementary

The opposite hue (180°).

  • #1F2F2B

    #1F2F2B

    oklch(28.9% 0.023 177.4)

  • #35272B

    #35272B

    oklch(29.1% 0.022 359.7)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #1F2F2B

    #1F2F2B

    oklch(28.9% 0.023 177.4)

  • #242E25

    #242E25

    oklch(28.9% 0.021 147.7)

  • #1E2E31

    #1E2E31

    oklch(28.8% 0.022 210.5)

Open the analogous palette in the generator

Split complementary

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

  • #1F2F2B

    #1F2F2B

    oklch(28.9% 0.023 177.4)

  • #312731

    #312731

    oklch(28.8% 0.023 326.2)

  • #362725

    #362725

    oklch(29% 0.023 27.3)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #1F2F2B

    #1F2F2B

    oklch(28.9% 0.023 177.4)

  • #2C2935

    #2C2935

    oklch(28.9% 0.022 296.5)

  • #342920

    #342920

    oklch(29.1% 0.023 61)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #1F2F2B

    #1F2F2B

    oklch(28.9% 0.023 177.4)

  • #262B37

    #262B37

    oklch(28.9% 0.023 267.2)

  • #35272B

    #35272B

    oklch(29.1% 0.022 359.7)

  • #302B1E

    #302B1E

    oklch(29% 0.023 89.5)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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