#21312E

Closest named color: Gunmetal (#293241). oklch(29.8% 0.022 181.9), rgb(33, 49, 46).

Aa

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

About this color

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

Hue familyNeutrals
Lightnessdark (30%)
Chromaclose to neutral grey (0.022)
Temperatureneutral
Nearest nameGunmetal (#293241)
Black text1.54:1
White text13.60:1

Values

HEX#21312E
RGBrgb(33, 49, 46)
HSLhsl(169, 20%, 16%)
OKLCHoklch(29.8% 0.022 181.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 #21312E 13.60:1 AAA Lc -103.2 Preferred for body text
Black text on #21312E 1.54:1 Fails Lc 0.0 Not readable
#21312E text on white 13.60:1 AAA Lc 100.1 Preferred for body text
#21312E text on black 1.54: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

    #F3F6F5

    oklch(97.1% 0.003 174.5)

  2. Step 100

    100

    #E5EBEA

    oklch(93.5% 0.007 185.3)

  3. Step 200

    200

    #CFDCDA

    oklch(88.4% 0.014 185.9)

  4. Step 300

    300

    #AFC6C2

    oklch(80.8% 0.026 184.1)

  5. Step 400

    400

    #85A9A2

    oklch(70.6% 0.041 181.9)

  6. Step 500

    500

    #65948C

    oklch(63% 0.052 182.8)

  7. Step 600

    600

    #4B7F76

    oklch(55.7% 0.058 181.8)

  8. Step 700

    700

    #3C6B63

    oklch(49.2% 0.053 181.9)

  9. Step 800

    800

    #325751

    oklch(42.7% 0.044 182.7)

  10. Step 900

    900

    #2C4843

    oklch(37.8% 0.035 181.9)

  11. Step 950

    950 (this color)

    #21312E

    oklch(29.8% 0.022 181.9)

Export this scale for Tailwind in the Tailwind colors tool

#21312E 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)#302F2E0.024
Deuteranopia (no green cones)#2D2D2E0.022
Tritanopia (no blue cones)#1C32300.007
Achromatopsia (no color)#2E2E2E0.022

Harmonies

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

Complementary

The opposite hue (180°).

  • #21312E

    #21312E

    oklch(29.8% 0.022 181.9)

  • #37292C

    #37292C

    oklch(29.8% 0.021 4.1)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #21312E

    #21312E

    oklch(29.8% 0.022 181.9)

  • #253128

    #253128

    oklch(29.9% 0.023 152.5)

  • #203034

    #203034

    oklch(29.7% 0.022 214.9)

Open the analogous palette in the generator

Split complementary

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

  • #21312E

    #21312E

    oklch(29.8% 0.022 181.9)

  • #342932

    #342932

    oklch(29.7% 0.022 332.4)

  • #382926

    #382926

    oklch(29.7% 0.023 31.4)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #21312E

    #21312E

    oklch(29.8% 0.022 181.9)

  • #2F2B37

    #2F2B37

    oklch(29.8% 0.022 300.3)

  • #352B22

    #352B22

    oklch(29.7% 0.022 63.8)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #21312E

    #21312E

    oklch(29.8% 0.022 181.9)

  • #292D39

    #292D39

    oklch(29.8% 0.023 270.6)

  • #37292C

    #37292C

    oklch(29.8% 0.021 4.1)

  • #312D21

    #312D21

    oklch(29.8% 0.021 91.8)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

Use #21312E 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.