#2F222E

Closest named color: Jet (#212529). oklch(27.2% 0.029 328.9), rgb(47, 34, 46).

Aa

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

About this color

#2F222E is a dark close to neutral grey. In OKLCH its lightness is 27%, its chroma 0.029. 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 15.11:1.

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

Values

HEX#2F222E
RGBrgb(47, 34, 46)
HSLhsl(305, 16%, 16%)
OKLCHoklch(27.2% 0.029 328.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 #2F222E 15.11:1 AAA Lc -104.8 Preferred for body text
Black text on #2F222E 1.38:1 Fails Lc 0.0 Not readable
#2F222E text on white 15.11:1 AAA Lc 102.0 Preferred for body text
#2F222E 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

    #E0D5DF

    oklch(88.5% 0.018 328.5)

  4. Step 300

    300

    #CEB9CC

    oklch(80.9% 0.035 328.9)

  5. Step 400

    400

    #B495B2

    oklch(70.7% 0.055 328.2)

  6. Step 500

    500

    #A17B9E

    oklch(63.1% 0.068 329)

  7. Step 600

    600

    #8C6389

    oklch(55.5% 0.076 329)

  8. Step 700

    700

    #775274

    oklch(49.1% 0.07 329.4)

  9. Step 800

    800

    #61435F

    oklch(42.7% 0.059 328.8)

  10. Step 900

    900

    #4F394E

    oklch(37.7% 0.046 327.9)

  11. Step 950

    950 (this color)

    #2F222E

    oklch(27.2% 0.029 328.9)

Export this scale for Tailwind in the Tailwind colors tool

#2F222E 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)#21252E0.027
Deuteranopia (no green cones)#24272E0.025
Tritanopia (no blue cones)#3023260.017
Achromatopsia (no color)#2626260.029

Harmonies

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

Complementary

The opposite hue (180°).

  • #2F222E

    #2F222E

    oklch(27.2% 0.029 328.9)

  • #1D2B1F

    #1D2B1F

    oklch(27.2% 0.029 148.5)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #2F222E

    #2F222E

    oklch(27.2% 0.029 328.9)

  • #292433

    #292433

    oklch(27.3% 0.028 299.8)

  • #332127

    #332127

    oklch(27.2% 0.029 357.5)

Open the analogous palette in the generator

Split complementary

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

  • #2F222E

    #2F222E

    oklch(27.2% 0.029 328.9)

  • #252919

    #252919

    oklch(27.2% 0.029 119.7)

  • #162C27

    #162C27

    oklch(27.3% 0.03 177.7)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #2F222E

    #2F222E

    oklch(27.2% 0.029 328.9)

  • #2D2616

    #2D2616

    oklch(27.2% 0.029 86.8)

  • #152B2F

    #152B2F

    oklch(27.3% 0.029 210.5)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #2F222E

    #2F222E

    oklch(27.2% 0.029 328.9)

  • #322419

    #322419

    oklch(27.4% 0.029 59.4)

  • #1D2B1F

    #1D2B1F

    oklch(27.2% 0.029 148.5)

  • #1A2934

    #1A2934

    oklch(27.3% 0.029 240.9)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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