#283C39

Closest named color: Onyx (#343A40). oklch(33.8% 0.026 184.5), rgb(40, 60, 57).

Aa

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

About this color

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

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

Values

HEX#283C39
RGBrgb(40, 60, 57)
HSLhsl(171, 20%, 20%)
OKLCHoklch(33.8% 0.026 184.5)

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

    #D2DCDA

    oklch(88.6% 0.011 182.8)

  4. Step 300

    300

    #B3C5C2

    oklch(80.9% 0.02 184.8)

  5. Step 400

    400

    #8CA7A3

    oklch(70.7% 0.03 185.6)

  6. Step 500

    500

    #6F928C

    oklch(63.2% 0.04 183.4)

  7. Step 600

    600

    #567C76

    oklch(55.6% 0.044 183.8)

  8. Step 700

    700

    #466863

    oklch(49% 0.04 184.5)

  9. Step 800

    800

    #3A5551

    oklch(42.7% 0.033 184.6)

  10. Step 900

    900 (this color)

    #283C39

    oklch(33.8% 0.026 184.5)

  11. Step 950

    950

    #1D2927

    oklch(26.9% 0.017 183.7)

Export this scale for Tailwind in the Tailwind colors tool

#283C39 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)#3A3A390.028
Deuteranopia (no green cones)#3637390.026
Tritanopia (no blue cones)#223D3B0.008
Achromatopsia (no color)#3838380.026

Harmonies

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

Complementary

The opposite hue (180°).

  • #283C39

    #283C39

    oklch(33.8% 0.026 184.5)

  • #443236

    #443236

    oklch(33.9% 0.027 3.8)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #283C39

    #283C39

    oklch(33.8% 0.026 184.5)

  • #2D3C31

    #2D3C31

    oklch(33.9% 0.027 153)

  • #283B40

    #283B40

    oklch(33.8% 0.026 215.9)

Open the analogous palette in the generator

Split complementary

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

  • #283C39

    #283C39

    oklch(33.8% 0.026 184.5)

  • #40333D

    #40333D

    oklch(33.9% 0.025 334.3)

  • #44332E

    #44332E

    oklch(33.9% 0.026 37)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #283C39

    #283C39

    oklch(33.8% 0.026 184.5)

  • #3A3443

    #3A3443

    oklch(33.7% 0.027 303.2)

  • #413529

    #413529

    oklch(33.8% 0.026 66.7)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #283C39

    #283C39

    oklch(33.8% 0.026 184.5)

  • #333745

    #333745

    oklch(33.9% 0.025 272.5)

  • #443236

    #443236

    oklch(33.9% 0.027 3.8)

  • #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 #283C39, closest first.

Similar named colors

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

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