#1F302A

Closest named color: Jet (#212529). oklch(29.2% 0.025 170.6), rgb(31, 48, 42).

Aa

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

About this color

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

Hue familyNeutrals
Lightnessdark (29%)
Chromaclose to neutral grey (0.025)
Temperatureneutral
Nearest nameJet (#212529)
Black text1.51:1
White text13.86:1

Values

HEX#1F302A
RGBrgb(31, 48, 42)
HSLhsl(159, 22%, 15%)
OKLCHoklch(29.2% 0.025 170.6)

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 #1F302A 13.86:1 AAA Lc -103.5 Preferred for body text
Black text on #1F302A 1.51:1 Fails Lc 0.0 Not readable
#1F302A text on white 13.86:1 AAA Lc 100.5 Preferred for body text
#1F302A text on black 1.51: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

    #E5ECE9

    oklch(93.7% 0.008 168.7)

  3. Step 200

    200

    #CFDDD7

    oklch(88.5% 0.017 168.4)

  4. Step 300

    300

    #AFC7BE

    oklch(80.9% 0.029 171)

  5. Step 400

    400

    #83AB9C

    oklch(70.8% 0.049 169.9)

  6. Step 500

    500

    #639684

    oklch(63.2% 0.061 170.1)

  7. Step 600

    600

    #49806E

    oklch(55.6% 0.065 170.8)

  8. Step 700

    700

    #3A6C5C

    oklch(49.1% 0.061 171)

  9. Step 800

    800

    #30584B

    oklch(42.7% 0.051 170.9)

  10. Step 900

    900

    #2B493F

    oklch(37.8% 0.04 170.9)

  11. Step 950

    950 (this color)

    #1F302A

    oklch(29.2% 0.025 170.6)

Export this scale for Tailwind in the Tailwind colors tool

#1F302A 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)#2F2E2A0.026
Deuteranopia (no green cones)#2C2C2A0.024
Tritanopia (no blue cones)#1B302E0.008
Achromatopsia (no color)#2D2D2D0.026

Harmonies

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

Complementary

The opposite hue (180°).

  • #1F302A

    #1F302A

    oklch(29.2% 0.025 170.6)

  • #36272D

    #36272D

    oklch(29.3% 0.025 352.9)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #1F302A

    #1F302A

    oklch(29.2% 0.025 170.6)

  • #252F23

    #252F23

    oklch(29.2% 0.025 140.4)

  • #1C3031

    #1C3031

    oklch(29.3% 0.026 199.9)

Open the analogous palette in the generator

Split complementary

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

  • #1F302A

    #1F302A

    oklch(29.2% 0.025 170.6)

  • #322834

    #322834

    oklch(29.3% 0.026 320.7)

  • #372726

    #372726

    oklch(29.1% 0.024 22.8)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #1F302A

    #1F302A

    oklch(29.2% 0.025 170.6)

  • #2C2A38

    #2C2A38

    oklch(29.3% 0.025 291.3)

  • #362821

    #362821

    oklch(29.1% 0.025 47.9)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #1F302A

    #1F302A

    oklch(29.2% 0.025 170.6)

  • #252C39

    #252C39

    oklch(29.2% 0.026 262.7)

  • #36272D

    #36272D

    oklch(29.3% 0.025 352.9)

  • #322B1E

    #322B1E

    oklch(29.3% 0.024 82.7)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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