#1F2C23

Closest named color: Jet (#212529). oklch(27.8% 0.024 154.4), rgb(31, 44, 35).

Aa

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

About this color

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

Hue familyNeutrals
Lightnessdark (28%)
Chromaclose to neutral grey (0.024)
Temperatureneutral
Nearest nameJet (#212529)
Black text1.44:1
White text14.55:1

Values

HEX#1F2C23
RGBrgb(31, 44, 35)
HSLhsl(138, 17%, 15%)
OKLCHoklch(27.8% 0.024 154.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 #1F2C23 14.55:1 AAA Lc -104.2 Preferred for body text
Black text on #1F2C23 1.44:1 Fails Lc 0.0 Not readable
#1F2C23 text on white 14.55:1 AAA Lc 101.3 Preferred for body text
#1F2C23 text on black 1.44: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

    #F3F6F4

    oklch(97% 0.004 157.2)

  2. Step 100

    100

    #E6EBE7

    oklch(93.5% 0.008 151.9)

  3. Step 200

    200

    #D1DCD4

    oklch(88.4% 0.016 154.4)

  4. Step 300

    300

    #B3C6B8

    oklch(80.8% 0.028 153.8)

  5. Step 400

    400

    #8BA994

    oklch(70.6% 0.045 154.6)

  6. Step 500

    500

    #6D947A

    oklch(63% 0.058 155.2)

  7. Step 600

    600

    #557F62

    oklch(55.7% 0.065 153.7)

  8. Step 700

    700

    #456B51

    oklch(49.1% 0.06 153.8)

  9. Step 800

    800

    #395743

    oklch(42.7% 0.049 154.6)

  10. Step 900

    900

    #314838

    oklch(37.7% 0.04 153.8)

  11. Step 950

    950 (this color)

    #1F2C23

    oklch(27.8% 0.024 154.4)

Export this scale for Tailwind in the Tailwind colors tool

#1F2C23 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)#2C2A230.022
Deuteranopia (no green cones)#2A28230.022
Tritanopia (no blue cones)#1D2C290.011
Achromatopsia (no color)#2929290.024

Harmonies

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

Complementary

The opposite hue (180°).

  • #1F2C23

    #1F2C23

    oklch(27.8% 0.024 154.4)

  • #30242D

    #30242D

    oklch(27.8% 0.024 335.3)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #1F2C23

    #1F2C23

    oklch(27.8% 0.024 154.4)

  • #262B1D

    #262B1D

    oklch(27.9% 0.026 124)

  • #1A2C2A

    #1A2C2A

    oklch(27.7% 0.024 187.1)

Open the analogous palette in the generator

Split complementary

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

  • #1F2C23

    #1F2C23

    oklch(27.8% 0.024 154.4)

  • #2B2532

    #2B2532

    oklch(27.7% 0.025 305.8)

  • #332327

    #332327

    oklch(27.7% 0.025 2.4)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #1F2C23

    #1F2C23

    oklch(27.8% 0.024 154.4)

  • #252835

    #252835

    oklch(28% 0.024 274.6)

  • #332420

    #332420

    oklch(27.7% 0.024 35.4)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #1F2C23

    #1F2C23

    oklch(27.8% 0.024 154.4)

  • #1E2A34

    #1E2A34

    oklch(27.8% 0.025 244)

  • #30242D

    #30242D

    oklch(27.8% 0.024 335.3)

  • #31261C

    #31261C

    oklch(27.8% 0.024 63.9)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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