#1F3239

Closest named color: Gunmetal (#293241). oklch(30.4% 0.028 223.1), rgb(31, 50, 57).

Aa

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

About this color

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

Hue familyNeutrals
Lightnessdark (30%)
Chromaclose to neutral grey (0.028)
Temperatureneutral
Nearest nameGunmetal (#293241)
Black text1.57:1
White text13.34:1

Values

HEX#1F3239
RGBrgb(31, 50, 57)
HSLhsl(196, 30%, 17%)
OKLCHoklch(30.4% 0.028 223.1)

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 #1F3239 13.34:1 AAA Lc -102.9 Preferred for body text
Black text on #1F3239 1.57:1 Fails Lc 0.0 Not readable
#1F3239 text on white 13.34:1 AAA Lc 99.7 Preferred for body text
#1F3239 text on black 1.57: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

    #F2F6F8

    oklch(97.1% 0.005 228.8)

  2. Step 100

    100

    #E3EBEE

    oklch(93.5% 0.009 222.1)

  3. Step 200

    200

    #CDDCE2

    oklch(88.5% 0.018 223.6)

  4. Step 300

    300

    #ABC6D0

    oklch(81% 0.032 222.1)

  5. Step 400

    400

    #7DA8B9

    oklch(70.6% 0.053 224.3)

  6. Step 500

    500

    #5A93A7

    oklch(63.2% 0.067 222.4)

  7. Step 600

    600

    #3E7D92

    oklch(55.7% 0.072 222.3)

  8. Step 700

    700

    #2F697D

    oklch(49.1% 0.068 223.5)

  9. Step 800

    800

    #285665

    oklch(42.7% 0.056 221.9)

  10. Step 900

    900

    #264753

    oklch(37.8% 0.044 223.6)

  11. Step 950

    950 (this color)

    #1F3239

    oklch(30.4% 0.028 223.1)

Export this scale for Tailwind in the Tailwind colors tool

#1F3239 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)#2E31390.022
Deuteranopia (no green cones)#2A2E390.020
Tritanopia (no blue cones)#1534340.018
Achromatopsia (no color)#2F2F2F0.028

Harmonies

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

Complementary

The opposite hue (180°).

  • #1F3239

    #1F3239

    oklch(30.4% 0.028 223.1)

  • #3B2A24

    #3B2A24

    oklch(30.3% 0.028 40.3)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #1F3239

    #1F3239

    oklch(30.4% 0.028 223.1)

  • #1E3333

    #1E3333

    oklch(30.3% 0.027 195.8)

  • #25303D

    #25303D

    oklch(30.5% 0.028 252.9)

Open the analogous palette in the generator

Split complementary

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

  • #1F3239

    #1F3239

    oklch(30.4% 0.028 223.1)

  • #3C292B

    #3C292B

    oklch(30.4% 0.029 11.9)

  • #372D1F

    #372D1F

    oklch(30.4% 0.028 75.7)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #1F3239

    #1F3239

    oklch(30.4% 0.028 223.1)

  • #392932

    #392932

    oklch(30.3% 0.028 344.1)

  • #31301F

    #31301F

    oklch(30.5% 0.029 105.1)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #1F3239

    #1F3239

    oklch(30.4% 0.028 223.1)

  • #342B39

    #342B39

    oklch(30.5% 0.028 313.4)

  • #3B2A24

    #3B2A24

    oklch(30.3% 0.028 40.3)

  • #293224

    #293224

    oklch(30.4% 0.027 134.5)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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