#2D272F

Closest named color: Jet (#212529). oklch(28.3% 0.017 317.7), rgb(45, 39, 47).

Aa

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

About this color

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

Hue familyNeutrals
Lightnessdark (28%)
Chromaclose to neutral grey (0.017)
Temperatureneutral
Nearest nameJet (#212529)
Black text1.44:1
White text14.55:1

Values

HEX#2D272F
RGBrgb(45, 39, 47)
HSLhsl(285, 9%, 17%)
OKLCHoklch(28.3% 0.017 317.7)

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 #2D272F 14.55:1 AAA Lc -104.2 Preferred for body text
Black text on #2D272F 1.44:1 Fails Lc 0.0 Not readable
#2D272F text on white 14.55:1 AAA Lc 101.4 Preferred for body text
#2D272F text on black 1.44: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

    #EBE9EC

    oklch(93.6% 0.005 314.8)

  3. Step 200

    200

    #DCD7DE

    oklch(88.5% 0.011 316.5)

  4. Step 300

    300

    #C6BDC9

    oklch(80.9% 0.019 317.7)

  5. Step 400

    400

    #A99BAE

    oklch(70.8% 0.031 317.2)

  6. Step 500

    500

    #94829A

    oklch(63.1% 0.041 317.7)

  7. Step 600

    600

    #7E6C84

    oklch(55.7% 0.042 317.6)

  8. Step 700

    700

    #6B5A70

    oklch(49.2% 0.04 318.5)

  9. Step 800

    800

    #57495B

    oklch(42.6% 0.034 318.7)

  10. Step 900

    900

    #483D4B

    oklch(37.7% 0.028 318.9)

  11. Step 950

    950 (this color)

    #2D272F

    oklch(28.3% 0.017 317.7)

Export this scale for Tailwind in the Tailwind colors tool

#2D272F 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)#26292F0.014
Deuteranopia (no green cones)#27292F0.012
Tritanopia (no blue cones)#2D282A0.011
Achromatopsia (no color)#2929290.017

Harmonies

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

Complementary

The opposite hue (180°).

  • #2D272F

    #2D272F

    oklch(28.3% 0.017 317.7)

  • #262C24

    #262C24

    oklch(28.4% 0.017 137.9)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #2D272F

    #2D272F

    oklch(28.3% 0.017 317.7)

  • #292832

    #292832

    oklch(28.2% 0.018 289.8)

  • #30262B

    #30262B

    oklch(28.2% 0.017 346.7)

Open the analogous palette in the generator

Split complementary

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

  • #2D272F

    #2D272F

    oklch(28.3% 0.017 317.7)

  • #2A2A21

    #2A2A21

    oklch(28.2% 0.016 107.4)

  • #222C28

    #222C28

    oklch(28.2% 0.016 168.9)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #2D272F

    #2D272F

    oklch(28.3% 0.017 317.7)

  • #2E2920

    #2E2920

    oklch(28.3% 0.017 82.2)

  • #202C2C

    #202C2C

    oklch(28.2% 0.016 196.3)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #2D272F

    #2D272F

    oklch(28.3% 0.017 317.7)

  • #312722

    #312722

    oklch(28.2% 0.018 48.1)

  • #262C24

    #262C24

    oklch(28.4% 0.017 137.9)

  • #212B30

    #212B30

    oklch(28.2% 0.017 229.7)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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