#2D3540

Closest named color: Gunmetal (#293241). oklch(32.6% 0.022 256.4), rgb(45, 53, 64).

Aa

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

About this color

#2D3540 is a dark close to neutral grey. In OKLCH its lightness is 33%, its chroma 0.022. It has too little chroma to lean warm or cool. The nearest named color is Gunmetal (#293241), ΔE 0.013 away. White text reads best on it, at 12.39:1.

Hue familyNeutrals
Lightnessdark (33%)
Chromaclose to neutral grey (0.022)
Temperatureneutral
Nearest nameGunmetal (#293241)
Black text1.69:1
White text12.39:1

Values

HEX#2D3540
RGBrgb(45, 53, 64)
HSLhsl(215, 17%, 21%)
OKLCHoklch(32.6% 0.022 256.4)

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 #2D3540 12.39:1 AAA Lc -101.6 Preferred for body text
Black text on #2D3540 1.69:1 Fails Lc 0.0 Not readable
#2D3540 text on white 12.39:1 AAA Lc 98.2 Preferred for body text
#2D3540 text on black 1.69: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 900.

  1. Step 50

    50

    #F4F5F7

    oklch(97% 0.003 264.5)

  2. Step 100

    100

    #E8EAED

    oklch(93.6% 0.005 258.3)

  3. Step 200

    200

    #D5D9DF

    oklch(88.4% 0.009 258.3)

  4. Step 300

    300

    #BAC1CC

    oklch(80.9% 0.017 259.4)

  5. Step 400

    400

    #96A2B2

    oklch(70.8% 0.027 255.6)

  6. Step 500

    500

    #7C8B9F

    oklch(63.2% 0.035 255.6)

  7. Step 600

    600

    #657589

    oklch(55.7% 0.037 254.1)

  8. Step 700

    700

    #546275

    oklch(49.2% 0.035 256.1)

  9. Step 800

    800

    #45505F

    oklch(42.7% 0.029 256.2)

  10. Step 900

    900 (this color)

    #2D3540

    oklch(32.6% 0.022 256.4)

  11. Step 950

    950

    #22272D

    oklch(27% 0.013 253)

Export this scale for Tailwind in the Tailwind colors tool

#2D3540 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)#3135410.007
Deuteranopia (no green cones)#2F34400.004
Tritanopia (no blue cones)#2837390.018
Achromatopsia (no color)#3434340.022

Harmonies

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

Complementary

The opposite hue (180°).

  • #2D3540

    #2D3540

    oklch(32.6% 0.022 256.4)

  • #3B3328

    #3B3328

    oklch(32.6% 0.022 75.6)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #2D3540

    #2D3540

    oklch(32.6% 0.022 256.4)

  • #28373D

    #28373D

    oklch(32.6% 0.022 224.4)

  • #333340

    #333340

    oklch(32.6% 0.023 285.1)

Open the analogous palette in the generator

Split complementary

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

  • #2D3540

    #2D3540

    oklch(32.6% 0.022 256.4)

  • #3E312B

    #3E312B

    oklch(32.6% 0.022 46.1)

  • #363528

    #363528

    oklch(32.6% 0.022 103.9)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #2D3540

    #2D3540

    oklch(32.6% 0.022 256.4)

  • #3F3030

    #3F3030

    oklch(32.6% 0.022 18.3)

  • #2F372C

    #2F372C

    oklch(32.6% 0.022 137.2)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #2D3540

    #2D3540

    oklch(32.6% 0.022 256.4)

  • #3D3037

    #3D3037

    oklch(32.6% 0.022 344.8)

  • #3B3328

    #3B3328

    oklch(32.6% 0.022 75.6)

  • #2A3832

    #2A3832

    oklch(32.6% 0.021 167)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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