#2F222C

Closest named color: Jet (#212529). oklch(27.1% 0.026 334.6), rgb(47, 34, 44).

Aa

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

About this color

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

Hue familyNeutrals
Lightnessdark (27%)
Chromaclose to neutral grey (0.026)
Temperatureneutral
Nearest nameJet (#212529)
Black text1.38:1
White text15.15:1

Values

HEX#2F222C
RGBrgb(47, 34, 44)
HSLhsl(314, 16%, 16%)
OKLCHoklch(27.1% 0.026 334.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 #2F222C 15.15:1 AAA Lc -104.8 Preferred for body text
Black text on #2F222C 1.38:1 Fails Lc 0.0 Not readable
#2F222C text on white 15.15:1 AAA Lc 102.0 Preferred for body text
#2F222C text on black 1.38: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

    #F7F4F6

    oklch(97% 0.004 337.4)

  2. Step 100

    100

    #EEE8EC

    oklch(93.7% 0.008 337.4)

  3. Step 200

    200

    #E1D5DE

    oklch(88.5% 0.018 334.2)

  4. Step 300

    300

    #CEB9C9

    oklch(80.8% 0.032 334.1)

  5. Step 400

    400

    #B595AD

    oklch(70.6% 0.05 335)

  6. Step 500

    500

    #A27B99

    oklch(63.1% 0.064 334.7)

  7. Step 600

    600

    #8D6484

    oklch(55.6% 0.07 334.6)

  8. Step 700

    700

    #78536F

    oklch(49.2% 0.064 335.6)

  9. Step 800

    800

    #61445B

    oklch(42.7% 0.053 334)

  10. Step 900

    900

    #50394B

    oklch(37.7% 0.043 334.3)

  11. Step 950

    950 (this color)

    #2F222C

    oklch(27.1% 0.026 334.6)

Export this scale for Tailwind in the Tailwind colors tool

#2F222C 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)#22252C0.026
Deuteranopia (no green cones)#25272C0.024
Tritanopia (no blue cones)#3022250.013
Achromatopsia (no color)#2626260.026

Harmonies

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

Complementary

The opposite hue (180°).

  • #2F222C

    #2F222C

    oklch(27.1% 0.026 334.6)

  • #1D2B21

    #1D2B21

    oklch(27.3% 0.027 153.3)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #2F222C

    #2F222C

    oklch(27.1% 0.026 334.6)

  • #2A2431

    #2A2431

    oklch(27.3% 0.025 305.8)

  • #322125

    #322125

    oklch(27% 0.027 3.5)

Open the analogous palette in the generator

Split complementary

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

  • #2F222C

    #2F222C

    oklch(27.1% 0.026 334.6)

  • #24291B

    #24291B

    oklch(27.1% 0.026 124.1)

  • #172B28

    #172B28

    oklch(27.1% 0.027 183.8)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #2F222C

    #2F222C

    oklch(27.1% 0.026 334.6)

  • #2B2718

    #2B2718

    oklch(27.2% 0.026 95)

  • #172A2F

    #172A2F

    oklch(27.1% 0.026 216.3)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #2F222C

    #2F222C

    oklch(27.1% 0.026 334.6)

  • #302419

    #302419

    oklch(27.1% 0.026 63.9)

  • #1D2B21

    #1D2B21

    oklch(27.3% 0.027 153.3)

  • #1C2833

    #1C2833

    oklch(27.1% 0.026 246.6)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

Use #2F222C 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.