#2A252D

Closest named color: Jet (#212529). oklch(27.3% 0.016 312.9), rgb(42, 37, 45).

Aa

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

About this color

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

Hue familyNeutrals
Lightnessdark (27%)
Chromaclose to neutral grey (0.016)
Temperatureneutral
Nearest nameJet (#212529)
Black text1.40:1
White text14.98:1

Values

HEX#2A252D
RGBrgb(42, 37, 45)
HSLhsl(278, 10%, 16%)
OKLCHoklch(27.3% 0.016 312.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 #2A252D 14.98:1 AAA Lc -104.7 Preferred for body text
Black text on #2A252D 1.40:1 Fails Lc 0.0 Not readable
#2A252D text on white 14.98:1 AAA Lc 101.9 Preferred for body text
#2A252D text on black 1.40: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

    #DBD7DE

    oklch(88.4% 0.01 311.2)

  4. Step 300

    300

    #C5BDCA

    oklch(80.9% 0.02 312.8)

  5. Step 400

    400

    #A79BAF

    oklch(70.6% 0.032 312)

  6. Step 500

    500

    #92839B

    oklch(63.1% 0.039 312.9)

  7. Step 600

    600

    #7C6C85

    oklch(55.5% 0.042 313.4)

  8. Step 700

    700

    #695A71

    oklch(49.1% 0.04 313.9)

  9. Step 800

    800

    #554A5C

    oklch(42.7% 0.032 312.2)

  10. Step 900

    900

    #463E4B

    oklch(37.7% 0.024 312.5)

  11. Step 950

    950 (this color)

    #2A252D

    oklch(27.3% 0.016 312.9)

Export this scale for Tailwind in the Tailwind colors tool

#2A252D 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)#24262D0.011
Deuteranopia (no green cones)#25272D0.011
Tritanopia (no blue cones)#2A26280.011
Achromatopsia (no color)#2727270.016

Harmonies

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

Complementary

The opposite hue (180°).

  • #2A252D

    #2A252D

    oklch(27.3% 0.016 312.9)

  • #242921

    #242921

    oklch(27.3% 0.016 133.7)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #2A252D

    #2A252D

    oklch(27.3% 0.016 312.9)

  • #26262F

    #26262F

    oklch(27.2% 0.017 285.2)

  • #2D2429

    #2D2429

    oklch(27.3% 0.016 343.7)

Open the analogous palette in the generator

Split complementary

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

  • #2A252D

    #2A252D

    oklch(27.3% 0.016 312.9)

  • #29281F

    #29281F

    oklch(27.5% 0.016 102.1)

  • #202A25

    #202A25

    oklch(27.4% 0.017 163.4)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #2A252D

    #2A252D

    oklch(27.3% 0.016 312.9)

  • #2C261F

    #2C261F

    oklch(27.3% 0.015 71.4)

  • #1E2A29

    #1E2A29

    oklch(27.4% 0.017 189.9)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #2A252D

    #2A252D

    oklch(27.3% 0.016 312.9)

  • #2E2521

    #2E2521

    oklch(27.3% 0.015 45.3)

  • #242921

    #242921

    oklch(27.3% 0.016 133.7)

  • #1F292D

    #1F292D

    oklch(27.3% 0.016 224.2)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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