#38313C

Closest named color: Gunmetal (#293241). oklch(32.5% 0.021 313.3), rgb(56, 49, 60).

Aa

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

About this color

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

Hue familyNeutrals
Lightnessdark (32%)
Chromaclose to neutral grey (0.021)
Temperatureneutral
Nearest nameGunmetal (#293241)
Black text1.67:1
White text12.55:1

Values

HEX#38313C
RGBrgb(56, 49, 60)
HSLhsl(278, 10%, 21%)
OKLCHoklch(32.5% 0.021 313.3)

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 #38313C 12.55:1 AAA Lc -101.9 Preferred for body text
Black text on #38313C 1.67:1 Fails Lc 0.0 Not readable
#38313C text on white 12.55:1 AAA Lc 98.5 Preferred for body text
#38313C text on black 1.67: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

    #F6F5F6

    oklch(97.1% 0.002 325.6)

  2. Step 100

    100

    #EBE9EC

    oklch(93.6% 0.005 314.8)

  3. Step 200

    200

    #DBD7DD

    oklch(88.4% 0.009 314.8)

  4. Step 300

    300

    #C4BEC8

    oklch(80.9% 0.015 312.2)

  5. Step 400

    400

    #A69CAC

    oklch(70.6% 0.026 313.1)

  6. Step 500

    500

    #918498

    oklch(63.2% 0.033 313.9)

  7. Step 600

    600

    #7B6D82

    oklch(55.5% 0.036 314.5)

  8. Step 700

    700

    #675B6E

    oklch(49% 0.033 313.1)

  9. Step 800

    800

    #544B5A

    oklch(42.7% 0.027 311.9)

  10. Step 900

    900 (this color)

    #38313C

    oklch(32.5% 0.021 313.3)

  11. Step 950

    950

    #29252B

    oklch(27.1% 0.012 314.6)

Export this scale for Tailwind in the Tailwind colors tool

#38313C 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)#30333C0.015
Deuteranopia (no green cones)#31343C0.015
Tritanopia (no blue cones)#3832350.014
Achromatopsia (no color)#3333330.022

Harmonies

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

Complementary

The opposite hue (180°).

  • #38313C

    #38313C

    oklch(32.5% 0.021 313.3)

  • #30372B

    #30372B

    oklch(32.6% 0.023 132.3)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #38313C

    #38313C

    oklch(32.5% 0.021 313.3)

  • #32333F

    #32333F

    oklch(32.5% 0.021 281.4)

  • #3C3037

    #3C3037

    oklch(32.5% 0.021 342.4)

Open the analogous palette in the generator

Split complementary

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

  • #38313C

    #38313C

    oklch(32.5% 0.021 313.3)

  • #363528

    #363528

    oklch(32.6% 0.022 103.9)

  • #2A3831

    #2A3831

    oklch(32.6% 0.022 163.2)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #38313C

    #38313C

    oklch(32.5% 0.021 313.3)

  • #3B3328

    #3B3328

    oklch(32.6% 0.022 75.6)

  • #273837

    #273837

    oklch(32.6% 0.022 191.6)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #38313C

    #38313C

    oklch(32.5% 0.021 313.3)

  • #3E312B

    #3E312B

    oklch(32.6% 0.022 46.1)

  • #30372B

    #30372B

    oklch(32.6% 0.023 132.3)

  • #28373C

    #28373C

    oklch(32.6% 0.022 220.3)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

Use #38313C 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.