#1F3333

Closest named color: Gunmetal (#293241). oklch(30.4% 0.026 195.9), rgb(31, 51, 51).

Aa

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

About this color

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

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

Values

HEX#1F3333
RGBrgb(31, 51, 51)
HSLhsl(180, 24%, 16%)
OKLCHoklch(30.4% 0.026 195.9)

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 #1F3333 13.29:1 AAA Lc -102.8 Preferred for body text
Black text on #1F3333 1.57:1 Fails Lc 0.0 Not readable
#1F3333 text on white 13.29:1 AAA Lc 99.6 Preferred for body text
#1F3333 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

    #F2F6F6

    oklch(97% 0.004 197.1)

  2. Step 100

    100

    #E3ECEC

    oklch(93.6% 0.01 197)

  3. Step 200

    200

    #CDDDDD

    oklch(88.6% 0.017 196.8)

  4. Step 300

    300

    #ABC7C7

    oklch(80.9% 0.03 196.6)

  5. Step 400

    400

    #7DAAAA

    oklch(70.6% 0.048 196.1)

  6. Step 500

    500

    #5A9596

    oklch(63% 0.062 197.1)

  7. Step 600

    600

    #3D8080

    oklch(55.7% 0.068 195.4)

  8. Step 700

    700

    #2E6C6C

    oklch(49.1% 0.063 195.3)

  9. Step 800

    800

    #285858

    oklch(42.7% 0.052 195.4)

  10. Step 900

    900

    #254849

    oklch(37.6% 0.041 198)

  11. Step 950

    950 (this color)

    #1F3333

    oklch(30.4% 0.026 195.9)

Export this scale for Tailwind in the Tailwind colors tool

#1F3333 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)#3131330.028
Deuteranopia (no green cones)#2D2E330.026
Tritanopia (no blue cones)#1734330.010
Achromatopsia (no color)#2F2F2F0.026

Harmonies

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

Complementary

The opposite hue (180°).

  • #1F3333

    #1F3333

    oklch(30.4% 0.026 195.9)

  • #3B2A2A

    #3B2A2A

    oklch(30.5% 0.025 18.7)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #1F3333

    #1F3333

    oklch(30.4% 0.026 195.9)

  • #22332C

    #22332C

    oklch(30.4% 0.026 167.3)

  • #213239

    #213239

    oklch(30.5% 0.026 225.5)

Open the analogous palette in the generator

Split complementary

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

  • #1F3333

    #1F3333

    oklch(30.4% 0.026 195.9)

  • #392A32

    #392A32

    oklch(30.5% 0.026 345.5)

  • #3A2B24

    #3A2B24

    oklch(30.4% 0.026 46.2)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #1F3333

    #1F3333

    oklch(30.4% 0.026 195.9)

  • #342B38

    #342B38

    oklch(30.4% 0.026 315.4)

  • #362D20

    #362D20

    oklch(30.3% 0.026 76.7)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #1F3333

    #1F3333

    oklch(30.4% 0.026 195.9)

  • #2D2D3B

    #2D2D3B

    oklch(30.3% 0.025 284.8)

  • #3B2A2A

    #3B2A2A

    oklch(30.5% 0.025 18.7)

  • #303021

    #303021

    oklch(30.4% 0.026 107.8)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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