#283C38

Closest named color: Onyx (#343A40). oklch(33.8% 0.027 180.8), rgb(40, 60, 56).

Aa

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

About this color

#283C38 is a dark close to neutral grey. In OKLCH its lightness is 34%, its chroma 0.027. It has too little chroma to lean warm or cool. The nearest named color is Onyx (#343A40), ΔE 0.026 away. White text reads best on it, at 11.70:1.

Hue familyNeutrals
Lightnessdark (34%)
Chromaclose to neutral grey (0.027)
Temperatureneutral
Nearest nameOnyx (#343A40)
Black text1.79:1
White text11.70:1

Values

HEX#283C38
RGBrgb(40, 60, 56)
HSLhsl(168, 20%, 20%)
OKLCHoklch(33.8% 0.027 180.8)

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 #283C38 11.70:1 AAA Lc -100.5 Preferred for body text
Black text on #283C38 1.79:1 Fails Lc 0.0 Not readable
#283C38 text on white 11.70:1 AAA Lc 96.9 Preferred for body text
#283C38 text on black 1.79: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

    #F4F6F5

    oklch(97.1% 0.002 165.1)

  2. Step 100

    100

    #E6EBEA

    oklch(93.6% 0.006 183)

  3. Step 200

    200

    #D2DCD9

    oklch(88.6% 0.012 176.3)

  4. Step 300

    300

    #B4C5C1

    oklch(80.9% 0.019 180.1)

  5. Step 400

    400

    #8CA7A1

    oklch(70.6% 0.031 180.4)

  6. Step 500

    500

    #6F928B

    oklch(63.2% 0.04 181.3)

  7. Step 600

    600

    #567C75

    oklch(55.6% 0.044 181.9)

  8. Step 700

    700

    #466962

    oklch(49.2% 0.042 180.6)

  9. Step 800

    800

    #3A5550

    oklch(42.6% 0.034 181.9)

  10. Step 900

    900 (this color)

    #283C38

    oklch(33.8% 0.027 180.8)

  11. Step 950

    950

    #1E2927

    oklch(27% 0.016 182.8)

Export this scale for Tailwind in the Tailwind colors tool

#283C38 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)#3A3A380.028
Deuteranopia (no green cones)#3737380.027
Tritanopia (no blue cones)#223D3B0.008
Achromatopsia (no color)#3838380.027

Harmonies

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

Complementary

The opposite hue (180°).

  • #283C38

    #283C38

    oklch(33.8% 0.027 180.8)

  • #433236

    #433236

    oklch(33.8% 0.025 2.9)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #283C38

    #283C38

    oklch(33.8% 0.027 180.8)

  • #2E3B30

    #2E3B30

    oklch(33.7% 0.026 149.3)

  • #273B3F

    #273B3F

    oklch(33.7% 0.026 211.4)

Open the analogous palette in the generator

Split complementary

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

  • #283C38

    #283C38

    oklch(33.8% 0.027 180.8)

  • #40323E

    #40323E

    oklch(33.7% 0.028 331)

  • #44322F

    #44322F

    oklch(33.7% 0.027 29.4)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #283C38

    #283C38

    oklch(33.8% 0.027 180.8)

  • #393443

    #393443

    oklch(33.6% 0.027 300.2)

  • #42342A

    #42342A

    oklch(33.7% 0.026 57.2)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #283C38

    #283C38

    oklch(33.8% 0.027 180.8)

  • #323745

    #323745

    oklch(33.8% 0.026 269.6)

  • #433236

    #433236

    oklch(33.8% 0.025 2.9)

  • #3C3728

    #3C3728

    oklch(33.7% 0.026 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 #283C38, closest first.

Similar named colors

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

Use #283C38 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.