#1F2E37

Closest named color: Gunmetal (#293241). oklch(29.2% 0.026 235.2), rgb(31, 46, 55).

Aa

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

About this color

#1F2E37 is a dark close to neutral grey. In OKLCH its lightness is 29%, its chroma 0.026. It has too little chroma to lean warm or cool. The nearest named color is Gunmetal (#293241), ΔE 0.027 away. White text reads best on it, at 13.96:1.

Hue familyNeutrals
Lightnessdark (29%)
Chromaclose to neutral grey (0.026)
Temperatureneutral
Nearest nameGunmetal (#293241)
Black text1.50:1
White text13.96:1

Values

HEX#1F2E37
RGBrgb(31, 46, 55)
HSLhsl(203, 28%, 17%)
OKLCHoklch(29.2% 0.026 235.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 #1F2E37 13.96:1 AAA Lc -103.6 Preferred for body text
Black text on #1F2E37 1.50:1 Fails Lc 0.0 Not readable
#1F2E37 text on white 13.96:1 AAA Lc 100.6 Preferred for body text
#1F2E37 text on black 1.50: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

    #F3F6F8

    oklch(97.1% 0.004 236.5)

  2. Step 100

    100

    #E4EBEF

    oklch(93.6% 0.009 232.4)

  3. Step 200

    200

    #CFDBE3

    oklch(88.5% 0.017 236.7)

  4. Step 300

    300

    #AEC4D2

    oklch(80.8% 0.031 235.7)

  5. Step 400

    400

    #83A6BB

    oklch(70.6% 0.049 234.7)

  6. Step 500

    500

    #6390AA

    oklch(63.1% 0.063 234.5)

  7. Step 600

    600

    #497A96

    oklch(55.6% 0.069 234.9)

  8. Step 700

    700

    #3A6780

    oklch(49.2% 0.064 234.4)

  9. Step 800

    800

    #315468

    oklch(42.8% 0.052 234.9)

  10. Step 900

    900

    #2B4554

    oklch(37.6% 0.041 234.7)

  11. Step 950

    950 (this color)

    #1F2E37

    oklch(29.2% 0.026 235.2)

Export this scale for Tailwind in the Tailwind colors tool

#1F2E37 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)#2A2E370.017
Deuteranopia (no green cones)#272B370.015
Tritanopia (no blue cones)#1630310.019
Achromatopsia (no color)#2C2C2C0.026

Harmonies

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

Complementary

The opposite hue (180°).

  • #1F2E37

    #1F2E37

    oklch(29.2% 0.026 235.2)

  • #36281F

    #36281F

    oklch(29% 0.026 54.2)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #1F2E37

    #1F2E37

    oklch(29.2% 0.026 235.2)

  • #1C3032

    #1C3032

    oklch(29.3% 0.026 203.8)

  • #252C39

    #252C39

    oklch(29.2% 0.026 262.7)

Open the analogous palette in the generator

Split complementary

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

  • #1F2E37

    #1F2E37

    oklch(29.2% 0.026 235.2)

  • #382725

    #382725

    oklch(29.2% 0.026 26.4)

  • #322B1D

    #322B1D

    oklch(29.2% 0.026 84.3)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #1F2E37

    #1F2E37

    oklch(29.2% 0.026 235.2)

  • #37262C

    #37262C

    oklch(29.1% 0.027 356)

  • #2B2D1F

    #2B2D1F

    oklch(29.1% 0.024 114.5)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #1F2E37

    #1F2E37

    oklch(29.2% 0.026 235.2)

  • #332733

    #332733

    oklch(29.1% 0.027 326.3)

  • #36281F

    #36281F

    oklch(29% 0.026 54.2)

  • #242F24

    #242F24

    oklch(29.1% 0.025 144.9)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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