#2F2A38

Closest named color: Space Cadet (#2B2D42). oklch(29.6% 0.026 301.2), rgb(47, 42, 56).

Aa

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

About this color

#2F2A38 is a dark close to neutral grey. In OKLCH its lightness is 30%, its chroma 0.026. It has too little chroma to lean warm or cool. The nearest named color is Space Cadet (#2B2D42), ΔE 0.019 away. White text reads best on it, at 13.91:1.

Hue familyNeutrals
Lightnessdark (30%)
Chromaclose to neutral grey (0.026)
Temperatureneutral
Nearest nameSpace Cadet (#2B2D42)
Black text1.50:1
White text13.91:1

Values

HEX#2F2A38
RGBrgb(47, 42, 56)
HSLhsl(261, 14%, 19%)
OKLCHoklch(29.6% 0.026 301.2)

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 #2F2A38 13.91:1 AAA Lc -103.6 Preferred for body text
Black text on #2F2A38 1.50:1 Fails Lc 0.0 Not readable
#2F2A38 text on white 13.91:1 AAA Lc 100.5 Preferred for body text
#2F2A38 text on black 1.50: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

    #F6F5F8

    oklch(97.2% 0.004 301.4)

  2. Step 100

    100

    #EBE9EF

    oklch(93.7% 0.008 301.4)

  3. Step 200

    200

    #DBD7E3

    oklch(88.6% 0.017 301.2)

  4. Step 300

    300

    #C4BCD2

    oklch(80.9% 0.032 302.2)

  5. Step 400

    400

    #A69ABB

    oklch(70.8% 0.049 301.7)

  6. Step 500

    500

    #9081AA

    oklch(63.1% 0.063 301.4)

  7. Step 600

    600

    #7A6A95

    oklch(55.6% 0.068 301.3)

  8. Step 700

    700

    #67587F

    oklch(49.1% 0.064 301.7)

  9. Step 800

    800

    #544867

    oklch(42.6% 0.052 302)

  10. Step 900

    900

    #453D54

    oklch(37.8% 0.04 300.4)

  11. Step 950

    950 (this color)

    #2F2A38

    oklch(29.6% 0.026 301.2)

Export this scale for Tailwind in the Tailwind colors tool

#2F2A38 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)#272C390.015
Deuteranopia (no green cones)#282C380.013
Tritanopia (no blue cones)#2E2C2F0.020
Achromatopsia (no color)#2C2C2C0.026

Harmonies

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

Complementary

The opposite hue (180°).

  • #2F2A38

    #2F2A38

    oklch(29.6% 0.026 301.2)

  • #2B2F20

    #2B2F20

    oklch(29.6% 0.027 120.2)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #2F2A38

    #2F2A38

    oklch(29.6% 0.026 301.2)

  • #282C3A

    #282C3A

    oklch(29.5% 0.026 272.3)

  • #352833

    #352833

    oklch(29.6% 0.027 331.5)

Open the analogous palette in the generator

Split complementary

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

  • #2F2A38

    #2F2A38

    oklch(29.6% 0.026 301.2)

  • #322D1E

    #322D1E

    oklch(29.8% 0.026 91.8)

  • #233126

    #233126

    oklch(29.7% 0.027 151)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #2F2A38

    #2F2A38

    oklch(29.6% 0.026 301.2)

  • #372A20

    #372A20

    oklch(29.7% 0.026 59.1)

  • #1E312E

    #1E312E

    oklch(29.6% 0.025 183.6)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #2F2A38

    #2F2A38

    oklch(29.6% 0.026 301.2)

  • #392825

    #392825

    oklch(29.6% 0.026 30)

  • #2B2F20

    #2B2F20

    oklch(29.6% 0.027 120.2)

  • #1D3134

    #1D3134

    oklch(29.7% 0.026 207.8)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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