#2F212A

Closest named color: Jet (#212529). oklch(26.8% 0.026 340.3), rgb(47, 33, 42).

Aa

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

About this color

#2F212A 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.30:1.

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

Values

HEX#2F212A
RGBrgb(47, 33, 42)
HSLhsl(321, 18%, 16%)
OKLCHoklch(26.8% 0.026 340.3)

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 #2F212A 15.30:1 AAA Lc -104.9 Preferred for body text
Black text on #2F212A 1.37:1 Fails Lc 0.0 Not readable
#2F212A text on white 15.30:1 AAA Lc 102.2 Preferred for body text
#2F212A text on black 1.37: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

    #E2D5DD

    oklch(88.6% 0.018 340)

  4. Step 300

    300

    #CFB9C7

    oklch(80.8% 0.031 339.4)

  5. Step 400

    400

    #B795AA

    oklch(70.7% 0.05 340.9)

  6. Step 500

    500

    #A47B96

    oklch(63.2% 0.063 339.5)

  7. Step 600

    600

    #8F6380

    oklch(55.5% 0.07 340)

  8. Step 700

    700

    #7A526C

    oklch(49.1% 0.065 340.6)

  9. Step 800

    800

    #634358

    oklch(42.6% 0.054 340.2)

  10. Step 900

    900

    #513948

    oklch(37.7% 0.041 341.3)

  11. Step 950

    950 (this color)

    #2F212A

    oklch(26.8% 0.026 340.3)

Export this scale for Tailwind in the Tailwind colors tool

#2F212A 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)#21242A0.028
Deuteranopia (no green cones)#25262A0.024
Tritanopia (no blue cones)#3121240.012
Achromatopsia (no color)#2525250.027

Harmonies

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

Complementary

The opposite hue (180°).

  • #2F212A

    #2F212A

    oklch(26.8% 0.026 340.3)

  • #1A2A22

    #1A2A22

    oklch(26.8% 0.026 162.2)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #2F212A

    #2F212A

    oklch(26.8% 0.026 340.3)

  • #2A2230

    #2A2230

    oklch(26.7% 0.028 310.4)

  • #322123

    #322123

    oklch(27% 0.026 11.2)

Open the analogous palette in the generator

Split complementary

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

  • #2F212A

    #2F212A

    oklch(26.8% 0.026 340.3)

  • #22291B

    #22291B

    oklch(26.9% 0.027 129.6)

  • #162A29

    #162A29

    oklch(26.8% 0.026 191.6)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #2F212A

    #2F212A

    oklch(26.8% 0.026 340.3)

  • #292617

    #292617

    oklch(26.7% 0.026 98.2)

  • #17292F

    #17292F

    oklch(26.8% 0.026 221)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #2F212A

    #2F212A

    oklch(26.8% 0.026 340.3)

  • #2E2418

    #2E2418

    oklch(26.8% 0.026 71.5)

  • #1A2A22

    #1A2A22

    oklch(26.8% 0.026 162.2)

  • #1C2733

    #1C2733

    oklch(26.8% 0.027 251)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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