#2D2831

Closest named color: Jet (#212529). oklch(28.6% 0.018 310.1), rgb(45, 40, 49).

Aa

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

About this color

#2D2831 is a dark close to neutral grey. In OKLCH its lightness is 29%, its chroma 0.018. 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 14.38:1.

Hue familyNeutrals
Lightnessdark (29%)
Chromaclose to neutral grey (0.018)
Temperatureneutral
Nearest nameJet (#212529)
Black text1.45:1
White text14.38:1

Values

HEX#2D2831
RGBrgb(45, 40, 49)
HSLhsl(273, 10%, 17%)
OKLCHoklch(28.6% 0.018 310.1)

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 #2D2831 14.38:1 AAA Lc -104.1 Preferred for body text
Black text on #2D2831 1.45:1 Fails Lc 0.0 Not readable
#2D2831 text on white 14.38:1 AAA Lc 101.2 Preferred for body text
#2D2831 text on black 1.45: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

    #F6F5F7

    oklch(97.1% 0.003 308.4)

  2. Step 100

    100

    #EBE9ED

    oklch(93.7% 0.006 308.4)

  3. Step 200

    200

    #DBD7DF

    oklch(88.5% 0.012 308.3)

  4. Step 300

    300

    #C5BDCB

    oklch(80.9% 0.021 311)

  5. Step 400

    400

    #A79BB1

    oklch(70.7% 0.034 309.8)

  6. Step 500

    500

    #91839D

    oklch(63.1% 0.042 309.3)

  7. Step 600

    600

    #7C6C88

    oklch(55.6% 0.047 310.6)

  8. Step 700

    700

    #685A73

    oklch(49% 0.043 310)

  9. Step 800

    800

    #554A5E

    oklch(42.8% 0.035 309.7)

  10. Step 900

    900

    #463E4D

    oklch(37.8% 0.027 309.1)

  11. Step 950

    950 (this color)

    #2D2831

    oklch(28.6% 0.018 310.1)

Export this scale for Tailwind in the Tailwind colors tool

#2D2831 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)#272A310.012
Deuteranopia (no green cones)#282A310.011
Tritanopia (no blue cones)#2D292B0.013
Achromatopsia (no color)#2A2A2A0.018

Harmonies

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

Complementary

The opposite hue (180°).

  • #2D2831

    #2D2831

    oklch(28.6% 0.018 310.1)

  • #272C23

    #272C23

    oklch(28.5% 0.018 131.2)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #2D2831

    #2D2831

    oklch(28.6% 0.018 310.1)

  • #282A33

    #282A33

    oklch(28.7% 0.017 275.4)

  • #31272D

    #31272D

    oklch(28.6% 0.018 341.6)

Open the analogous palette in the generator

Split complementary

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

  • #2D2831

    #2D2831

    oklch(28.6% 0.018 310.1)

  • #2C2B21

    #2C2B21

    oklch(28.7% 0.018 102.7)

  • #232D27

    #232D27

    oklch(28.6% 0.018 158.7)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #2D2831

    #2D2831

    oklch(28.6% 0.018 310.1)

  • #302921

    #302921

    oklch(28.6% 0.017 70.8)

  • #202D2C

    #202D2C

    oklch(28.5% 0.018 190.3)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #2D2831

    #2D2831

    oklch(28.6% 0.018 310.1)

  • #322824

    #322824

    oklch(28.7% 0.017 43)

  • #272C23

    #272C23

    oklch(28.5% 0.018 131.2)

  • #212D30

    #212D30

    oklch(28.7% 0.017 214.7)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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