#2F222D

Closest named color: Jet (#212529). oklch(27.2% 0.027 331.6), rgb(47, 34, 45).

Aa

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

About this color

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

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

Values

HEX#2F222D
RGBrgb(47, 34, 45)
HSLhsl(309, 16%, 16%)
OKLCHoklch(27.2% 0.027 331.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 #2F222D 15.13:1 AAA Lc -104.8 Preferred for body text
Black text on #2F222D 1.38:1 Fails Lc 0.0 Not readable
#2F222D text on white 15.13:1 AAA Lc 102.0 Preferred for body text
#2F222D 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

    #F7F4F7

    oklch(97% 0.005 325.6)

  2. Step 100

    100

    #EEE8ED

    oklch(93.7% 0.009 331)

  3. Step 200

    200

    #E1D5DF

    oklch(88.6% 0.019 331.1)

  4. Step 300

    300

    #CEB9CA

    oklch(80.9% 0.033 332.2)

  5. Step 400

    400

    #B595AF

    oklch(70.7% 0.052 332.6)

  6. Step 500

    500

    #A27B9C

    oklch(63.2% 0.067 331.7)

  7. Step 600

    600

    #8C6486

    oklch(55.6% 0.071 331.8)

  8. Step 700

    700

    #775272

    oklch(49% 0.068 331.3)

  9. Step 800

    800

    #61445D

    oklch(42.8% 0.055 331.3)

  10. Step 900

    900

    #4F394C

    oklch(37.6% 0.043 331.1)

  11. Step 950

    950 (this color)

    #2F222D

    oklch(27.2% 0.027 331.6)

Export this scale for Tailwind in the Tailwind colors tool

#2F222D 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)#22252D0.026
Deuteranopia (no green cones)#25272D0.024
Tritanopia (no blue cones)#3023260.015
Achromatopsia (no color)#2626260.028

Harmonies

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

Complementary

The opposite hue (180°).

  • #2F222D

    #2F222D

    oklch(27.2% 0.027 331.6)

  • #1D2B20

    #1D2B20

    oklch(27.2% 0.028 150.8)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #2F222D

    #2F222D

    oklch(27.2% 0.027 331.6)

  • #292432

    #292432

    oklch(27.2% 0.026 301)

  • #322126

    #322126

    oklch(27.1% 0.027 359.8)

Open the analogous palette in the generator

Split complementary

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

  • #2F222D

    #2F222D

    oklch(27.2% 0.027 331.6)

  • #25291A

    #25291A

    oklch(27.2% 0.027 120.3)

  • #172B28

    #172B28

    oklch(27.1% 0.027 183.8)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #2F222D

    #2F222D

    oklch(27.2% 0.027 331.6)

  • #2C2717

    #2C2717

    oklch(27.3% 0.028 92.8)

  • #162B2F

    #162B2F

    oklch(27.3% 0.028 211.1)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #2F222D

    #2F222D

    oklch(27.2% 0.027 331.6)

  • #312419

    #312419

    oklch(27.2% 0.028 61.5)

  • #1D2B20

    #1D2B20

    oklch(27.2% 0.028 150.8)

  • #1B2933

    #1B2933

    oklch(27.3% 0.027 240)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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