#1F2C2F

Closest named color: Jet (#212529). oklch(28.3% 0.018 213.4), rgb(31, 44, 47).

Aa

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

About this color

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

Hue familyNeutrals
Lightnessdark (28%)
Chromaclose to neutral grey (0.018)
Temperatureneutral
Nearest nameJet (#212529)
Black text1.45:1
White text14.38:1

Values

HEX#1F2C2F
RGBrgb(31, 44, 47)
HSLhsl(191, 21%, 15%)
OKLCHoklch(28.3% 0.018 213.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 #1F2C2F 14.38:1 AAA Lc -104.1 Preferred for body text
Black text on #1F2C2F 1.45:1 Fails Lc 0.0 Not readable
#1F2C2F text on white 14.38:1 AAA Lc 101.1 Preferred for body text
#1F2C2F text on black 1.45: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

    #F3F6F7

    oklch(97.1% 0.003 219.5)

  2. Step 100

    100

    #E5EBEC

    oklch(93.6% 0.007 208.8)

  3. Step 200

    200

    #D1DBDE

    oklch(88.5% 0.012 217.6)

  4. Step 300

    300

    #B1C5C9

    oklch(81% 0.023 211.1)

  5. Step 400

    400

    #88A7AE

    oklch(70.7% 0.036 212.9)

  6. Step 500

    500

    #6A919A

    oklch(63.1% 0.045 213.5)

  7. Step 600

    600

    #517B85

    oklch(55.6% 0.049 214.3)

  8. Step 700

    700

    #426870

    oklch(49.2% 0.045 212.4)

  9. Step 800

    800

    #36555B

    oklch(42.8% 0.038 211.1)

  10. Step 900

    900

    #2F464B

    oklch(37.7% 0.03 212.7)

  11. Step 950

    950 (this color)

    #1F2C2F

    oklch(28.3% 0.018 213.4)

Export this scale for Tailwind in the Tailwind colors tool

#1F2C2F 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)#2A2B2F0.018
Deuteranopia (no green cones)#27292F0.016
Tritanopia (no blue cones)#1A2D2D0.009
Achromatopsia (no color)#2A2A2A0.019

Harmonies

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

Complementary

The opposite hue (180°).

  • #1F2C2F

    #1F2C2F

    oklch(28.3% 0.018 213.4)

  • #322624

    #322624

    oklch(28.2% 0.019 29.2)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #1F2C2F

    #1F2C2F

    oklch(28.3% 0.018 213.4)

  • #1F2D2A

    #1F2D2A

    oklch(28.3% 0.02 180.1)

  • #222B32

    #222B32

    oklch(28.4% 0.018 241.7)

Open the analogous palette in the generator

Split complementary

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

  • #1F2C2F

    #1F2C2F

    oklch(28.3% 0.018 213.4)

  • #322628

    #322628

    oklch(28.3% 0.018 7.1)

  • #302820

    #302820

    oklch(28.3% 0.018 67)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #1F2C2F

    #1F2C2F

    oklch(28.3% 0.018 213.4)

  • #2F262D

    #2F262D

    oklch(28.2% 0.018 333.8)

  • #2C291F

    #2C291F

    oklch(28.1% 0.018 93.3)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #1F2C2F

    #1F2C2F

    oklch(28.3% 0.018 213.4)

  • #2B2731

    #2B2731

    oklch(28.1% 0.019 303.4)

  • #322624

    #322624

    oklch(28.2% 0.019 29.2)

  • #282B21

    #282B21

    oklch(28.3% 0.018 121.1)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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